| java.lang.Object org.geotools.feature.iso.AttributeImpl org.geotools.feature.iso.attribute.NumericAttribute
NumericAttribute | public class NumericAttribute extends AttributeImpl implements org.opengis.feature.simple.NumericAttribute(Code) | | Class that represents a Numeric.
author: Ian Schneider author: Chris Holmes, TOPP |
parse | protected Object parse(Object value) throws IllegalArgumentException(Code) | | Allows this AttributeType to convert an argument to its prefered storage
type. If no parsing is possible, returns the original value. If a parse
is attempted, yet fails (i.e. a poor decimal format) throw the
Exception. This is mostly for use internally in Features, but
implementors should simply follow the rules to be safe.
Parameters: value - the object to attempt parsing of. value converted to the preferred storage of thisAttributeType . If no parsing was possible thenthe same object is returned. throws: IllegalArgumentException - if parsing is attempted and isunsuccessful. |
|
|