|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.complex.filter.XPath.Step
public static class XPath.Step
Constructor Summary | |
---|---|
XPath.Step(javax.xml.namespace.QName name,
int index)
Creates a "property" xpath step (i.e. |
|
XPath.Step(javax.xml.namespace.QName name,
int index,
boolean isXmlAttribute)
Creates an xpath step for the given qualified name and index; and the given flag to indicate if it it an "attribute" or "property" step. |
|
XPath.Step(javax.xml.namespace.QName name,
int index,
boolean isXmlAttribute,
boolean isIndexed)
Creates an xpath step for the given qualified name and index; and the given flag to indicate if it it an "attribute" or "property" step. |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
boolean |
equals(java.lang.Object o)
|
boolean |
equalsIgnoreIndex(XPath.Step other)
Compares this Step with another for equivalence ignoring the steps indexes. |
int |
getIndex()
|
javax.xml.namespace.QName |
getName()
|
int |
hashCode()
|
boolean |
isIndexed()
|
boolean |
isXmlAttribute()
Flag that indicates that this single step refers to an "attribute" rather than a "property". |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XPath.Step(javax.xml.namespace.QName name, int index)
name
- index
- public XPath.Step(javax.xml.namespace.QName name, int index, boolean isXmlAttribute)
name
- the qualified name of the step (name should include prefix to be reflected in
toString())index
- the index (indexing starts at 1 for Xpath) of the stepisXmlAttribute
- whether the step referers to an "attribute" or a "property" (like for
attributes and elements in xml)
java.lang.NullPointerException
- if name==null
java.lang.IllegalArgumentException
- if index < 1
public XPath.Step(javax.xml.namespace.QName name, int index, boolean isXmlAttribute, boolean isIndexed)
name
- the qualified name of the step (name should include prefix to be reflected in
toString())index
- the index (indexing starts at 1 for Xpath) of the stepisXmlAttribute
- whether the step referers to an "attribute" or a "property" (like for
attributes and elements in xml)isIndexed
- whether or not the index is to be shown in the string representation even if
index = 1
java.lang.NullPointerException
- if name==null
java.lang.IllegalArgumentException
- if index < 1
Method Detail |
---|
public boolean equalsIgnoreIndex(XPath.Step other)
hisStep
-
public int getIndex()
public boolean isIndexed()
public javax.xml.namespace.QName getName()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object clone()
clone
in class java.lang.Object
public boolean isXmlAttribute()
I.e. it was created from the last step of an expression like
foo/bar@attribute
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |