Class StreamingXPATH
- java.lang.Object
-
- org.apache.synapse.util.streaming_xpath.StreamingXPATH
-
public class StreamingXPATH extends Object
-
-
Constructor Summary
Constructors Constructor Description StreamingXPATH(String xPath)
This constructor is responsible For Create a Custom XPATH Parser Object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamingParser
getStreamingParser()
String
getStringValue(InputStream inputStream)
This will return the XPATH expression's result when you provide a Input Stream To a XMLString
getStringValue(org.apache.axiom.om.OMElement documentElement)
This will return the XPATH expression's result when you provide a Input Stream To a XMLString
getxPath()
void
setStreamingParser(StreamingParser streamingParser)
void
setxPath(String xPath)
-
-
-
Constructor Detail
-
StreamingXPATH
public StreamingXPATH(String xPath) throws StreamingXPATHException
This constructor is responsible For Create a Custom XPATH Parser Object- Parameters:
xPath
- is the XPATH String- Throws:
StreamingXPATHException
-
-
Method Detail
-
getStringValue
public String getStringValue(InputStream inputStream) throws XMLStreamException, StreamingXPATHException
This will return the XPATH expression's result when you provide a Input Stream To a XML- Parameters:
inputStream
- for a XML- Returns:
- Result of the XPATH expression
- Throws:
XMLStreamException
StreamingXPATHException
-
getStringValue
public String getStringValue(org.apache.axiom.om.OMElement documentElement) throws XMLStreamException, StreamingXPATHException
This will return the XPATH expression's result when you provide a Input Stream To a XML- Parameters:
documentElement
- for a XML- Returns:
- Result of the XPATH expression
- Throws:
XMLStreamException
StreamingXPATHException
-
getxPath
public String getxPath()
-
setxPath
public void setxPath(String xPath)
-
getStreamingParser
public StreamingParser getStreamingParser()
-
setStreamingParser
public void setStreamingParser(StreamingParser streamingParser)
-
-