Locator2


Locator2 org.xml.sax.ext

Java 5.0

This interface defines an extension to the core Locator interface. If the implementation supports it, then the Locator object passed to ContentHandler.setDocumentLocator( ) will implement this interface. You can also test for support by querying the feature named "http://xml.org/sax/features/use-locator2".

Figure 22-11. org.xml.sax.ext.Locator2

 public interface  Locator2  extends org.xml.sax.Locator {  // Public Instance Methods  String  getEncoding  ( );        String  getXMLVersion  ( );   } 

Implementations

Locator2Impl



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