public class SourceType extends AegisType
javax.xml.transform.Source
types.
The XML stream is converted DOMSource and sent off.
javanet.staxutils.StAXSource
,
XMLInputFactory
,
org.apache.cxf.aegis.util.STAXUtils
Constructor and Description |
---|
SourceType() |
Modifier and Type | Method and Description |
---|---|
protected XMLReader |
createXMLReader() |
Object |
readObject(MessageReader mreader,
Context context)
Read in the XML fragment and create an object.
|
protected void |
write(Source object,
XMLStreamWriter writer) |
void |
writeObject(Object object,
MessageWriter writer,
Context context)
Writes the object to the MessageWriter.
|
addToSchemaElement, equals, getDependencies, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isComplex, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime, writeSchema
public Object readObject(MessageReader mreader, Context context) throws DatabindingException
AegisType
readObject
in class AegisType
DatabindingException
public void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException
AegisType
writeObject
in class AegisType
DatabindingException
protected void write(Source object, XMLStreamWriter writer) throws FactoryConfigurationError, XMLStreamException, DatabindingException
protected XMLReader createXMLReader() throws SAXException
SAXException
Apache CXF