|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jscience.ml.gml.xml.util.XMLUtils
public class XMLUtils
Provides some utility methods.
| Constructor Summary | |
|---|---|
XMLUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List |
executeXPathQuery(org.jdom.Element parent,
java.lang.String path)
Executes an XPath query using namespaces. |
static java.util.List |
getGlobalElementsWithAttribute(org.jdom.Element root,
java.lang.String elemName,
org.jdom.Namespace elemNamespace,
java.lang.String attrName,
java.lang.String attrValue)
Finds global elements with the given attribute value. |
static org.jdom.Document |
string2jdom(java.lang.String sourceString)
Converts XML text to a JDOM document. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLUtils()
| Method Detail |
|---|
public static org.jdom.Document string2jdom(java.lang.String sourceString)
sourceString - DOCUMENT ME!
public static java.util.List executeXPathQuery(org.jdom.Element parent,
java.lang.String path)
throws org.jaxen.saxpath.SAXPathException
parent - The query context.path - The XPath query.
org.jaxen.saxpath.SAXPathException - DOCUMENT ME!
public static java.util.List getGlobalElementsWithAttribute(org.jdom.Element root,
java.lang.String elemName,
org.jdom.Namespace elemNamespace,
java.lang.String attrName,
java.lang.String attrValue)
root - DOCUMENT ME!elemName - DOCUMENT ME!elemNamespace - DOCUMENT ME!attrName - DOCUMENT ME!attrValue - DOCUMENT ME!
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||