|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.apache.lenya.xml.XPath
public class XPath
Helper class for XPath operations
| Constructor Summary | |
|---|---|
XPath(java.lang.String _xpath)
Constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getElementName()
Return the name of the element |
java.lang.String |
getName()
Get the name |
java.lang.String |
getNameWithoutPredicates()
Get the name without predicates |
XPath |
getParent()
Get the parent path |
short |
getType()
Get the type of a node. |
java.lang.String |
removePredicates(java.lang.String s)
Remove predicates (square brackets), http://www.w3.org/TR/xpath |
java.lang.String |
toString()
Return a string representation of the XPath |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XPath(java.lang.String _xpath)
_xpath - The Xpath| Method Detail |
|---|
public XPath getParent()
public short getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getName()
public java.lang.String getElementName()
public java.lang.String getNameWithoutPredicates()
public java.lang.String removePredicates(java.lang.String s)
s - The string to remove predicates from
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||