All Packages Class Hierarchy This Package Previous Next Index
This interface is part of the Java implementation of SAX, the Simple API for XML. It is free for both commercial and non-commercial use, and is distributed with no warrantee, real or implied.
If you do not set an entity handler, then a parser will resolve all entities to the suggested system ID, and will take no action for entity changes.
public abstract String resolveEntity(String ename, String publicID, String systemID) throws Exception
Before loading any entity (including the document entity), SAX parsers will filter the system identifier through this callback, and you can return a different system identifier if you wish, or null to prevent the parser from reading any entity.
public abstract void changeEntity(String systemID) throws Exception
Whenever the parser switches the entity (URI) that it is reading from, it will call this handler to report the change.
All Packages Class Hierarchy This Package Previous Next Index