Name
Locator2Impl
Synopsis
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 }
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.