org.codehaus.xfire.aegis.type.xml
Class SourceType
java.lang.Object
org.codehaus.xfire.aegis.type.Type
org.codehaus.xfire.aegis.type.xml.SourceType
- All Implemented Interfaces:
- SchemaType
public class SourceType
- extends Type
Reads and writes javax.xml.transform.Source
types.
The XML stream is converted DOMSource and sent off.
- Author:
- Dan Diephouse
- See Also:
javanet.staxutils.StAXSource
,
javax.xml.stream.XMLInputFactory
,
STAXUtils
Methods inherited from class org.codehaus.xfire.aegis.type.Type |
equals, getDependencies, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isComplex, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, writeSchema |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SourceType
public SourceType()
readObject
public java.lang.Object readObject(MessageReader mreader,
MessageContext context)
throws XFireFault
- Description copied from class:
Type
- Read in the XML fragment and create an object.
- Specified by:
readObject
in class Type
- Returns:
-
- Throws:
XFireFault
writeObject
public void writeObject(java.lang.Object object,
MessageWriter writer,
MessageContext context)
throws XFireFault
- Description copied from class:
Type
- Writes the object to the MessageWriter.
- Specified by:
writeObject
in class Type
- Throws:
XFireFault
write
protected void write(javax.xml.transform.Source object,
XMLStreamWriter writer)
throws FactoryConfigurationError,
XMLStreamException,
XFireFault
- Throws:
FactoryConfigurationError
XMLStreamException
XFireFault
createXMLReader
protected org.xml.sax.XMLReader createXMLReader()
throws org.xml.sax.SAXException
- Throws:
org.xml.sax.SAXException
Copyright © 2004-2006 Envoi Solutions LLC. All Rights Reserved.