|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.qedeq.kernel.xml.handler.common.SimpleHandler
public class SimpleHandler
SAX handler that remembers Locator
and possibly
encoding of XML document.
Constructor Summary | |
---|---|
SimpleHandler()
Constructor. |
Method Summary | |
---|---|
java.lang.String |
getEncoding()
Which encoding was used to parse the document? |
protected org.xml.sax.Locator |
getLocator()
Get document locator. |
java.lang.String |
getUrl()
Get original file URL. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Receive a Locator object for document events. |
void |
setUrl(java.lang.String url)
Set original file URL. |
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
characters, endDocument, endElement, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleHandler()
Method Detail |
---|
public void setDocumentLocator(org.xml.sax.Locator locator)
setDocumentLocator
in interface org.xml.sax.ContentHandler
setDocumentLocator
in class org.xml.sax.helpers.DefaultHandler
locator
- A locator for all SAX document events.ContentHandler.setDocumentLocator(org.xml.sax.Locator)
,
Locator
public java.lang.String getEncoding()
null
.protected org.xml.sax.Locator getLocator()
null
.public final void setUrl(java.lang.String url)
url
- Data from this source is parsed. This URL is only for information. The
actual parsed data might be a local copy.public final java.lang.String getUrl()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |