Package org.wso2.carbon.mediator.rule
Class SynapseXPathFactory
- java.lang.Object
-
- org.wso2.carbon.mediator.rule.SynapseXPathFactory
-
public class SynapseXPathFactory extends Object
Creates SynapseXPaths
-
-
Constructor Summary
Constructors Constructor Description SynapseXPathFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jaxen.BaseXPath
createXPath(String xpath, Collection<org.apache.axiom.om.OMNamespace> omNameSpaces)
org.jaxen.BaseXPath
createXPath(org.apache.axiom.om.OMElement element, QName attributeName)
Creates aSynapseXPath
-
-
-
Method Detail
-
createXPath
public org.jaxen.BaseXPath createXPath(org.apache.axiom.om.OMElement element, QName attributeName)
Creates aSynapseXPath
- Parameters:
element
- OMElement Instance to be used to locate XPath expression and namespacesattributeName
- Attribute name to get XPath expression- Returns:
- a
SynapseXPath
instance
-
createXPath
public org.jaxen.BaseXPath createXPath(String xpath, Collection<org.apache.axiom.om.OMNamespace> omNameSpaces)
-
-