public class SoapRefType extends AegisType
Constructor and Description |
---|
SoapRefType(AegisType baseType) |
Modifier and Type | Method and Description |
---|---|
Set<AegisType> |
getDependencies()
Return a set of AegisType dependencies.
|
QName |
getSchemaType() |
Class<?> |
getTypeClass() |
TypeMapping |
getTypeMapping() |
boolean |
isAbstract() |
boolean |
isComplex() |
boolean |
isNillable() |
boolean |
isWriteOuter()
Defaults to true.
|
Object |
readObject(MessageReader reader,
Context context)
Read in the XML fragment and create an object.
|
void |
setAbstract(boolean ab) |
void |
setNillable(boolean nillable) |
void |
setSchemaType(QName name) |
void |
setTypeClass(Class<?> typeClass) |
void |
setTypeMapping(TypeMapping typeMapping) |
void |
setWriteOuter(boolean writeOuter) |
void |
writeObject(Object object,
MessageWriter writer,
Context context)
Writes the object to the MessageWriter.
|
void |
writeSchema(org.apache.ws.commons.schema.XmlSchema schema)
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, getType, hashCode, hasMaxOccurs, hasMinOccurs, isFlatArray, setFlatArray, setTypeClass, toString, usesUtilityTypes, usesXmime
public SoapRefType(AegisType baseType)
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 void writeSchema(org.apache.ws.commons.schema.XmlSchema schema)
AegisType
writeSchema
in class AegisType
schema
- root of the XSD document.public TypeMapping getTypeMapping()
getTypeMapping
in class AegisType
public void setTypeMapping(TypeMapping typeMapping)
setTypeMapping
in class AegisType
typeMapping
- The typeMapping to set.public Class<?> getTypeClass()
getTypeClass
in class AegisType
public void setTypeClass(Class<?> typeClass)
public boolean isComplex()
public boolean isAbstract()
isAbstract
in class AegisType
public void setAbstract(boolean ab)
setAbstract
in class AegisType
public boolean isNillable()
isNillable
in class AegisType
public void setNillable(boolean nillable)
setNillable
in class AegisType
public Set<AegisType> getDependencies()
AegisType
getDependencies
in class AegisType
AegisType
dependenciespublic QName getSchemaType()
getSchemaType
in class AegisType
public void setSchemaType(QName name)
setSchemaType
in class AegisType
name
- The qName to set.public boolean isWriteOuter()
AegisType
isWriteOuter
in class AegisType
public void setWriteOuter(boolean writeOuter)
setWriteOuter
in class AegisType
Apache CXF