|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.validation.xml.ArgHelper.GeometryMapping
GeometryMapping purpose.
Represents the workings for a Geometry Mapping
Constructor Summary | |
protected |
ArgHelper.GeometryMapping()
|
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 value)
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 obj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
protected ArgHelper.GeometryMapping()
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 value)
getInstance
in interface ArgHelper.Mapping
value
- Element the element to parse into a Geometry.
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) throws ValidationException
encode
in interface ArgHelper.Mapping
obj
- An object to encode as a geometry.
ValidationException
- when obj is not of type geometryArgHelper.Mapping.encode(java.lang.Object)
public java.lang.String toString(java.lang.Object obj)
toString
in interface ArgHelper.Mapping
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |