public class QueryTypeBinding extends QueryTypeBinding
Constructor and Description |
---|
QueryTypeBinding(WfsFactory factory,
FilterFactory filterFactory,
NamespaceContext namespaceContext) |
Modifier and Type | Method and Description |
---|---|
Object |
getProperty(Object object,
QName name)
Overrides to return the value of the "typeName" attribute as a single String instead of a
List.
|
protected void |
setProperty(EObject eObject,
String property,
Object value,
boolean lax)
Internal method for reflectively setting the property of an eobject.
|
getTarget
createEObject, getType, parse
encode, getExecutionMode, getProperties, getProperties, initialize, initializeChildContext
public QueryTypeBinding(WfsFactory factory, FilterFactory filterFactory, NamespaceContext namespaceContext)
public Object getProperty(Object object, QName name) throws Exception
QueryTypeBinding
QueryType.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
getProperty
in interface ComplexBinding
getProperty
in class QueryTypeBinding
object
- The object being encoded.name
- The name of the property to obtain.null
.Exception
ComplexBinding.getProperty(Object, QName)
protected void setProperty(EObject eObject, String property, Object value, boolean lax)
AbstractComplexEMFBinding
Subclasses may override.
setProperty
in class QueryTypeBinding
Copyright © 1996–2019 Geotools. All rights reserved.