|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ops4j.pax.construct.util.XppPathQuery
public class XppPathQuery
Provide a very simple XPATH query implementation for XML pull-parser (Xpp) documents
Constructor Summary | |
---|---|
XppPathQuery(java.lang.String xpath)
Create a new XPATH query object from a given string |
Method Summary | |
---|---|
int[] |
queryChildren(org.codehaus.plexus.util.xml.Xpp3Dom parent)
Find all children matching the XPATH predicate |
org.codehaus.plexus.util.xml.Xpp3Dom |
queryParent(org.codehaus.plexus.util.xml.Xpp3Dom dom)
Find the parent node for this XPATH query |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XppPathQuery(java.lang.String xpath) throws java.lang.IllegalArgumentException
xpath
- simple XPATH query
java.lang.IllegalArgumentException
Method Detail |
---|
public org.codehaus.plexus.util.xml.Xpp3Dom queryParent(org.codehaus.plexus.util.xml.Xpp3Dom dom)
dom
- document root
public int[] queryChildren(org.codehaus.plexus.util.xml.Xpp3Dom parent)
parent
- the parent node
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |