public class MapType extends AegisType
Constructor and Description |
---|
MapType(QName schemaType,
AegisType keyType,
AegisType valueType) |
Modifier and Type | Method and Description |
---|---|
Set<AegisType> |
getDependencies()
Return a set of AegisType dependencies.
|
QName |
getEntryName() |
QName |
getKeyName() |
AegisType |
getKeyType() |
QName |
getValueName() |
AegisType |
getValueType() |
protected Map<Object,Object> |
instantiateMap()
Creates a map instance.
|
boolean |
isComplex() |
Object |
readObject(MessageReader reader,
Context context)
Read in the XML fragment and create an object.
|
void |
setEntryName(QName entryName) |
void |
setKeyName(QName keyName) |
void |
setValueName(QName valueName) |
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 Object readObject(MessageReader reader, Context context) throws DatabindingException
AegisType
readObject
in class AegisType
DatabindingException
protected Map<Object,Object> instantiateMap()
Map
or
extends the Map
interface a HashMap
is
created. Otherwise the map classs (i.e. LinkedHashMap) is instantiated
using the default constructor.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 root)
AegisType
writeSchema
in class AegisType
root
- root of the XSD document.public Set<AegisType> getDependencies()
AegisType
getDependencies
in class AegisType
AegisType
dependenciespublic AegisType getKeyType()
public AegisType getValueType()
public boolean isComplex()
public QName getKeyName()
public void setKeyName(QName keyName)
public QName getValueName()
public void setValueName(QName valueName)
public QName getEntryName()
public void setEntryName(QName entryName)
Apache CXF