EntityResolver2


EntityResolver2 org.xml.sax.ext

Java 5.0

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;   } 

Implementations

DefaultHandler2



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net