org.codehaus.xfire.type.mtom
Class XOPType
java.lang.Object
org.codehaus.xfire.type.Type
org.codehaus.xfire.type.mtom.XOPType
- All Implemented Interfaces:
- SchemaType
public abstract class XOPType
- extends Type
- Author:
- Dan Diephouse
Methods inherited from class org.codehaus.xfire.type.Type |
equals, getDependencies, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isComplex, setAbstract, setSchemaType, setTypeClass, setTypeMapping, writeSchema |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, 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
XOPType
public XOPType()
readObject
public java.lang.Object readObject(MessageReader reader,
MessageContext context)
throws XFireFault
- Specified by:
readObject
in class Type
- Throws:
XFireFault
getURI
protected java.lang.String getURI(java.lang.String value)
- Parse the URI from the
xop:Include
href value.
- Parameters:
value
-
- Returns:
getAttachment
public Attachment getAttachment(java.lang.String id,
MessageContext context)
throws XFireFault
- Throws:
XFireFault
writeObject
public void writeObject(java.lang.Object object,
MessageWriter writer,
MessageContext context)
throws XFireFault
- Specified by:
writeObject
in class Type
- Throws:
XFireFault