|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.ucsb.nceas.morpho.util.XMLUtil
Constructor Summary | |
XMLUtil()
|
Method Summary | |
static java.lang.String |
getDOMTreeAsString(org.w3c.dom.Node node)
|
static java.lang.String |
normalize(java.lang.Object ss)
Normalizes the given string. |
static void |
print(org.w3c.dom.Node node,
java.io.PrintWriter out)
This method can 'print' any DOM subtree. |
protected static org.w3c.dom.Attr[] |
sortAttributes(org.w3c.dom.NamedNodeMap attrs)
Returns a sorted list of attributes. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XMLUtil()
Method Detail |
public static java.lang.String normalize(java.lang.Object ss)
public static java.lang.String getDOMTreeAsString(org.w3c.dom.Node node)
public static void print(org.w3c.dom.Node node, java.io.PrintWriter out)
node
- node usually set to the 'doc' node for complete XML file
re-writeprotected static org.w3c.dom.Attr[] sortAttributes(org.w3c.dom.NamedNodeMap attrs)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |