|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ochafik.xml.XMLUtils
public class XMLUtils
| Constructor Summary | |
|---|---|
XMLUtils()
|
|
| Method Summary | |
|---|---|
static String |
escapeEntities(String s)
|
static StringBuffer |
gatherTextPCDATAAndCDATADescendants(Node node,
StringBuffer sb,
String separator)
|
static String |
getAttribute(Node node,
String name)
|
static List<Node> |
getAttributes(Node node)
|
static List<Node> |
getByName(Node node,
String name)
|
static List<Node> |
getChildElements(Node node)
|
static Collection<Node> |
getChildrenByName(Node node,
String name)
|
static Node |
getFirstNamedNode(Node node,
String name)
|
static List<Node> |
list(NodeList nodeList)
|
static String |
nodeToString(Node node)
|
static Document |
readXML(File file)
|
static String |
stripTags(String xmlString)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XMLUtils()
| Method Detail |
|---|
public static String getAttribute(Node node,
String name)
public static Node getFirstNamedNode(Node node,
String name)
public static List<Node> getByName(Node node,
String name)
public static Collection<Node> getChildrenByName(Node node,
String name)
public static List<Node> getChildElements(Node node)
public static List<Node> getAttributes(Node node)
public static StringBuffer gatherTextPCDATAAndCDATADescendants(Node node,
StringBuffer sb,
String separator)
public static String nodeToString(Node node)
public static final String escapeEntities(String s)
public static String stripTags(String xmlString)
public static Document readXML(File file)
throws Exception
Exceptionpublic static List<Node> list(NodeList nodeList)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||