Class MapType
java.lang.Object
org.apache.cxf.aegis.type.AegisType
org.apache.cxf.aegis.type.collection.MapType
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturn a set of AegisType dependencies.Creates a map instance.booleanreadObject(MessageReader reader, Context context) Read in the XML fragment and create an object.voidsetEntryName(QName entryName) voidsetKeyName(QName keyName) voidsetValueName(QName valueName) voidwriteObject(Object object, MessageWriter writer, Context context) Writes the object to the MessageWriter.voidwriteSchema(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.Methods inherited from class org.apache.cxf.aegis.type.AegisType
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
-
Constructor Details
-
MapType
-
-
Method Details
-
readObject
Description copied from class:AegisTypeRead in the XML fragment and create an object.- Specified by:
readObjectin classAegisType- Returns:
- Throws:
DatabindingException
-
instantiateMap
Creates a map instance. If the type class is aMapor extends theMapinterface aHashMapis created. Otherwise the map classs (i.e. LinkedHashMap) is instantiated using the default constructor.- Returns:
-
writeObject
public void writeObject(Object object, MessageWriter writer, Context context) throws DatabindingException Description copied from class:AegisTypeWrites the object to the MessageWriter.- Specified by:
writeObjectin classAegisType- Throws:
DatabindingException
-
writeSchema
public void writeSchema(org.apache.ws.commons.schema.XmlSchema root) Description copied from class:AegisTypeIf this type should correspond to a global, named, schema type, here is where the type object adds it to the schema.- Overrides:
writeSchemain classAegisType- Parameters:
root- root of the XSD document.
-
getDependencies
Description copied from class:AegisTypeReturn a set of AegisType dependencies. Returns null if this type has no dependencies.- Overrides:
getDependenciesin classAegisType- Returns:
- Set of
AegisTypedependencies
-
getKeyType
-
getValueType
-
isComplex
public boolean isComplex() -
getKeyName
-
setKeyName
-
getValueName
-
setValueName
-
getEntryName
-
setEntryName
-