|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.red5.io.utils.XMLUtils
public class XMLUtils
Misc XML utils
Field Summary | |
---|---|
protected static Logger |
log
Logger |
Constructor Summary | |
---|---|
XMLUtils()
|
Method Summary | |
---|---|
static String |
docToString(Document dom)
Converts doc to String |
static String |
docToString1(Document dom)
Convert a DOM tree into a String using Dom2Writer |
static String |
docToString2(Document domDoc)
Convert a DOM tree into a String using transform |
static Document |
stringToDoc(String str)
Converts string representation of XML into Document |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static Logger log
Constructor Detail |
---|
public XMLUtils()
Method Detail |
---|
public static Document stringToDoc(String str) throws IOException
str
- String representation of XML
IOException
- I/O exceptionpublic static String docToString(Document dom)
dom
- DOM object to convert
public static String docToString1(Document dom)
dom
- DOM object to convert
public static String docToString2(Document domDoc) throws IOException
domDoc
- DOM object
IOException
- I/O exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |