Apache CXF API

org.apache.cxf.aegis
Class AegisElementDataReader

java.lang.Object
  extended by org.apache.cxf.aegis.AbstractAegisIoImpl
      extended by org.apache.cxf.aegis.AegisElementDataReader
All Implemented Interfaces:
AegisIo, AegisReader<Element>

public class AegisElementDataReader
extends AbstractAegisIoImpl
implements AegisReader<Element>


Field Summary
protected  AegisXMLStreamDataReader reader
           
 
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema
 
Constructor Summary
AegisElementDataReader(AegisContext globalContext)
           
 
Method Summary
 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.
 
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:
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 API

Apache CXF