|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.xfire.aegis.type.Type
org.codehaus.xfire.aegis.type.collection.MapType
public class MapType
Constructor Summary | |
---|---|
MapType(javax.xml.namespace.QName schemaType,
Type keyType,
Type valueType)
|
Method Summary | |
---|---|
java.util.Set |
getDependencies()
Return a set of Type dependencies. |
javax.xml.namespace.QName |
getEntryName()
|
javax.xml.namespace.QName |
getKeyName()
|
Type |
getKeyType()
|
javax.xml.namespace.QName |
getValueName()
|
Type |
getValueType()
|
protected java.util.Map |
instantiateMap()
Creates a map instance. |
boolean |
isComplex()
Whether or not this a complex type. |
java.lang.Object |
readObject(MessageReader reader,
MessageContext context)
Read in the XML fragment and create an object. |
void |
setEntryName(javax.xml.namespace.QName entryName)
|
void |
setKeyName(javax.xml.namespace.QName keyName)
|
void |
setValueName(javax.xml.namespace.QName valueName)
|
void |
writeObject(java.lang.Object object,
MessageWriter writer,
MessageContext context)
Writes the object to the MessageWriter. |
void |
writeSchema(Element root)
Write the type schema (if complex) to the element. |
Methods inherited from class org.codehaus.xfire.aegis.type.Type |
---|
equals, getSchemaType, getTypeClass, getTypeMapping, hashCode, isAbstract, isNillable, isWriteOuter, setAbstract, setNillable, setSchemaType, setTypeClass, setTypeMapping, setWriteOuter, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MapType(javax.xml.namespace.QName schemaType, Type keyType, Type valueType)
Method Detail |
---|
public java.lang.Object readObject(MessageReader reader, MessageContext context) throws XFireFault
Type
readObject
in class Type
XFireFault
protected java.util.Map 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(java.lang.Object object, MessageWriter writer, MessageContext context) throws XFireFault
Type
writeObject
in class Type
XFireFault
public void writeSchema(Element root)
SchemaType
writeSchema
in interface SchemaType
writeSchema
in class Type
public java.util.Set getDependencies()
Type
getDependencies
in interface SchemaType
getDependencies
in class Type
Type
dependenciespublic Type getKeyType()
public Type getValueType()
public boolean isComplex()
SchemaType
isComplex
in interface SchemaType
isComplex
in class Type
public javax.xml.namespace.QName getKeyName()
public void setKeyName(javax.xml.namespace.QName keyName)
public javax.xml.namespace.QName getValueName()
public void setValueName(javax.xml.namespace.QName valueName)
public javax.xml.namespace.QName getEntryName()
public void setEntryName(javax.xml.namespace.QName entryName)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |