public class XPathNavigator
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
java.io.InputStream |
getXJdfStream()
Return the xJdf document as input stream.
|
static XPathNavigator |
newInstance(java.io.InputStream xJdfStream)
Factory method for creating a new XPathNavigator object.
|
java.lang.String |
readAttribute(java.lang.String xPath)
Read attribute from XJdf Document using XPath.
|
void |
updateAttribute(java.lang.String xPath,
java.lang.String value)
Update attribute in XML Document.
|
public static XPathNavigator newInstance(java.io.InputStream xJdfStream) throws java.lang.Exception
xJdfStream - XJdf document as input stream.java.io.IOException - Is being thrown in case an exception occurs.java.lang.Exceptionpublic java.lang.String readAttribute(java.lang.String xPath)
throws javax.xml.xpath.XPathExpressionException
xPath - XPath expression of attribute to read.javax.xml.xpath.XPathExpressionException - Is being thrown in case an exception occurs.public void updateAttribute(java.lang.String xPath,
java.lang.String value)
throws java.lang.Exception
xPath - XPath expression of attribute to read.java.lang.Exception - Is being thrown in case an exception occurs.public java.io.InputStream getXJdfStream()
throws java.lang.Exception
java.lang.ExceptionCopyright © 2012. All Rights Reserved.