org.apache.cassandra.utils
Class XMLUtils
java.lang.Object
org.apache.cassandra.utils.XMLUtils
public class XMLUtils
- extends java.lang.Object
Constructor Summary |
XMLUtils(java.lang.String xmlSrc)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLUtils
public XMLUtils(java.lang.String xmlSrc)
throws java.io.FileNotFoundException,
javax.xml.parsers.ParserConfigurationException,
org.xml.sax.SAXException,
java.io.IOException
- Throws:
java.io.FileNotFoundException
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXException
java.io.IOException
getNodeValue
public java.lang.String getNodeValue(java.lang.String xql)
throws javax.xml.xpath.XPathExpressionException
- Throws:
javax.xml.xpath.XPathExpressionException
getNodeValues
public java.lang.String[] getNodeValues(java.lang.String xql)
throws javax.xml.xpath.XPathExpressionException
- Throws:
javax.xml.xpath.XPathExpressionException
getRequestedNodeList
public org.w3c.dom.NodeList getRequestedNodeList(java.lang.String xql)
throws javax.xml.xpath.XPathExpressionException
- Throws:
javax.xml.xpath.XPathExpressionException
getAttributeValue
public static java.lang.String getAttributeValue(org.w3c.dom.Node node,
java.lang.String attrName)
throws javax.xml.transform.TransformerException
- Throws:
javax.xml.transform.TransformerException
Copyright © 2011 The Apache Software Foundation