| com.sun.xml.stream.XMLEntityHandler
All known Subclasses: com.sun.xml.stream.XMLDTDScannerImpl, com.sun.xml.stream.XMLDocumentFragmentScannerImpl,
XMLEntityHandler | public interface XMLEntityHandler (Code) | | The entity handler interface defines methods to report information
about the start and end of entities.
See Also: com.sun.xml.stream.xerces.impl.XMLEntityScanner author: Andy Clark, IBM version: $Id: XMLEntityHandler.java,v 1.2 2006/04/01 06:01:47 jeffsuttor Exp $ |
endEntity | public void endEntity(String name) throws XNIException, IOException(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. throws: XNIException - Thrown by handler to signal an error. |
startEntity | public void startEntity(String name, XMLResourceIdentifier identifier, String encoding) 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). throws: XNIException - Thrown by handler to signal an error. |
|
|