public final class JDomUtil extends Object
Modifier and Type | Method and Description |
---|---|
static boolean |
equalWalk(org.jdom.Element element1,
org.jdom.Element element2)
Recursive method for walking two JDOM trees that *should* be
identical.Equal means that the element has the same attributes
with the same values, and if present, the containing text nodes
are identical.
|
public static boolean equalWalk(org.jdom.Element element1, org.jdom.Element element2)
element1
- an Element
value, start the method
off with the root element of JDOM tree one.element2
- an Element
value, start the method
off with the root element of JDOM tree two.boolean
value, returns true if the two
elements are identical.© 1998- 2018 Stibo DX