|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectArgHelper
public class ArgHelper
ArgHelper purpose.
modules/extension/validation (gt-validation.jar)
Nested Class Summary | |
---|---|
protected static class |
ArgHelper.BooleanMapping
BooleanMapping purpose. |
protected static class |
ArgHelper.DateMapping
DateMapping purpose. |
protected static class |
ArgHelper.DoubleMapping
DoubleMapping purpose. |
protected static class |
ArgHelper.EnvelopeMapping
EnvelopeMapping purpose. |
protected static class |
ArgHelper.FilterMapping
FilterMapping purpose. |
protected static class |
ArgHelper.FloatMapping
FloatMapping purpose. |
protected static class |
ArgHelper.GeometryMapping
GeometryMapping purpose. |
protected static class |
ArgHelper.IntegerMapping
IntegerMapping purpose. |
protected static class |
ArgHelper.LongMapping
LongMapping purpose. |
protected static interface |
ArgHelper.Mapping
Mapping purpose. |
protected static class |
ArgHelper.ShortMapping
ShortMapping purpose. |
protected static class |
ArgHelper.StringMapping
StringMapping purpose. |
protected static class |
ArgHelper.URIMapping
URIMapping purpose. |
Constructor Summary | |
---|---|
ArgHelper()
|
Method Summary | |
---|---|
static String |
getArgumentEncoding(Object o)
getArgumentEncoding purpose. |
static Object |
getArgumentInstance(String elementName,
Element value)
getArgumentInstance purpose. |
static Object |
getArgumentInstance(String elementName,
String value)
getArgumentInstance purpose. |
static String |
getArgumentStringEncoding(Object o)
|
static String |
getArgumentType(Object o)
getArgumentType purpose. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ArgHelper()
Method Detail |
---|
public static Object getArgumentInstance(String elementName, Element value) throws ValidationException
Returns an instance for the specified argument type from the Element provided.
elementName
- String the argument element name (type name).value
- Element the element to create the Argument from.
ValidationException
- DOCUMENT ME!
NullPointerException
- DOCUMENT ME!public static Object getArgumentInstance(String elementName, String value) throws ValidationException
Returns an instance for the specified argument type from the Element provided.
elementName
- String the argument element name (type name).value
- String the element to create the Argument from.
ValidationException
- DOCUMENT ME!
NullPointerException
- DOCUMENT ME!public static String getArgumentType(Object o)
Finds the appropriate argument type if one exists.
o
- The Object to search for it's type.
NullPointerException
- DOCUMENT ME!public static String getArgumentEncoding(Object o) throws ValidationException
Creates an XML encodeing of the Object if it is a known argument type.
o
- Object the object to attempt to encode.
ValidationException
- DOCUMENT ME!
NullPointerException
- DOCUMENT ME!public static String getArgumentStringEncoding(Object o)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |