March 2005
Beginner to intermediate
1254 pages
104h 21m
English
EntityResolver2
This
extension
interface provides alternative entity resolver methods. If you
register an entity resolver that implements this interface, if the
SAX implementation supports this interface, and you set the feature
“http://xml.org/sax/features/use-entity-resolver2”
to true, then the implementation will use the
methods defined by this interface instead of the method defined by
the super-interface.
Figure 22-10. org.xml.sax.ext.EntityResolver2
public interface EntityResolver2 extends org.xml.sax.EntityResolver { // Public Instance Methods org.xml.sax.InputSource getExternalSubset(String name, String baseURI) throws org.xml.sax.SAXException, java.io.IOException; org.xml.sax.InputSource resolveEntity(String name, String publicId, String baseURI, String systemId) throws org.xml.sax.SAXException, java.io.IOException; }
DefaultHandler2
Read now
Unlock full access