org.apache.cxf.aegis.type.mtom
Class DataHandlerType

java.lang.Object
  extended by org.apache.cxf.aegis.type.Type
      extended by org.apache.cxf.aegis.type.mtom.AbstractXOPType
          extended by org.apache.cxf.aegis.type.mtom.DataHandlerType

public class DataHandlerType
extends AbstractXOPType


Field Summary
 
Fields inherited from class org.apache.cxf.aegis.type.mtom.AbstractXOPType
XML_MIME_NS, XML_MIME_TYPE, XOP_HREF, XOP_INCLUDE, XOP_NS
 
Fields inherited from class org.apache.cxf.aegis.type.Type
typeClass
 
Constructor Summary
DataHandlerType()
           
 
Method Summary
protected  Attachment createAttachment(java.lang.Object object, java.lang.String id)
           
protected  byte[] getBytes(java.lang.Object object)
           
protected  java.lang.String getContentType(java.lang.Object object, Context context)
           
protected  java.lang.Object readAttachment(Attachment att, Context context)
           
protected  java.lang.Object wrapBytes(byte[] bareBytes, java.lang.String contentType)
           
 
Methods inherited from class org.apache.cxf.aegis.type.mtom.AbstractXOPType
readInclude, readObject, writeObject
 
Methods inherited from class org.apache.cxf.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
 

Constructor Detail

DataHandlerType

public DataHandlerType()
Method Detail

readAttachment

protected java.lang.Object readAttachment(Attachment att,
                                          Context context)
Specified by:
readAttachment in class AbstractXOPType

createAttachment

protected Attachment createAttachment(java.lang.Object object,
                                      java.lang.String id)
Specified by:
createAttachment in class AbstractXOPType

getContentType

protected java.lang.String getContentType(java.lang.Object object,
                                          Context context)
Specified by:
getContentType in class AbstractXOPType

wrapBytes

protected java.lang.Object wrapBytes(byte[] bareBytes,
                                     java.lang.String contentType)

getBytes

protected byte[] getBytes(java.lang.Object object)


Apache CXF