Class JaxenNsAwareXPathExecuter
java.lang.Object
net.sf.jasperreports.jaxen.util.xml.JaxenXPathExecuter
net.sf.jasperreports.jaxen.util.xml.JaxenNsAwareXPathExecuter
- All Implemented Interfaces:
JRXPathExecuter
XPath executer implementation that uses a namespace aware Jaxen.
- Author:
- Narcis Marcu (narcism@users.sourceforge.net)
-
Nested Class Summary
Nested classes/interfaces inherited from class net.sf.jasperreports.jaxen.util.xml.JaxenXPathExecuter
JaxenXPathExecuter.NodeListWrapper -
Field Summary
Fields inherited from class net.sf.jasperreports.jaxen.util.xml.JaxenXPathExecuter
EXCEPTION_MESSAGE_KEY_XPATH_COMPILATION_FAILURE, EXCEPTION_MESSAGE_KEY_XPATH_SELECTION_FAILURE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddNamespaceContext(Node contextNode, org.jaxen.XPath xPath, String expression) protected booleancontainsPrefixes(String expression) booleanprotected org.jaxen.XPathselectNodeList(Node contextNode, String expression) selectObject(Node contextNode, String expression) voidsetDetectXmlNamespaces(boolean detectXmlNamespaces) voidsetXmlNamespaceMap(Map<String, String> xmlNamespaceMap) Methods inherited from class net.sf.jasperreports.jaxen.util.xml.JaxenXPathExecuter
getXPath
-
Constructor Details
-
JaxenNsAwareXPathExecuter
public JaxenNsAwareXPathExecuter()Default constructor.
-
-
Method Details
-
getXmlNamespaceMap
-
setXmlNamespaceMap
- Throws:
JRException
-
getDetectXmlNamespaces
public boolean getDetectXmlNamespaces() -
setDetectXmlNamespaces
public void setDetectXmlNamespaces(boolean detectXmlNamespaces) -
getXPath
- Throws:
JRException
-
selectNodeList
- Specified by:
selectNodeListin interfaceJRXPathExecuter- Overrides:
selectNodeListin classJaxenXPathExecuter- Throws:
JRException
-
selectObject
- Specified by:
selectObjectin interfaceJRXPathExecuter- Overrides:
selectObjectin classJaxenXPathExecuter- Throws:
JRException
-
containsPrefixes
-
addNamespaceContext
protected void addNamespaceContext(Node contextNode, org.jaxen.XPath xPath, String expression) throws JRException - Throws:
JRException
-