|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mockcentral.editor.nodes.JDomUtils
public class JDomUtils
Utility class providing methods for inspecting JDOM Element
data.
| Constructor Summary | |
|---|---|
JDomUtils()
|
|
| Method Summary | |
|---|---|
static java.util.List<org.jdom.Element> |
getChildElements(org.jdom.Element element)
Returns the children of the supplied Element. |
static java.util.List<org.jdom.Element> |
getChildElements(org.jdom.Element element,
java.lang.String childName)
Returns the children of the supplied Element matching the
supplied name. |
static java.util.Set<MockCentralNode> |
getReferencingNodes(java.lang.String className,
org.jdom.Document document)
Returns a Set of all MockCentralNode instances
which reference the supplied class name. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDomUtils()
| Method Detail |
|---|
public static java.util.List<org.jdom.Element> getChildElements(org.jdom.Element element,
java.lang.String childName)
Element matching the
supplied name.
element - the Element.childName - the name.
Element matching the
supplied name.public static java.util.List<org.jdom.Element> getChildElements(org.jdom.Element element)
Element.
element - the Element.
Element.
public static java.util.Set<MockCentralNode> getReferencingNodes(java.lang.String className,
org.jdom.Document document)
Set of all MockCentralNode instances
which reference the supplied class name.
className - the name of the class.document - the JDOM Document in which to search
Set of all MockCentralNode instances
which reference the supplied class name.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||