com.opensymphony.workflow.loader
Class XMLUtil

java.lang.Object
  extended by com.opensymphony.workflow.loader.XMLUtil

public class XMLUtil
extends Object

Author:
Pat Lightbody

Constructor Summary
XMLUtil()
           
 
Method Summary
static String encode(Object string)
           
static org.w3c.dom.Element getChildElement(org.w3c.dom.Element parent, String childName)
           
static List getChildElements(org.w3c.dom.Element parent, String childName)
           
static String getChildText(org.w3c.dom.Element parent, String childName)
           
static String getText(org.w3c.dom.Element node)
           
static void printIndent(PrintWriter out, int indent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLUtil

public XMLUtil()
Method Detail

getChildElement

public static org.w3c.dom.Element getChildElement(org.w3c.dom.Element parent,
                                                  String childName)

getChildElements

public static List getChildElements(org.w3c.dom.Element parent,
                                    String childName)

getChildText

public static String getChildText(org.w3c.dom.Element parent,
                                  String childName)

getText

public static String getText(org.w3c.dom.Element node)

encode

public static String encode(Object string)

printIndent

public static void printIndent(PrintWriter out,
                               int indent)

OpenSymphony Workflow Project Page