|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.xml.sax.helpers.DefaultHandler
org.apache.commons.configuration.plist.XMLPropertyListConfiguration.XMLPropertyListHandler
private static class XMLPropertyListConfiguration.XMLPropertyListHandler
SAX Handler to build the configuration nodes while the document is being parsed.
Field Summary | |
---|---|
private java.lang.StringBuffer |
buffer
The buffer containing the text node being read |
private java.util.List |
stack
The stack of configuration nodes |
Constructor Summary | |
---|---|
XMLPropertyListConfiguration.XMLPropertyListHandler(HierarchicalConfiguration.Node root)
|
Method Summary | |
---|---|
void |
characters(char[] ch,
int start,
int length)
|
void |
endElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
|
private HierarchicalConfiguration.Node |
peek()
Return the node on the top of the stack. |
private HierarchicalConfiguration.Node |
pop()
Remove and return the node on the top of the stack. |
private void |
push(HierarchicalConfiguration.Node node)
Put a node on the top of the stack. |
void |
startElement(java.lang.String uri,
java.lang.String localName,
java.lang.String qName,
org.xml.sax.Attributes attributes)
|
Methods inherited from class org.xml.sax.helpers.DefaultHandler |
---|
endDocument, endPrefixMapping, error, fatalError, ignorableWhitespace, notationDecl, processingInstruction, resolveEntity, setDocumentLocator, 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 |
---|
private java.lang.StringBuffer buffer
private java.util.List stack
Constructor Detail |
---|
public XMLPropertyListConfiguration.XMLPropertyListHandler(HierarchicalConfiguration.Node root)
Method Detail |
---|
private HierarchicalConfiguration.Node peek()
private HierarchicalConfiguration.Node pop()
private void push(HierarchicalConfiguration.Node node)
public void startElement(java.lang.String uri, java.lang.String localName, java.lang.String qName, org.xml.sax.Attributes attributes) throws org.xml.sax.SAXException
startElement
in interface org.xml.sax.ContentHandler
startElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void endElement(java.lang.String uri, java.lang.String localName, java.lang.String qName) throws org.xml.sax.SAXException
endElement
in interface org.xml.sax.ContentHandler
endElement
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
characters
in interface org.xml.sax.ContentHandler
characters
in class org.xml.sax.helpers.DefaultHandler
org.xml.sax.SAXException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |