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, setSchemaclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetProperty, setSchemaprotected AegisXMLStreamDataReader reader
public AegisElementDataReader(AegisContext globalContext)
public Object read(Element input) throws Exception
read in interface AegisReader<Element>input - Exceptionpublic Object read(Element input, AegisType desiredType) throws Exception
AegisReaderread in interface AegisReader<Element>input - the source.desiredType - the expected input type.ExceptionApache CXF