|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
protected static interface ArgHelper.Mapping
Mapping purpose.
Used to mask attribute specific fucntions from the user.
Method Summary | |
---|---|
java.lang.String |
encode(java.lang.Object obj)
encode purpose. |
java.lang.String |
getElementName()
getElementName purpose. |
java.lang.Object |
getInstance(org.w3c.dom.Element value)
getInstance purpose. |
java.lang.Object |
getInstance(java.lang.String value)
getInstance purpose. |
java.lang.String |
getType()
getType purpose. |
boolean |
isClass(java.lang.Class c)
|
boolean |
isClassInstance(java.lang.Object obj)
isClassInstance purpose. |
java.lang.String |
toString(java.lang.Object obj)
|
Method Detail |
---|
java.lang.String getType()
Returns a constant type name.
java.lang.Object getInstance(org.w3c.dom.Element value) throws ValidationException
Creates an instance of the appropriate type for this Mapping. This is where type-dependant magic occurs
value
- The Element to interpret.
ValidationException
java.lang.Object getInstance(java.lang.String value) throws ValidationException
Creates an instance of the appropriate type for this Mapping. This is where type-dependant magic occurs
value
- The Element to interpret.
ValidationException
boolean isClassInstance(java.lang.Object obj)
Tests to see if this class is of the expected type.
obj
- The object to test.
boolean isClass(java.lang.Class c)
java.lang.String encode(java.lang.Object obj) throws ValidationException
Creates an XML String from the obj provided, if the object is of the expected type for this mapping.
obj
- The object to try and encode.
ValidationException
java.lang.String toString(java.lang.Object obj)
java.lang.String getElementName()
This is the name of the element represented.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |