/** Start general entity. */ public void startGeneralEntity(String name, XMLResourceIdentifier id, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, id, encoding, augs); } } // startGeneralEntity(String,XMLResourceIdentifier,String,Augmentations)
/** * @see org.apache.xerces.xni.XMLDocumentHandler#startGeneralEntity(java.lang.String, * org.apache.xerces.xni.XMLResourceIdentifier, java.lang.String, * org.apache.xerces.xni.Augmentations) */ public void startGeneralEntity(String arg0, XMLResourceIdentifier arg1, String arg2, Augmentations arg3) throws XNIException { if (documentHandler != null) { documentHandler.startGeneralEntity(arg0, arg1, arg2, arg3); } }
/** * Start general entity. */ public void startGeneralEntity(String name, XMLResourceIdentifier id, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, id, encoding, augs); } } // startGeneralEntity(String,XMLResourceIdentifier,String,Augmentations)
/** Start general entity. */ @Override public void startGeneralEntity(String name, XMLResourceIdentifier id, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, id, encoding, augs); } }
/** * Start general entity. */ public void startGeneralEntity(String name, XMLResourceIdentifier id, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, id, encoding, augs); } } // startGeneralEntity(String,XMLResourceIdentifier,String,Augmentations)
public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException { side.startGeneralEntity(name, identifier, encoding, augs); next.startGeneralEntity(name, identifier, encoding, augs); }
/** Start general entity. */ public void startGeneralEntity(String name, XMLResourceIdentifier id, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, id, encoding, augs); } } // startGeneralEntity(String,XMLResourceIdentifier,String,Augmentations)
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
/** * This method notifies the start of a general entity. * <p> * <strong>Note:</strong> This method is not called for entity references * appearing as part of attribute values. * * @param name The name of the general entity. * @param identifier The resource identifier. * @param encoding The auto-detected IANA encoding name of the entity * stream. This value will be null in those situations * where the entity encoding is not auto-detected (e.g. * internal entities or a document entity that is * parsed from a java.io.Reader). * @param augs Additional information that may include infoset augmentations * * @exception XNIException Thrown by handler to signal an error. */ public void startGeneralEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException { if (fDocumentHandler != null && !fOnlyPassPrefixMappingEvents) { fDocumentHandler.startGeneralEntity(name, identifier, encoding, augs); } } // startEntity(String,String,String,String,String)
/** * This method notifies the start of a general entity. * <p> * <strong>Note:</strong> This method is not called for entity references * appearing as part of attribute values. * * @param name The name of the general entity. * @param identifier The resource identifier. * @param encoding The auto-detected IANA encoding name of the entity * stream. This value will be null in those situations * where the entity encoding is not auto-detected (e.g. * internal entities or a document entity that is * parsed from a java.io.Reader). * @param augs Additional information that may include infoset augmentations * * @exception XNIException Thrown by handler to signal an error. */ public void startGeneralEntity( String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException { // REVISIT: what should happen if normalize_data_ is on?? fEntityRef = true; // call handlers if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, identifier, encoding, augs); } } // startEntity(String,String,String,String,String)
public void startGeneralEntity( String name, XMLResourceIdentifier resId, String encoding, Augmentations augs) throws XNIException { if (getState() == STATE_NORMAL_PROCESSING) { if (fResultDepth == 0) { if (augs != null && Boolean.TRUE.equals(augs.getItem(Constants.ENTITY_SKIPPED))) { reportFatalError("UnexpandedEntityReferenceIllegal"); } } else if (fDocumentHandler != null) { fDocumentHandler.startGeneralEntity(name, resId, encoding, augs); } } }
fDocumentHandler.startGeneralEntity(name, identifier, encoding, augs);
/** * Calls document handler with a single character resulting from * built-in entity resolution. * * @param c * @param entity built-in name */ private void handleCharacter(char c, String entity) throws XNIException { if (fDocumentHandler != null) { if (fNotifyBuiltInRefs) { fDocumentHandler.startGeneralEntity(entity, null, null, null); } fSingleChar[0] = c; fTempString.setValues(fSingleChar, 0, 1); fDocumentHandler.characters(fTempString, null); if (fNotifyBuiltInRefs) { fDocumentHandler.endGeneralEntity(entity, null); } } } // handleCharacter(char)
fDocumentHandler.startGeneralEntity(fCharRefLiteral, null, null, null);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);
fDocumentHandler.startGeneralEntity(name, id, encoding, augs);