Known Direct Subclasses
|
Summary
| Public Constructors |
|
|
XmlInputParser(AltFormat altFormat, Class<T> resultClass)
Creates a new XmlInputParser instance for the provided representation and
result type.
|
| Protected Methods |
|
abstract
<R extends T>
R
|
parse(XmlEventSource eventSource, InputProperties inProps, Class<R> targetClass)
The parse method should be implemented by subclasses and should parse
input data from the provided XmlEventSource instance.
|
Public Constructors
public
XmlInputParser
(AltFormat altFormat, Class<T> resultClass)
Creates a new XmlInputParser instance for the provided representation and
result type.
Parameters
| altFormat
| Parsed representation. |
| resultClass
| Parser output result type.
|
Public Methods
public
R
parse
(ParseSource parseSource, InputProperties inProps, Class<R> targetClass)
The parse method will use the character encoding found in the output
properties instance to construct an appropriate Reader and then
delegate to the parse(Reader, InputProperties, Class) method
to perform the parsing.
Parameters
| parseSource
| |
| inProps
| |
| targetClass
| |
Protected Methods
protected
abstract
R
parse
(XmlEventSource eventSource, InputProperties inProps, Class<R> targetClass)
The parse method should be implemented by subclasses and should parse
input data from the provided XmlEventSource instance.
Parameters
| eventSource
| Event source. |
| inProps
| Input properties. |
| targetClass
| Result type. |
Throws
| IOException
| error reading data from event source. |
| ServiceException
| parsing error.
|