public interface IXMLParser
Modifier and Type | Method and Description |
---|---|
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.
|
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()