Team LiB
Previous Section Next Section

Locator2Implorg.xml.sax.ext

Java 5.0

This class extends the org.xml.sax.helpers.LocatorImpl class to make it implement the Locator2 interface.

Figure 22-12. org.xml.sax.ext.Locator2Impl


public class Locator2Impl extends org.xml.sax.helpers.LocatorImpl implements Locator2 {
// Public Constructors
     public Locator2Impl( );  
     public Locator2Impl(org.xml.sax.Locator locator);  
// Public Instance Methods
     public void setEncoding(String encoding);  
     public void setXMLVersion(String version);  
// Methods Implementing Locator2
     public String getEncoding( );                                        default:null
     public String getXMLVersion( );                                      default:null
}

    Team LiB
    Previous Section Next Section