Package 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>
-
-
Field Summary
Fields Modifier and Type Field Description protected AegisXMLStreamDataReaderreader-
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema
-
-
Constructor Summary
Constructors Constructor Description AegisElementDataReader(AegisContext globalContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectread(Element input)Convert a DOM element to a type.Objectread(Element input, AegisType desiredType)Read an object expecting a particular input type.-
Methods inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
getContext, setProperty, setSchema
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.cxf.aegis.AegisIo
setProperty, setSchema
-
-
-
-
Field Detail
-
reader
protected AegisXMLStreamDataReader reader
-
-
Constructor Detail
-
AegisElementDataReader
public AegisElementDataReader(AegisContext globalContext)
-
-
Method Detail
-
read
public Object read(Element input) throws Exception
Convert a DOM element to a type.- Specified by:
readin interfaceAegisReader<Element>- Parameters:
input-- Returns:
- Throws:
Exception
-
read
public Object read(Element input, AegisType desiredType) throws Exception
Description copied from interface:AegisReaderRead an object expecting a particular input type.- Specified by:
readin interfaceAegisReader<Element>- Parameters:
input- the source.desiredType- the expected input type.- Returns:
- Throws:
Exception
-
-