Apache CXF API

org.apache.cxf.aegis
Class AegisXMLStreamDataReader

java.lang.Object
  extended by org.apache.cxf.aegis.AbstractAegisIoImpl
      extended by org.apache.cxf.aegis.AegisXMLStreamDataReader
All Implemented Interfaces:
AegisIo, AegisReader<javax.xml.stream.XMLStreamReader>

public class AegisXMLStreamDataReader
extends AbstractAegisIoImpl
implements AegisReader<javax.xml.stream.XMLStreamReader>


Field Summary
 
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema
 
Constructor Summary
AegisXMLStreamDataReader(AegisContext globalContext)
           
AegisXMLStreamDataReader(AegisContext globalContext, Context context)
          This constructor is used by the Element data reader to borrow this class.
 
Method Summary
 Object read(javax.xml.stream.XMLStreamReader reader)
          Read an object.
 Object read(javax.xml.stream.XMLStreamReader reader, AegisType desiredType)
          Read an object expecting a particular input type.
 Object readFlatArray(javax.xml.stream.XMLStreamReader input, ArrayType arrayType, QName concreteName)
           
 
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
 

Constructor Detail

AegisXMLStreamDataReader

public AegisXMLStreamDataReader(AegisContext globalContext)

AegisXMLStreamDataReader

public AegisXMLStreamDataReader(AegisContext globalContext,
                                Context context)
This constructor is used by the Element data reader to borrow this class.

Parameters:
globalContext -
context -
Method Detail

read

public Object read(javax.xml.stream.XMLStreamReader reader)
            throws Exception
Read an object.

Specified by:
read in interface AegisReader<javax.xml.stream.XMLStreamReader>
Parameters:
reader - the source.
Returns:
Throws:
Exception

read

public Object read(javax.xml.stream.XMLStreamReader reader,
                   AegisType desiredType)
            throws Exception
Read an object expecting a particular input type.

Specified by:
read in interface AegisReader<javax.xml.stream.XMLStreamReader>
Parameters:
reader - the source.
desiredType - the expected input type.
Returns:
Throws:
Exception

readFlatArray

public Object readFlatArray(javax.xml.stream.XMLStreamReader input,
                            ArrayType arrayType,
                            QName concreteName)
                     throws Exception
Throws:
Exception

Apache CXF API

Apache CXF