public class AegisElementDataReader extends AbstractAegisIoImpl implements AegisReader<Element>
Modifier and Type | Field and Description |
---|---|
protected AegisXMLStreamDataReader |
reader |
aegisContext, context, properties, schema
Constructor and Description |
---|
AegisElementDataReader(AegisContext globalContext) |
Modifier and Type | Method and Description |
---|---|
Object |
read(Element input)
Convert a DOM element to a type.
|
Object |
read(Element input,
AegisType desiredType)
Read an object expecting a particular input type.
|
getContext, setProperty, setSchema
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setProperty, setSchema
protected AegisXMLStreamDataReader reader
public AegisElementDataReader(AegisContext globalContext)
public Object read(Element input) throws Exception
read
in interface AegisReader<Element>
input
- Exception
public Object read(Element input, AegisType desiredType) throws Exception
AegisReader
read
in interface AegisReader<Element>
input
- the source.desiredType
- the expected input type.Exception
Apache CXF