public class XmlHelper
extends java.lang.Object
| Constructor and Description |
|---|
XmlHelper() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.List<org.jdom2.Content> |
clone(java.util.List<org.jdom2.Content> content) |
static java.util.List<org.jdom2.Element> |
getChildren(org.jdom2.Element e) |
static java.util.List<org.jdom2.Element> |
getChildren(org.jdom2.Element e,
java.lang.String name) |
static java.util.Map<java.lang.String,java.lang.String> |
getInScopeNamespaceDeclarations(org.jdom2.Element e) |
static int |
indexOf(org.jdom2.Parent p,
org.jdom2.Content child) |
static org.jdom2.Document |
parse(java.io.File f) |
static org.jdom2.Document |
parse(java.io.InputStream is) |
public static org.jdom2.Document parse(java.io.File f)
throws java.io.IOException,
org.jdom2.JDOMException
java.io.IOExceptionorg.jdom2.JDOMExceptionpublic static org.jdom2.Document parse(java.io.InputStream is)
throws java.io.IOException,
org.jdom2.JDOMException
java.io.IOExceptionorg.jdom2.JDOMExceptionpublic static java.util.List<org.jdom2.Content> clone(java.util.List<org.jdom2.Content> content)
public static int indexOf(org.jdom2.Parent p,
org.jdom2.Content child)
public static java.util.Map<java.lang.String,java.lang.String> getInScopeNamespaceDeclarations(org.jdom2.Element e)
public static java.util.List<org.jdom2.Element> getChildren(org.jdom2.Element e)
public static java.util.List<org.jdom2.Element> getChildren(org.jdom2.Element e,
java.lang.String name)