Package org.apache.cxf.aegis.type.basic
Class Base64Type
- java.lang.Object
-
- org.apache.cxf.aegis.type.AegisType
-
- org.apache.cxf.aegis.type.basic.Base64Type
-
public class Base64Type extends AegisType
Converts back and forth to byte[] objects. There is a co-routine between this class and the MTOM ByteArrayType. This class can accept either inline base64 or an MTOM attachment. It passes the problem over the ByteArrayType for the later.
-
-
Constructor Summary
Constructors Constructor Description Base64Type()Base64Type(AbstractXOPType xopType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectreadObject(MessageReader mreader, Context context)Read in the XML fragment and create an object.voidwriteObject(Object object, MessageWriter writer, Context context)Writes the object to the MessageWriter.-
Methods inherited from class org.apache.cxf.aegis.type.AegisType
addToSchemaElement, equals, getDependencies, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isComplex, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime, writeSchema
-
-
-
-
Constructor Detail
-
Base64Type
public Base64Type()
-
Base64Type
public Base64Type(AbstractXOPType xopType)
-
-
Method Detail
-
readObject
public Object readObject(MessageReader mreader, Context context) throws DatabindingException
Description copied from class:AegisTypeRead in the XML fragment and create an object.- Specified by:
readObjectin classAegisType- Returns:
- Throws:
DatabindingException
-
writeObject
public void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException
Description copied from class:AegisTypeWrites the object to the MessageWriter.- Specified by:
writeObjectin classAegisType- Throws:
DatabindingException
-
-