org.apache.cxf.aegis
Class AegisXMLStreamDataReader
java.lang.Object
org.apache.cxf.aegis.AbstractAegisIoImpl
org.apache.cxf.aegis.AegisXMLStreamDataReader
- All Implemented Interfaces:
- AegisIo, AegisReader<XMLStreamReader>
public class AegisXMLStreamDataReader
- extends AbstractAegisIoImpl
- implements AegisReader<XMLStreamReader>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
-
read
public Object read(XMLStreamReader reader)
throws Exception
- Read an object.
- Specified by:
read
in interface AegisReader<XMLStreamReader>
- Parameters:
reader
- the source.
- Returns:
-
- Throws:
Exception
read
public Object read(XMLStreamReader reader,
AegisType desiredType)
throws Exception
- Read an object expecting a particular input type.
- Specified by:
read
in interface AegisReader<XMLStreamReader>
- Parameters:
reader
- the source.desiredType
- the expected input type.
- Returns:
-
- Throws:
Exception
readFlatArray
public Object readFlatArray(XMLStreamReader input,
ArrayType arrayType,
QName concreteName)
throws Exception
- Throws:
Exception
Apache CXF