Package org.geotools.wfs.v1_0
Class QueryTypeBinding
Object
AbstractComplexBinding
AbstractComplexEMFBinding
QueryTypeBinding
QueryTypeBinding
- All Implemented Interfaces:
Binding,ComplexBinding
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionQueryTypeBinding(WfsFactory factory, FilterFactory filterFactory, NamespaceContext namespaceContext) -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(Object object, QName name) Overrides to return the value of the "typeName" attribute as a single String instead of a List.protected voidsetProperty(EObject eObject, String property, Object value, boolean lax) Internal method for reflectively setting the property of an eobject.Methods inherited from class QueryTypeBinding
getTargetMethods inherited from class AbstractComplexEMFBinding
createEObject, getType, parseMethods inherited from class AbstractComplexBinding
encode, getExecutionMode, getProperties, initialize, initializeChildContext
-
Constructor Details
-
QueryTypeBinding
public QueryTypeBinding(WfsFactory factory, FilterFactory filterFactory, NamespaceContext namespaceContext)
-
-
Method Details
-
getProperty
Description copied from class:QueryTypeBindingOverrides to return the value of the "typeName" attribute as a single String instead of a List. Otherwise typeName gets encoded as theQueryType.getTypeName()toString's value which depends on the toString implementation of the internal java.util.List.Also, if the requested property is "SortBy" and the QueryType has an empty sortby list, returns null to avoid encoding an empty sortBy list
- Specified by:
getPropertyin interfaceComplexBinding- Overrides:
getPropertyin classQueryTypeBinding- Parameters:
object- The object being encoded.name- The name of the property to obtain.- Returns:
- The value of the property, or
null. - Throws:
Exception- See Also:
-
setProperty
Description copied from class:AbstractComplexEMFBindingInternal method for reflectively setting the property of an eobject.Subclasses may override.
- Overrides:
setPropertyin classQueryTypeBinding
-