|
JHotDraw 7.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IXMLParser
IXMLParser is the core parser of NanoXML.
Method Summary | |
---|---|
IXMLBuilder |
getBuilder()
Returns the builder which creates the logical structure of the XML data. |
IXMLReader |
getReader()
Returns the reader from which the parser retrieves its data. |
IXMLEntityResolver |
getResolver()
Returns the entity resolver. |
IXMLValidator |
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(IXMLBuilder builder)
Sets the builder which creates the logical structure of the XML data. |
void |
setReader(IXMLReader reader)
Sets the reader from which the parser retrieves its data. |
void |
setResolver(IXMLEntityResolver resolver)
Sets the entity resolver. |
void |
setValidator(IXMLValidator validator)
Sets the validator that validates the XML data. |
Method Detail |
---|
void setReader(IXMLReader reader)
reader
- the reader.IXMLReader getReader()
void setBuilder(IXMLBuilder builder)
builder
- the builder.IXMLBuilder getBuilder()
void setValidator(IXMLValidator validator)
validator
- the validator.IXMLValidator getValidator()
void setResolver(IXMLEntityResolver resolver)
resolver
- the non-null resolver.IXMLEntityResolver getResolver()
java.lang.Object parse() throws XMLException
XMLException
- if an error occurred reading or parsing the dataIXMLBuilder.getResult()
|
Copyright 1996-2007 (c) JHotDraw.org. Some rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |