net.n3.nanoxml
public interface IXMLParser
Version: $Name: RELEASE_2_2_1 $, $Revision: 1.3 $
| 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.
|
| 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.
|
Returns: the builder.
Returns: the reader.
Returns: the non-null resolver.
Returns: the validator.
Returns: the logical structure built by the builder.
Throws: net.n3.nanoxml.XMLException if an error occurred reading or parsing the data
See Also: IXMLBuilder
Parameters: builder the builder.
Parameters: reader the reader.
Parameters: resolver the non-null resolver.
Parameters: validator the validator.