public abstract class AegisType extends Object
Constructor and Description |
---|
AegisType() |
Modifier and Type | Method and Description |
---|---|
void |
addToSchemaElement(org.apache.ws.commons.schema.XmlSchemaElement schemaElement)
If the type object merely wants to contribute attributes to the
xsd:element element, it can implement this.
|
boolean |
equals(Object obj) |
Set<AegisType> |
getDependencies()
Return a set of AegisType dependencies.
|
long |
getMaxOccurs() |
long |
getMinOccurs() |
QName |
getSchemaType() |
Type |
getType() |
Class<?> |
getTypeClass() |
TypeMapping |
getTypeMapping() |
int |
hashCode() |
boolean |
hasMaxOccurs() |
boolean |
hasMinOccurs() |
boolean |
isAbstract() |
boolean |
isComplex() |
boolean |
isFlatArray() |
boolean |
isNillable() |
boolean |
isWriteOuter()
Defaults to true.
|
abstract Object |
readObject(MessageReader reader,
Context context)
Read in the XML fragment and create an object.
|
void |
setAbstract(boolean ab) |
void |
setFlatArray(boolean flatArray) |
void |
setNillable(boolean nillable) |
void |
setSchemaType(QName name) |
void |
setTypeClass(Type typeClass) |
void |
setTypeMapping(TypeMapping typeMapping) |
void |
setWriteOuter(boolean writeOuter) |
String |
toString() |
boolean |
usesUtilityTypes()
True if this type requires the import of the aegisTypes schema.
|
boolean |
usesXmime() |
abstract 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.
|
protected Type typeClass
public abstract Object readObject(MessageReader reader, Context context) throws DatabindingException
reader
- context
- DatabindingException
public abstract void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException
object
- writer
- context
- DatabindingException
public void writeSchema(org.apache.ws.commons.schema.XmlSchema root)
root
- root of the XSD document.public void addToSchemaElement(org.apache.ws.commons.schema.XmlSchemaElement schemaElement)
schemaElement
- public TypeMapping getTypeMapping()
public void setTypeMapping(TypeMapping typeMapping)
typeMapping
- The typeMapping to set.public Class<?> getTypeClass()
public Type getType()
public void setTypeClass(Type typeClass)
typeClass
- The typeClass to set.public boolean isComplex()
public boolean isAbstract()
public void setAbstract(boolean ab)
public boolean isNillable()
public void setNillable(boolean nillable)
public Set<AegisType> getDependencies()
AegisType
dependenciespublic boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public QName getSchemaType()
public void setSchemaType(QName name)
name
- The qName to set.public boolean isWriteOuter()
public void setWriteOuter(boolean writeOuter)
public boolean usesXmime()
public boolean usesUtilityTypes()
public boolean hasMinOccurs()
public boolean hasMaxOccurs()
public long getMinOccurs()
public long getMaxOccurs()
public boolean isFlatArray()
public void setFlatArray(boolean flatArray)
Apache CXF