| |
|
| java.lang.Object org.geotools.validation.xml.ArgHelper
ArgHelper | public class ArgHelper (Code) | | ArgHelper purpose.
author: dzwiers, Refractions Research, Inc. author: $Author: dmzwiers $ (last modification) version: $Id: ArgHelper.java 22266 2006-10-19 11:30:55Z acuster $ |
Inner Class :protected interface Mapping | |
Inner Class :protected static class FilterMapping implements Mapping | |
Inner Class :protected static class GeometryMapping implements Mapping | |
Inner Class :protected static class EnvelopeMapping implements Mapping | |
Inner Class :protected static class ShortMapping implements Mapping | |
Inner Class :protected static class IntegerMapping implements Mapping | |
Inner Class :protected static class LongMapping implements Mapping | |
Inner Class :protected static class FloatMapping implements Mapping | |
Inner Class :protected static class DoubleMapping implements Mapping | |
Inner Class :protected static class DateMapping implements Mapping | |
Inner Class :protected static class URIMapping implements Mapping | |
Inner Class :protected static class BooleanMapping implements Mapping | |
Inner Class :protected static class StringMapping implements Mapping | |
Method Summary | |
public static String | getArgumentEncoding(Object o) getArgumentEncoding purpose.
Creates an XML encodeing of the Object if it is a known argument type.
Parameters: o - Object the object to attempt to encode. | public static Object | getArgumentInstance(String elementName, Element value) getArgumentInstance purpose.
Returns an instance for the specified argument type from the Element
provided.
Parameters: elementName - String the argument element name (type name). Parameters: value - Element the element to create the Argument from. | public static Object | getArgumentInstance(String elementName, String value) getArgumentInstance purpose.
Returns an instance for the specified argument type from the Element
provided.
Parameters: elementName - String the argument element name (type name). Parameters: value - String the element to create the Argument from. | public static String | getArgumentStringEncoding(Object o) | public static String | getArgumentType(Object o) getArgumentType purpose.
Finds the appropriate argument type if one exists.
Parameters: o - The Object to search for it's type. |
getArgumentEncoding | public static String getArgumentEncoding(Object o) throws ValidationException(Code) | | getArgumentEncoding purpose.
Creates an XML encodeing of the Object if it is a known argument type.
Parameters: o - Object the object to attempt to encode. an XML string if it is a known type, "" otherwise. throws: ValidationException - DOCUMENT ME! throws: NullPointerException - DOCUMENT ME! |
getArgumentInstance | public static Object getArgumentInstance(String elementName, Element value) throws ValidationException(Code) | | getArgumentInstance purpose.
Returns an instance for the specified argument type from the Element
provided.
Parameters: elementName - String the argument element name (type name). Parameters: value - Element the element to create the Argument from. The Specified argument in Object form. throws: ValidationException - DOCUMENT ME! throws: NullPointerException - DOCUMENT ME! |
getArgumentInstance | public static Object getArgumentInstance(String elementName, String value) throws ValidationException(Code) | | getArgumentInstance purpose.
Returns an instance for the specified argument type from the Element
provided.
Parameters: elementName - String the argument element name (type name). Parameters: value - String the element to create the Argument from. The Specified argument in Object form. throws: ValidationException - DOCUMENT ME! throws: NullPointerException - DOCUMENT ME! |
getArgumentType | public static String getArgumentType(Object o)(Code) | | getArgumentType purpose.
Finds the appropriate argument type if one exists.
Parameters: o - The Object to search for it's type. The Object type or "" if not found. throws: NullPointerException - DOCUMENT ME! |
|
|
|