|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.validation.xml.ArgHelper.StringMapping
StringMapping purpose.
Represents the workings for a String Mapping
Constructor Summary | |
protected |
ArgHelper.StringMapping()
|
Method Summary | |
java.lang.String |
encode(java.lang.Object obj)
Implementation of encode. |
java.lang.String |
getElementName()
Implementation of getElementName. |
java.lang.Object |
getInstance(org.w3c.dom.Element elem)
Implementation of getInstance. |
java.lang.Object |
getInstance(java.lang.String value)
getInstance purpose. |
java.lang.String |
getType()
Implementation of getType. |
boolean |
isClass(java.lang.Class c)
|
boolean |
isClassInstance(java.lang.Object c)
Implementation of isClassInstance. |
java.lang.String |
toString(java.lang.Object o)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ArgHelper.StringMapping()
Method Detail |
public java.lang.String getType()
getType
in interface ArgHelper.Mapping
ArgHelper.Mapping.getType()
public java.lang.String getElementName()
getElementName
in interface ArgHelper.Mapping
ArgHelper.Mapping.getElementName()
public java.lang.Object getInstance(org.w3c.dom.Element elem)
getInstance
in interface ArgHelper.Mapping
elem
- Element the element to parse into a String.
java.lang.NullPointerException
- DOCUMENT ME!ArgHelper.Mapping.getInstance(org.w3c.dom.Element)
public java.lang.Object getInstance(java.lang.String value)
ArgHelper.Mapping
Creates an instance of the appropriate type for this Mapping. This is where type-dependant magic occurs
getInstance
in interface ArgHelper.Mapping
value
- The Element to interpret.
public boolean isClassInstance(java.lang.Object c)
isClassInstance
in interface ArgHelper.Mapping
c
- The Object to test
ArgHelper.Mapping.isClassInstance(java.lang.Object)
public boolean isClass(java.lang.Class c)
isClass
in interface ArgHelper.Mapping
public java.lang.String encode(java.lang.Object obj)
encode
in interface ArgHelper.Mapping
obj
- An object to encode as a String.
java.lang.NullPointerException
- DOCUMENT ME!
java.lang.ClassCastException
- when obj is not of type StringArgHelper.Mapping.encode(java.lang.Object)
public java.lang.String toString(java.lang.Object o)
toString
in interface ArgHelper.Mapping
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |