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

java.lang.Object
  extended by org.codehaus.xfire.aegis.type.Type
      extended by org.codehaus.xfire.aegis.type.mtom.AbstractXOPType
          extended by org.codehaus.xfire.aegis.type.mtom.ByteArrayType
All Implemented Interfaces:
org.codehaus.xfire.wsdl.SchemaType

public class ByteArrayType
extends AbstractXOPType

Author:
Dan Diephouse

Field Summary
 
Fields inherited from class org.codehaus.xfire.aegis.type.mtom.AbstractXOPType
XML_MIME_NS, XML_MIME_TYPE, XOP_HREF, XOP_INCLUDE, XOP_NS
 
Constructor Summary
ByteArrayType()
           
 
Method Summary
static void copy(java.io.InputStream input, java.io.OutputStream output)
           
protected  org.codehaus.xfire.attachments.Attachment createAttachment(java.lang.Object object, java.lang.String id)
           
protected  java.lang.String getContentType(java.lang.Object object, org.codehaus.xfire.MessageContext context)
           
protected  java.lang.Object readAttachment(org.codehaus.xfire.attachments.Attachment att, org.codehaus.xfire.MessageContext context)
           
 
Methods inherited from class org.codehaus.xfire.aegis.type.mtom.AbstractXOPType
readInclude, readObject, writeObject
 
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
 

Constructor Detail

ByteArrayType

public ByteArrayType()
Method Detail

readAttachment

protected java.lang.Object readAttachment(org.codehaus.xfire.attachments.Attachment att,
                                          org.codehaus.xfire.MessageContext 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 org.codehaus.xfire.attachments.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,
                                          org.codehaus.xfire.MessageContext context)
Specified by:
getContentType in class AbstractXOPType


Copyright © 2004-2011. All Rights Reserved.