public class ArgHelper extends Object
| Modifier and Type | Class and Description | 
|---|---|
| protected static class  | ArgHelper.BooleanMappingBooleanMapping purpose. | 
| protected static class  | ArgHelper.DateMappingDateMapping purpose. | 
| protected static class  | ArgHelper.DoubleMappingDoubleMapping purpose. | 
| protected static class  | ArgHelper.EnvelopeMappingEnvelopeMapping purpose. | 
| protected static class  | ArgHelper.FilterMappingFilterMapping purpose. | 
| protected static class  | ArgHelper.FloatMappingFloatMapping purpose. | 
| protected static class  | ArgHelper.GeometryMappingGeometryMapping purpose. | 
| protected static class  | ArgHelper.IntegerMappingIntegerMapping purpose. | 
| protected static class  | ArgHelper.LongMappingLongMapping purpose. | 
| protected static interface  | ArgHelper.MappingMapping purpose. | 
| protected static class  | ArgHelper.ShortMappingShortMapping purpose. | 
| protected static class  | ArgHelper.StringMappingStringMapping purpose. | 
| protected static class  | ArgHelper.URIMappingURIMapping 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.