Package org.geotools.xml.filter
Class FilterComplexTypes.SortOrderType
- Object
-
- SortOrderType
-
- All Implemented Interfaces:
SimpleType
,Type
- Enclosing class:
- FilterComplexTypes
public static class FilterComplexTypes.SortOrderType extends Object implements SimpleType
also from the 1.0.20 version, and excluded from the Schema object
-
-
Field Summary
Fields Modifier and Type Field Description static String
SORT_ORDER_ASC
static String
SORT_ORDER_DESC
static String
SORT_ORDER_KEY
-
Fields inherited from interface SimpleType
ALL, LIST, NONE, RESTRICTION, UNION
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canCreateAttributes(Attribute attribute, Object value, Map<String,Object> hints)
TODO summary sentence for canCreateAttributes ...boolean
canEncode(Element element, Object value, Map<String,Object> hints)
TODO summary sentence for canEncode ...void
encode(Element element, Object value, PrintHandler output, Map<String,Object> hints)
TODO summary sentence for encode ...Element
findChildElement(String name)
TODO summary sentence for findChildElement ...int
getChildType()
TODO summary sentence for getChildType ...Facet[]
getFacets()
TODO summary sentence for getFacets ...int
getFinal()
TODO summary sentence for getFinal ...String
getId()
TODO summary sentence for getId ...static FilterComplexTypes.SortOrderType
getInstance()
Class
getInstanceType()
TODO summary sentence for getInstanceType ...String
getName()
TODO summary sentence for getName ...URI
getNamespace()
TODO summary sentence for getNamespace ...SimpleType[]
getParents()
TODO summary sentence for getParents ...Object
getValue(Element element, ElementValue[] value, Attributes attrs, Map<String,Object> hints)
TODO summary sentence for getValue ...AttributeValue
toAttribute(Attribute attribute, Object value, Map<String,Object> hints)
TODO summary sentence for toAttribute ...
-
-
-
Field Detail
-
SORT_ORDER_KEY
public static final String SORT_ORDER_KEY
- See Also:
- Constant Field Values
-
SORT_ORDER_DESC
public static final String SORT_ORDER_DESC
- See Also:
- Constant Field Values
-
SORT_ORDER_ASC
public static final String SORT_ORDER_ASC
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static FilterComplexTypes.SortOrderType getInstance()
-
getFinal
public int getFinal()
TODO summary sentence for getFinal ...- Specified by:
getFinal
in interfaceSimpleType
- See Also:
SimpleType.getFinal()
-
getId
public String getId()
TODO summary sentence for getId ...- Specified by:
getId
in interfaceSimpleType
- See Also:
SimpleType.getId()
-
toAttribute
public AttributeValue toAttribute(Attribute attribute, Object value, Map<String,Object> hints) throws OperationNotSupportedException
TODO summary sentence for toAttribute ...- Specified by:
toAttribute
in interfaceSimpleType
- Throws:
OperationNotSupportedException
- See Also:
SimpleType.toAttribute(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)
-
canCreateAttributes
public boolean canCreateAttributes(Attribute attribute, Object value, Map<String,Object> hints)
TODO summary sentence for canCreateAttributes ...- Specified by:
canCreateAttributes
in interfaceSimpleType
- See Also:
SimpleType.canCreateAttributes(org.geotools.xml.schema.Attribute, java.lang.Object, java.util.Map)
-
getChildType
public int getChildType()
TODO summary sentence for getChildType ...- Specified by:
getChildType
in interfaceSimpleType
- See Also:
SimpleType.getChildType()
-
getParents
public SimpleType[] getParents()
TODO summary sentence for getParents ...- Specified by:
getParents
in interfaceSimpleType
- See Also:
SimpleType.getParents()
-
getFacets
public Facet[] getFacets()
TODO summary sentence for getFacets ...- Specified by:
getFacets
in interfaceSimpleType
- See Also:
SimpleType.getFacets()
-
getValue
public Object getValue(Element element, ElementValue[] value, Attributes attrs, Map<String,Object> hints) throws OperationNotSupportedException
TODO summary sentence for getValue ...- Specified by:
getValue
in interfaceType
- Returns:
- Object
- Throws:
OperationNotSupportedException
- See Also:
Type.getValue(org.geotools.xml.schema.Element, org.geotools.xml.schema.ElementValue[], org.xml.sax.Attributes, java.util.Map)
-
getName
public String getName()
TODO summary sentence for getName ...- Specified by:
getName
in interfaceType
- See Also:
Type.getName()
-
getNamespace
public URI getNamespace()
TODO summary sentence for getNamespace ...- Specified by:
getNamespace
in interfaceType
- See Also:
Type.getNamespace()
-
getInstanceType
public Class getInstanceType()
TODO summary sentence for getInstanceType ...- Specified by:
getInstanceType
in interfaceType
- See Also:
Type.getInstanceType()
-
canEncode
public boolean canEncode(Element element, Object value, Map<String,Object> hints)
TODO summary sentence for canEncode ...- Specified by:
canEncode
in interfaceType
- Parameters:
element
- The element which may be used to represent the Object. This is included to allow for child definitions to include addition information where appropriate.value
- An Object which may or may not be encodeable by this type. The value may also be null.- Returns:
- True when the encode method can interpret the given element/value pair into valid xml.
- See Also:
Type.canEncode(org.geotools.xml.schema.Element, java.lang.Object, java.util.Map)
-
encode
public void encode(Element element, Object value, PrintHandler output, Map<String,Object> hints) throws OperationNotSupportedException
TODO summary sentence for encode ...- Specified by:
encode
in interfaceType
- Parameters:
element
- The original element declaration to which we should encode.value
- The Object to encode.output
- This is where the output should be written to.hints
- For providing additional context information to specific schemas.- Throws:
OperationNotSupportedException
- When this type cannot be encoded ... and wasn't checked first.- See Also:
Type.encode(org.geotools.xml.schema.Element, java.lang.Object, org.geotools.xml.PrintHandler, java.util.Map)
-
findChildElement
public Element findChildElement(String name)
TODO summary sentence for findChildElement ...- Specified by:
findChildElement
in interfaceType
- Parameters:
name
- the element's localName to search for.- See Also:
Type.findChildElement(java.lang.String)
-
-