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

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.ByteArrayType

public class ByteArrayType
extends AbstractXOPType

Author:
Dan Diephouse

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
ByteArrayType()
           
 
Method Summary
static void copy(java.io.InputStream input, java.io.OutputStream output)
           
protected  Attachment createAttachment(java.lang.Object object, java.lang.String id)
           
protected  java.lang.String getContentType(java.lang.Object object, Context context)
           
protected  java.lang.Object readAttachment(Attachment att, Context context)
           
 
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

ByteArrayType

public ByteArrayType()
Method Detail

readAttachment

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

copy

public static void copy(java.io.InputStream input,
                        java.io.OutputStream output)
                 throws java.io.IOException
Throws:
java.io.IOException

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


Apache CXF