Package 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>
-
Field Summary
Fields inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
aegisContext, context, properties, schema -
Constructor Summary
ConstructorsConstructorDescriptionAegisXMLStreamDataReader(AegisContext globalContext) AegisXMLStreamDataReader(AegisContext globalContext, Context context) This constructor is used by the Element data reader to borrow this class. -
Method Summary
Modifier and TypeMethodDescriptionread(XMLStreamReader reader) Read an object.read(XMLStreamReader reader, AegisType desiredType) Read an object expecting a particular input type.readFlatArray(XMLStreamReader input, ArrayType arrayType, QName concreteName) Methods inherited from class org.apache.cxf.aegis.AbstractAegisIoImpl
getContext, setProperty, setSchemaMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.aegis.AegisIo
setProperty, setSchema
-
Constructor Details
-
AegisXMLStreamDataReader
-
AegisXMLStreamDataReader
This constructor is used by the Element data reader to borrow this class.- Parameters:
globalContext-context-
-
-
Method Details
-
read
Read an object.- Specified by:
readin interfaceAegisReader<XMLStreamReader>- Parameters:
reader- the source.- Returns:
- Throws:
Exception
-
read
Read an object expecting a particular input type.- Specified by:
readin interfaceAegisReader<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
-