|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object processing.xml.StdXMLParser
public class StdXMLParser
StdXMLParser is the core parser of NanoXML.
Constructor Summary | |
---|---|
StdXMLParser()
Creates a new parser. |
Method Summary | |
---|---|
StdXMLBuilder |
getBuilder()
Returns the builder which creates the logical structure of the XML data. |
StdXMLReader |
getReader()
Returns the reader from which the parser retrieves its data. |
XMLEntityResolver |
getResolver()
Returns the entity resolver. |
XMLValidator |
getValidator()
Returns the validator that validates the XML data. |
java.lang.Object |
parse()
Parses the data and lets the builder create the logical data structure. |
void |
setBuilder(StdXMLBuilder builder)
Sets the builder which creates the logical structure of the XML data. |
void |
setReader(StdXMLReader reader)
Sets the reader from which the parser retrieves its data. |
void |
setResolver(XMLEntityResolver resolver)
Sets the entity resolver. |
void |
setValidator(XMLValidator validator)
Sets the validator that validates the XML data. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StdXMLParser()
Method Detail |
---|
public void setBuilder(StdXMLBuilder builder)
builder
- the non-null builderpublic StdXMLBuilder getBuilder()
public void setValidator(XMLValidator validator)
validator
- the non-null validatorpublic XMLValidator getValidator()
public void setResolver(XMLEntityResolver resolver)
resolver
- the non-null resolverpublic XMLEntityResolver getResolver()
public void setReader(StdXMLReader reader)
reader
- the readerpublic StdXMLReader getReader()
public java.lang.Object parse() throws XMLException
net.n3.nanoxml.XMLException
- if an error occurred reading or parsing the data
XMLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |