public class XPathEvaluator
extends java.lang.Object
Constructor and Description |
---|
XPathEvaluator(java.util.Map<java.lang.String,java.lang.String> nsPrefixMap,
org.jdom.Element sourceElem) |
XPathEvaluator(java.lang.String xpathExpression,
java.util.Map<java.lang.String,java.lang.String> nsPrefixMap) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getContentValue(java.lang.String xpathExpression,
java.lang.String type) |
java.util.List |
getMatchingContents(org.jdom.Document doc) |
java.util.List |
getMatchingContents(org.jdom.Element sourceElem) |
static void |
main(java.lang.String[] args) |
public XPathEvaluator(java.lang.String xpathExpression, java.util.Map<java.lang.String,java.lang.String> nsPrefixMap) throws java.lang.Exception
java.lang.Exception
public XPathEvaluator(java.util.Map<java.lang.String,java.lang.String> nsPrefixMap, org.jdom.Element sourceElem) throws java.lang.Exception
java.lang.Exception
public java.util.List getMatchingContents(org.jdom.Document doc) throws java.lang.Exception
java.lang.Exception
public java.util.List getMatchingContents(org.jdom.Element sourceElem) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getContentValue(java.lang.String xpathExpression, java.lang.String type) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] args) throws java.lang.Exception
java.lang.Exception