org.geotools.xml.xsi
Class XSISimpleTypes.NonNegativeInteger

java.lang.Object
  extended byorg.geotools.xml.xsi.XSISimpleTypes.XSISimpleType
      extended byorg.geotools.xml.xsi.XSISimpleTypes.NonNegativeInteger
All Implemented Interfaces:
SimpleType, Type
Enclosing class:
XSISimpleTypes

public static class XSISimpleTypes.NonNegativeInteger
extends XSISimpleTypes.XSISimpleType

XSI Schema instance of NonNegativeInteger

Author:
dzwiers

Field Summary
 
Fields inherited from interface org.geotools.xml.schema.SimpleType
ALL, LIST, NONE, RESTRICTION, UNION
 
Constructor Summary
XSISimpleTypes.NonNegativeInteger()
           
 
Method Summary
static SimpleType getInstance()
           This method is intended to return an instance of the implemented type.
 java.lang.Class getInstanceType()
           This will return the intended Java Class for this element type.
 java.lang.String getName()
           This returns the XML Schema declaration name of this type (both complex and simple types have names ...)
 java.lang.Object getValue(Element element, ElementValue[] value, org.xml.sax.Attributes attrs, java.util.Map hints)
          TODO summary sentence for getValue ...
 
Methods inherited from class org.geotools.xml.xsi.XSISimpleTypes.XSISimpleType
canCreateAttributes, canEncode, encode, findChildElement, findChildElement, getChildType, getFacets, getFinal, getId, getNamespace, getParent, getParents, toAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XSISimpleTypes.NonNegativeInteger

public XSISimpleTypes.NonNegativeInteger()
Method Detail

getInstance

public static SimpleType getInstance()
Description copied from class: XSISimpleTypes.XSISimpleType

This method is intended to return an instance of the implemented type.

See Also:
org.geotools.xml.schemas.xsi.XSISimpleTypes.XSISimpleType#getInstance()

getName

public java.lang.String getName()
Description copied from interface: Type

This returns the XML Schema declaration name of this type (both complex and simple types have names ...)

Returns:
See Also:
org.geotools.xml.xsi.Type#getName()

getValue

public java.lang.Object getValue(Element element,
                                 ElementValue[] value,
                                 org.xml.sax.Attributes attrs,
                                 java.util.Map hints)
TODO summary sentence for getValue ...

Parameters:
element -
value -
attrs -
hints -
Returns:
Object
See Also:
Type.getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)

getInstanceType

public java.lang.Class getInstanceType()
Description copied from interface: Type

This will return the intended Java Class for this element type. For generic complex types this will be an object array. SimpleTypes will match as they are parsed, and custom extensions will also return the appropriate class value.

Returns:
See Also:
org.geotools.xml.xsi.Type#getInstanceType()


Copyright © GeoTools. All Rights Reserved.