org.codehaus.xfire.aegis.type.mtom
Class AbstractXOPType

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.aegis.type.mtom.AbstractXOPType
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType
Direct Known Subclasses:
ByteArrayType, DataHandlerType, DataSourceType

public abstract class AbstractXOPType
extends Type

Author:
Dan Diephouse

Field Summary
static String XML_MIME_NS
           
static QName XML_MIME_TYPE
           
static QName XOP_HREF
           
static QName XOP_INCLUDE
           
static String XOP_NS
           
 
Constructor Summary
AbstractXOPType()
           
 
Method Summary
protected abstract  org.codehaus.xfire.attachments.Attachment createAttachment(Object object, String id)
           
protected abstract  String getContentType(Object object, org.codehaus.xfire.MessageContext context)
           
protected abstract  Object readAttachment(org.codehaus.xfire.attachments.Attachment att, org.codehaus.xfire.MessageContext context)
           
 Object readInclude(String type, MessageReader reader, org.codehaus.xfire.MessageContext context)
           
 Object readObject(MessageReader reader, org.codehaus.xfire.MessageContext context)
          Read in the XML fragment and create an object.
 void writeObject(Object object, MessageWriter writer, org.codehaus.xfire.MessageContext context)
          Writes the object to the MessageWriter.
 
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
 

Field Detail

XOP_NS

public static final String XOP_NS
See Also:
Constant Field Values

XML_MIME_NS

public static final String XML_MIME_NS
See Also:
Constant Field Values

XOP_INCLUDE

public static final QName XOP_INCLUDE

XOP_HREF

public static final QName XOP_HREF

XML_MIME_TYPE

public static final QName XML_MIME_TYPE
Constructor Detail

AbstractXOPType

public AbstractXOPType()
Method Detail

readObject

public Object readObject(MessageReader reader,
                         org.codehaus.xfire.MessageContext context)
                  throws org.codehaus.xfire.fault.XFireFault
Description copied from class: Type
Read in the XML fragment and create an object.

Specified by:
readObject in class Type
Returns:
Throws:
org.codehaus.xfire.fault.XFireFault

readInclude

public Object readInclude(String type,
                          MessageReader reader,
                          org.codehaus.xfire.MessageContext context)
                   throws org.codehaus.xfire.fault.XFireFault
Throws:
org.codehaus.xfire.fault.XFireFault

readAttachment

protected abstract Object readAttachment(org.codehaus.xfire.attachments.Attachment att,
                                         org.codehaus.xfire.MessageContext context)
                                  throws IOException
Throws:
IOException

writeObject

public void writeObject(Object object,
                        MessageWriter writer,
                        org.codehaus.xfire.MessageContext context)
                 throws org.codehaus.xfire.fault.XFireFault
Description copied from class: Type
Writes the object to the MessageWriter.

Specified by:
writeObject in class Type
Throws:
org.codehaus.xfire.fault.XFireFault

createAttachment

protected abstract org.codehaus.xfire.attachments.Attachment createAttachment(Object object,
                                                                              String id)

getContentType

protected abstract String getContentType(Object object,
                                         org.codehaus.xfire.MessageContext context)


Copyright © 2004-2013. All Rights Reserved.