org.apache.cxf.aegis.type.mtom
Class AbstractXOPType
java.lang.Object
org.apache.cxf.aegis.type.Type
org.apache.cxf.aegis.type.mtom.AbstractXOPType
- Direct Known Subclasses:
- ByteArrayType, DataHandlerType, DataSourceType
public abstract class AbstractXOPType
- extends Type
- Author:
- Dan Diephouse
Fields inherited from class org.apache.cxf.aegis.type.Type |
typeClass |
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 |
XOP_NS
public static final java.lang.String XOP_NS
- See Also:
- Constant Field Values
XML_MIME_NS
public static final java.lang.String XML_MIME_NS
- See Also:
- Constant Field Values
XOP_INCLUDE
public static final javax.xml.namespace.QName XOP_INCLUDE
XOP_HREF
public static final javax.xml.namespace.QName XOP_HREF
XML_MIME_TYPE
public static final javax.xml.namespace.QName XML_MIME_TYPE
AbstractXOPType
public AbstractXOPType()
readObject
public java.lang.Object readObject(MessageReader reader,
Context context)
throws DatabindingException
- Description copied from class:
Type
- Read in the XML fragment and create an object.
- Specified by:
readObject
in class Type
- Returns:
-
- Throws:
DatabindingException
readInclude
public java.lang.Object readInclude(java.lang.String type,
MessageReader reader,
Context context)
throws DatabindingException
- Throws:
DatabindingException
readAttachment
protected abstract java.lang.Object readAttachment(Attachment att,
Context context)
throws java.io.IOException
- Throws:
java.io.IOException
writeObject
public void writeObject(java.lang.Object object,
MessageWriter writer,
Context context)
throws DatabindingException
- Description copied from class:
Type
- Writes the object to the MessageWriter.
- Specified by:
writeObject
in class Type
- Throws:
DatabindingException
createAttachment
protected abstract Attachment createAttachment(java.lang.Object object,
java.lang.String id)
getContentType
protected abstract java.lang.String getContentType(java.lang.Object object,
Context context)
Apache CXF