|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.servicemix.soap.util.DomUtil
public class DomUtil
DOM related utilities.
| Constructor Summary | |
|---|---|
DomUtil()
|
|
| Method Summary | |
|---|---|
static Document |
createDocument()
|
static Element |
createElement(Node parent,
QName name)
|
static QName |
createQName(Element element,
String qualifiedName)
Creates a QName instance from the given namespace context for the given qualifiedName |
static DocumentBuilderFactory |
getDocumentBuilderFactory()
|
static String |
getElementText(Element element)
Returns the text of the element |
static Element |
getFirstChildElement(Node parent)
Get the first child element |
static Element |
getNextSiblingElement(Element el)
Get the next sibling element |
static QName |
getQName(Element el)
|
static TransformerFactory |
getTransformerFactory()
|
protected static String |
getUniquePrefix(Element element)
|
static Document |
parse(InputStream is)
|
static Document |
parse(Source source)
|
static String |
recursiveGetAttributeValue(Node parent,
String attributeName)
Recursive method to find a given attribute value |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DomUtil()
| Method Detail |
|---|
public static Document createDocument()
public static Document parse(InputStream is)
public static Document parse(Source source)
public static DocumentBuilderFactory getDocumentBuilderFactory()
public static TransformerFactory getTransformerFactory()
public static Element getFirstChildElement(Node parent)
parent -
public static String getElementText(Element element)
public static Element getNextSiblingElement(Element el)
el -
public static Element createElement(Node parent,
QName name)
public static QName createQName(Element element,
String qualifiedName)
element - the element to use as the namespace contextqualifiedName - the fully qualified name
public static String recursiveGetAttributeValue(Node parent,
String attributeName)
protected static String getUniquePrefix(Element element)
public static QName getQName(Element el)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||