getColumnNumber
public int getColumnNumber()
This class is only used internally so this method should never
be called.
- getColumnNumber in interface Locator
getContentHandler
public ContentHandler getContentHandler()
Return the current content handler.
- getContentHandler in interface XMLReader
- The current content handler, or null if none
has been registered.
getLineNumber
public int getLineNumber()
This class is only used internally so this method should never
be called.
- getLineNumber in interface Locator
getPublicId
public String getPublicId()
This class is only used internally so this method should never
be called.
- getPublicId in interface Locator
getSystemId
public String getSystemId()
This class is only used internally so this method should never
be called.
- getSystemId in interface Locator
parse
public void parse(String sysId)
throws IOException,
SAXException
This class is only used internally so this method should never
be called.
- parse in interface XMLReader
parse
public void parse(InputSource unused)
throws IOException,
SAXException
Parse an XML document.
The application can use this method to instruct the XML
reader to begin parsing an XML document from any valid input
source (a character stream, a byte stream, or a URI).
Applications may not invoke this method while a parse is in
progress (they should create a new XMLReader instead for each
nested XML document). Once a parse is complete, an
application may reuse the same XMLReader object, possibly with a
different input source.
During the parse, the XMLReader will provide information
about the XML document through the registered event
handlers.
This method is synchronous: it will not return until parsing
has ended. If a client application wants to terminate
parsing early, it should throw an exception.
- parse in interface XMLReader
SAXException
- Any SAX exception, possibly
wrapping another exception.
setContentHandler
public void setContentHandler(ContentHandler handler)
Allow an application to register a content event handler.
If the application does not register a content handler, all
content events reported by the SAX parser will be silently
ignored.
Applications may register a new or different handler in the
middle of a parse, and the SAX parser must begin using the new
handler immediately.
- setContentHandler in interface XMLReader
handler
- The content handler.
setDTDHandler
public void setDTDHandler(DTDHandler handler)
throws NullPointerException
This class is only used internally so this method should never
be called.
- setDTDHandler in interface XMLReader
setEntityResolver
public void setEntityResolver(EntityResolver resolver)
throws NullPointerException
This class is only used internally so this method should never
be called.
- setEntityResolver in interface XMLReader
setErrorHandler
public void setErrorHandler(ErrorHandler handler)
throws NullPointerException
This class is only used internally so this method should never
be called.
- setErrorHandler in interface XMLReader