org.codehaus.xfire.aegis.type.xml
Class SourceType

java.lang.Object
  extended byorg.codehaus.xfire.aegis.type.Type
      extended byorg.codehaus.xfire.aegis.type.xml.SourceType
All Implemented Interfaces:
org.codehaus.xfire.wsdl.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:
StAXSource, XMLInputFactory, STAXUtils

Constructor Summary
SourceType()
           
 
Method Summary
protected  org.xml.sax.XMLReader createXMLReader()
           
 java.lang.Object readObject(MessageReader mreader, org.codehaus.xfire.MessageContext context)
           
protected  void write(javax.xml.transform.Source object, javax.xml.stream.XMLStreamWriter writer)
           
 void writeObject(java.lang.Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context)
           
 
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, writeSchema
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SourceType

public SourceType()
Method Detail

readObject

public java.lang.Object readObject(MessageReader mreader,
                                   org.codehaus.xfire.MessageContext context)
                            throws org.codehaus.xfire.fault.XFireFault
Specified by:
readObject in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

writeObject

public void writeObject(java.lang.Object object,
                        MessageWriter writer,
                        org.codehaus.xfire.MessageContext context)
                 throws org.codehaus.xfire.fault.XFireFault
Specified by:
writeObject in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

write

protected void write(javax.xml.transform.Source object,
                     javax.xml.stream.XMLStreamWriter writer)
              throws javax.xml.stream.FactoryConfigurationError,
                     javax.xml.stream.XMLStreamException,
                     org.codehaus.xfire.fault.XFireFault
Throws:
javax.xml.stream.FactoryConfigurationError
javax.xml.stream.XMLStreamException
org.codehaus.xfire.fault.XFireFault

createXMLReader

protected org.xml.sax.XMLReader createXMLReader()
                                         throws org.xml.sax.SAXException
Throws:
org.xml.sax.SAXException


Copyright © 2004-2006 null. All Rights Reserved.