org.apache.cxf.aegis
Class AegisXMLStreamDataReader
java.lang.Object
org.apache.cxf.aegis.AbstractAegisIoImpl
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>
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(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