public class PropertyName extends Filter
The abstract class of <PropertyName> elements.
Represents the name of any property field of an object. A <PropertyName> element can be used in mathematical and spatial operations, representing the value of the property field of the example elements.
name, subExpression
Constructor and Description |
---|
PropertyName()
The constructor.
|
PropertyName(java.lang.String propertyName)
Constructs a <PropertyName> object according to a property name.
|
PropertyName(java.lang.String namespace, java.lang.String name)
Constructs a <PropertyName> object according to a namespace and a property name.
|
Modifier and Type | Method and Description |
---|---|
void |
accept(AbstractFilterVisitor visitor) |
Filter |
copy()
Copies a replication, i.e., generating a new PropertyName object identical to this object.
|
FilterType |
getFilterType()
Gets the Filter element type.
|
java.lang.String |
getName()
Gets the property name.
|
java.lang.String |
getNamespace()
The namespace.
|
getSubExpression, getSubExpressionCount, setSubExpression
public PropertyName(java.lang.String propertyName)
Constructs a <PropertyName> object according to a property name.
propertyName
-public PropertyName(java.lang.String namespace, java.lang.String name)
Constructs a <PropertyName> object according to a namespace and a property name.
namespace
- The namespace, existing as the prefix of the property name. It can be null.name
- The property name.public PropertyName()
The constructor.
public void accept(AbstractFilterVisitor visitor) throws OGCException
accept
in class Filter
OGCException
public FilterType getFilterType()
Filter
Gets the Filter element type.
getFilterType
in class Filter
public java.lang.String getName()
Gets the property name.
public java.lang.String getNamespace()
The namespace.
The namespace is the prefix of the property name and can be null.