public class ArgHelper extends Object
Modifier and Type | Class and Description |
---|---|
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 and Description |
---|
ArgHelper() |
Modifier and Type | Method and Description |
---|---|
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.
|
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!Copyright © 1996–2019 Geotools. All rights reserved.