public class ObjectType extends AegisType
AegisType
's
in the constructor, in the case that the type is a custom type that may not
have its schema in the WSDL. Can specify whether or not unknown objects
should be serialized as a byte stream.Constructor and Description |
---|
ObjectType() |
ObjectType(Set<AegisType> dependencies) |
ObjectType(Set<AegisType> dependencies,
boolean serializeWhenUnknown) |
Modifier and Type | Method and Description |
---|---|
AegisType |
determineType(Context context,
Class<?> clazz) |
Set<AegisType> |
getDependencies()
Return a set of AegisType dependencies.
|
boolean |
isComplex() |
boolean |
isReadToDocument() |
Object |
readObject(MessageReader reader,
Context context)
Read in the XML fragment and create an object.
|
void |
setDependencies(Set<AegisType> dependencies) |
void |
setReadToDocument(boolean readToDocument) |
void |
writeObject(Object object,
MessageWriter writer,
Context context)
Writes the object to the MessageWriter.
|
addToSchemaElement, equals, getMaxOccurs, getMinOccurs, getSchemaType, getType, getTypeClass, getTypeMapping, hashCode, hasMaxOccurs, hasMinOccurs, isAbstract, isFlatArray, isNillable, isWriteOuter, setAbstract, setFlatArray, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString, usesUtilityTypes, usesXmime, writeSchema
public Object readObject(MessageReader reader, Context context) throws DatabindingException
AegisType
readObject
in class AegisType
DatabindingException
public void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException
AegisType
writeObject
in class AegisType
DatabindingException
public boolean isReadToDocument()
public void setReadToDocument(boolean readToDocument)
public Set<AegisType> getDependencies()
AegisType
getDependencies
in class AegisType
AegisType
dependenciesApache CXF