| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.boylesoftware.cb2.util.XMLUtils
A collection of utility functions that help to work with XML.
| Constructor Summary | |
| XMLUtils() | |
| Method Summary | |
| static java.lang.String | getXMLNodeText(org.w3c.dom.Node node)Retrieves text body of an XML node. | 
| static java.lang.String | getXMLSubelementText(org.w3c.dom.Element element,
                     java.lang.String subelementName)Retrieves text body of an XML element's subnode. | 
| 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 java.lang.String getXMLNodeText(org.w3c.dom.Node node)
node - the XML node to fetch text content from.
null if there is no text content in the node.
public static java.lang.String getXMLSubelementText(org.w3c.dom.Element element,
                                                    java.lang.String subelementName)
element - the XML element to look for the subnode in.subelementName - name of the nested node.
null if there is no such a subnode or there is no
 text content in it.| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||