|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mulesoft.adapter.helper.XML
public final class XML
Helper methods for XML document.
| Method Summary | |
|---|---|
static byte[] |
emptyDocument()
|
static String |
firstNamedTextNode(Document document,
String tagName)
|
static Document |
parse(InputStream contentStream)
|
static String |
rootTag(Document document)
e.g. |
static String |
stripNamespaceIfNecessary(String tagName)
Strip namespace of a tag if any. |
static List<List<String>> |
textNodes(Document document)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static List<List<String>> textNodes(Document document)
document -
public static String firstNamedTextNode(Document document,
String tagName)
document - tagName -
public static String rootTag(Document document)
document -
public static Document parse(InputStream contentStream)
throws ParserConfigurationException,
SAXException,
IOException
content -
Document
ParserConfigurationException
SAXException
IOExceptionpublic static String stripNamespaceIfNecessary(String tagName)
tagName -
public static byte[] emptyDocument()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||