| org.apache.xerces.impl.XMLEntityHandler
All known Subclasses: org.apache.xerces.impl.XMLDTDScannerImpl, org.apache.xerces.impl.XMLDocumentFragmentScannerImpl,
XMLEntityHandler | public interface XMLEntityHandler (Code) | | The entity handler interface defines methods to report information
about the start and end of entities.
See Also: org.apache.xerces.impl.XMLEntityScanner author: Andy Clark, IBM version: $Id: XMLEntityHandler.java 446761 2006-09-15 21:59:29Z mrglavas $ |
endEntity | public void endEntity(String name, Augmentations augs) throws XNIException(Code) | | This method notifies the end of an entity. The DTD has the pseudo-name
of "[dtd]" parameter entity names start with '%'; and general entities
are just specified by their name.
Parameters: name - The name of the entity. Parameters: augs - Additional information that may include infoset augmentations throws: XNIException - Thrown by handler to signal an error. |
startEntity | public void startEntity(String name, XMLResourceIdentifier identifier, String encoding, Augmentations augs) throws XNIException(Code) | | This method notifies of the start of an entity. The DTD has the
pseudo-name of "[dtd]" parameter entity names start with '%'; and
general entities are just specified by their name.
Parameters: name - The name of the entity. Parameters: identifier - The resource identifier. Parameters: encoding - The auto-detected IANA encoding name of the entitystream. This value will be null in those situationswhere the entity encoding is not auto-detected (e.g.internal entities or a document entity that isparsed from a java.io.Reader). Parameters: augs - Additional information that may include infoset augmentations throws: XNIException - Thrown by handler to signal an error. |
|
|