net.bpelunit.util
Class JDomUtil

java.lang.Object
  extended by net.bpelunit.util.JDomUtil

public final class JDomUtil
extends Object

Simple static wrapper methods around non-template returns from JDom. Used for getting rid of some compile warnings

Author:
Daniel Luebke

Method Summary
static List<org.jdom.Element> getChildren(org.jdom.Element parent, String name)
           
static List<org.jdom.Element> getChildren(org.jdom.Element parent, String name, org.jdom.Namespace ns)
           
static List<org.jdom.Comment> getCommentsInContent(org.jdom.Element element)
           
static Iterator<org.jdom.Element> getDescendants(org.jdom.Element parent, org.jdom.filter.ElementFilter filter)
           
static List<org.jdom.Element> getElementsInContent(org.jdom.Element element)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDescendants

public static Iterator<org.jdom.Element> getDescendants(org.jdom.Element parent,
                                                        org.jdom.filter.ElementFilter filter)

getChildren

public static List<org.jdom.Element> getChildren(org.jdom.Element parent,
                                                 String name,
                                                 org.jdom.Namespace ns)

getChildren

public static List<org.jdom.Element> getChildren(org.jdom.Element parent,
                                                 String name)

getElementsInContent

public static List<org.jdom.Element> getElementsInContent(org.jdom.Element element)

getCommentsInContent

public static List<org.jdom.Comment> getCommentsInContent(org.jdom.Element element)


Copyright © 2013 Leibniz Universität Hannover. All Rights Reserved.