org.springmodules.validation.util.xml
Class DomUtils

java.lang.Object
  extended by org.springmodules.validation.util.xml.DomUtils

public class DomUtils
extends Object

Utility methods/functions to deal with org.w3c.dom constructs.

Author:
Uri Boness

Method Summary
static Iterator childElements(Element element)
           
static Iterator childNodes(Node node)
           
static Element firstChildElement(Element element)
           
static Element getSingleSubElement(Element parent, String elementNamespace, String localName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

firstChildElement

public static Element firstChildElement(Element element)

childElements

public static Iterator childElements(Element element)

childNodes

public static Iterator childNodes(Node node)

getSingleSubElement

public static Element getSingleSubElement(Element parent,
                                          String elementNamespace,
                                          String localName)


Copyright © 2009. All Rights Reserved.