|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xml.sax.helpers.DefaultHandler net.smartlab.config.XMLConfiguration.XMLHandler
protected static class XMLConfiguration.XMLHandler
SAX Handler implementation to provide the in-memory representation of an XML configuration file.
Field Summary | |
---|---|
protected org.xml.sax.Locator |
locator
The document locator. |
protected Element |
owner
The owning element also known as the parent element. |
protected org.xml.sax.XMLReader |
reader
The XML stream reader. |
Constructor Summary | |
---|---|
XMLConfiguration.XMLHandler(Configuration owner)
Constructs the handler starting from the configuration root element. |
Method Summary | |
---|---|
void |
characters(char[] chars,
int start,
int length)
|
void |
endElement(java.lang.String namespace,
java.lang.String prefix,
java.lang.String name)
|
org.xml.sax.InputSource |
resolveEntity(java.lang.String publicId,
java.lang.String systemId)
Blocks external entity resolution failures. |
void |
setDocumentLocator(org.xml.sax.Locator locator)
|
void |
startElement(java.lang.String namespace,
java.lang.String prefix,
java.lang.String name,
org.xml.sax.Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, skippedEntity, startDocument, startPrefixMapping, unparsedEntityDecl, warning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Element owner
protected org.xml.sax.Locator locator
protected org.xml.sax.XMLReader reader
Constructor Detail |
---|
public XMLConfiguration.XMLHandler(Configuration owner)
owner
- 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
ContentHandler.setDocumentLocator(org.xml.sax.Locator)
public void startElement(java.lang.String namespace, java.lang.String prefix, java.lang.String name, org.xml.sax.Attributes attributes)
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
ContentHandler.startElement(java.lang.String,
java.lang.String, java.lang.String, org.xml.sax.Attributes)
public void characters(char[] chars, int start, int length)
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
ContentHandler.characters(char[], int, int)
public void endElement(java.lang.String namespace, java.lang.String prefix, java.lang.String name)
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
ContentHandler.endElement(java.lang.String,
java.lang.String, java.lang.String)
public org.xml.sax.InputSource resolveEntity(java.lang.String publicId, java.lang.String systemId) throws org.xml.sax.SAXException
resolveEntity
in interface org.xml.sax.EntityResolver
resolveEntity
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
EntityResolver.resolveEntity(java.lang.String,
java.lang.String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |