org.apache.cxf.aegis
Class AegisElementDataReader
java.lang.Object
org.apache.cxf.aegis.AbstractAegisIoImpl
org.apache.cxf.aegis.AegisElementDataReader
- All Implemented Interfaces:
- AegisIo, AegisReader<Element>
public class AegisElementDataReader
- extends AbstractAegisIoImpl
- implements AegisReader<Element>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
protected AegisXMLStreamDataReader reader
AegisElementDataReader
public AegisElementDataReader(AegisContext globalContext)
read
public Object read(Element input)
throws Exception
- Convert a DOM element to a type.
- Specified by:
read
in interface AegisReader<Element>
- Parameters:
input
-
- Returns:
-
- Throws:
Exception
read
public Object read(Element input,
AegisType desiredType)
throws Exception
- Description copied from interface:
AegisReader
- Read an object expecting a particular input type.
- Specified by:
read
in interface AegisReader<Element>
- Parameters:
input
- the source.desiredType
- the expected input type.
- Returns:
-
- Throws:
Exception
Apache CXF