Save This Page
Home » xwork-2.1.1-src » com.opensymphony.xwork2.util » [javadoc | source]
com.opensymphony.xwork2.util
public class: DomHelper [javadoc | source]
java.lang.Object
   com.opensymphony.xwork2.util.DomHelper
Helper class to create and retrieve information from location-enabled DOM-trees.
Nested Class Summary:
public static class  DomHelper.DOMBuilder  The DOMBuilder is a utility class that will generate a W3C DOM Document from SAX events. 
public static class  DomHelper.StartHandler   
Field Summary
public static final  String XMLNS_URI     
Method from com.opensymphony.xwork2.util.DomHelper Summary:
getLocationObject,   parse,   parse
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.opensymphony.xwork2.util.DomHelper Detail:
 public static Location getLocationObject(Element element) 
 public static Document parse(InputSource inputSource) 
    Creates a W3C Document that remembers the location of each element in the source file. The location of element nodes can then be retrieved using the #getLocationObject(Element) method.
 public static Document parse(InputSource inputSource,
    Map dtdMappings) 
    Creates a W3C Document that remembers the location of each element in the source file. The location of element nodes can then be retrieved using the #getLocationObject(Element) method.