|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.sourceforge.java.util.jdom.JDOMUtils
JDOMUtils contains some reusable utility methods to ease JDOM
handling, in particular parsing operations.
| Constructor Summary | |
JDOMUtils()
|
|
| Method Summary | |
static boolean |
isValid(Attribute attr)
Verifies if the specified Attribute is valid.
|
static boolean |
isValid(Element element)
Verifies if the specified Element is valid.
|
static boolean |
isValid(Element element,
String name)
Verifies if the specified Element exists
and matches the specified 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 boolean isValid(Element element,
String name)
Verifies if the specified Element exists
and matches the specified name.
element - the element to verifyname - the name to verify
true if the specified Element
is valid; false if invalidpublic static boolean isValid(Element element)
Verifies if the specified Element is valid.
element - the element to verify
true if the specified Element
is valid; false if invalidpublic static boolean isValid(Attribute attr)
Verifies if the specified Attribute is valid.
attr - the Attribute to verify
true if the specified Attribute
is valid; false if invalid
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||