|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.deegree.ogcbase.PropertyPath
public class PropertyPath
Represents a subset of the XPath expression language as described in section 7.4.2 of the Web Feature Implementation Specification 1.1.0 (but is used by other OGC specifications as well).
This specification does not require a WFS implementation to support the full XPath language. In order to keep the implementation entry cost as low as possible, this specification mandates that a WFS implementation must support the following subset of the XPath language:
PropertyPathStep| Constructor Summary | |
|---|---|
PropertyPath(List<PropertyPathStep> steps)
Creates a new instance of PropertyPath with the specified steps. |
|
| Method Summary | |
|---|---|
void |
append(PropertyPathStep last)
Adds the given PropertyPathStep to the end of the path. |
int |
compareTo(PropertyPath that)
Compares this object with the specified object for order. |
boolean |
equals(Object obj)
|
List<PropertyPathStep> |
getAllSteps()
Returns all steps of the PropertyPath. |
String |
getAsString()
Returns the canonical string representation. |
NamespaceContext |
getNamespaceContext()
Returns the namespace bindings for the prefices that are used by this property path. |
PropertyPathStep |
getStep(int i)
Returns the PropertyPathStep at the given index. |
int |
getSteps()
Returns the number of steps. |
int |
hashCode()
|
void |
prepend(PropertyPathStep first)
Adds the given PropertyPathStep to the beginning of the path. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyPath(List<PropertyPathStep> steps)
PropertyPath with the specified steps.
steps - property path steps, may not be null| Method Detail |
|---|
public NamespaceContext getNamespaceContext()
public int getSteps()
public String getAsString()
public PropertyPathStep getStep(int i)
PropertyPathStep at the given index.
i -
PropertyPathStep at the given indexpublic List<PropertyPathStep> getAllSteps()
PropertyPath.
PropertyPathpublic void append(PropertyPathStep last)
PropertyPathStep to the end of the path.
last - PropertyPathStep to addpublic void prepend(PropertyPathStep first)
PropertyPathStep to the beginning of the path.
first - PropertyPathStep to addpublic int hashCode()
hashCode in class Objectpublic boolean equals(Object obj)
equals in class Objectpublic String toString()
toString in class Objectpublic int compareTo(PropertyPath that)
TODO use really unique string representations (namespaces!) + cache them
compareTo in interface Comparable<PropertyPath>that - the PropertyPath to be compared
|
deegree 2.2 (2008/12/22 11:33 build-3038-official) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net