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(boolean serializeWhenUnknown) |
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() |
boolean |
isSerializedWhenUnknown() |
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 |
setSerializedWhenUnknown(boolean serializedWhenUnknown) |
void |
writeObject(Object object,
MessageWriter writer,
Context context)
Writes the object to the MessageWriter.
|
void |
writeSchema(org.apache.ws.commons.schema.XmlSchema root)
If this type should correspond to a global, named, schema type, here is where the
type object adds it to the schema.
|
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
public ObjectType()
public ObjectType(boolean serializeWhenUnknown)
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 boolean isSerializedWhenUnknown()
public void setSerializedWhenUnknown(boolean serializedWhenUnknown)
public Set<AegisType> getDependencies()
AegisType
getDependencies
in class AegisType
AegisType
dependenciespublic boolean isComplex()
public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
AegisType
writeSchema
in class AegisType
root
- root of the XSD document.Apache CXF