|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aetrion.flickr.util.XMLUtilities
public class XMLUtilities
Method Summary | |
---|---|
static boolean |
getBooleanAttribute(org.w3c.dom.Element el,
java.lang.String name)
|
static org.w3c.dom.Element |
getChild(org.w3c.dom.Element element,
java.lang.String name)
Get the first child element with the given name. |
static java.util.Collection |
getChildElements(org.w3c.dom.Node node)
|
static java.lang.String |
getChildValue(org.w3c.dom.Element element,
java.lang.String name)
Get the value of the fist child element with the given name. |
static int |
getIntAttribute(org.w3c.dom.Element el,
java.lang.String name)
|
static java.lang.String |
getValue(org.w3c.dom.Element element)
Get the text value for the specified element. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Collection getChildElements(org.w3c.dom.Node node)
public static java.lang.String getValue(org.w3c.dom.Element element)
element
- The Element
public static org.w3c.dom.Element getChild(org.w3c.dom.Element element, java.lang.String name)
element
- The parent elementname
- The child element name
public static java.lang.String getChildValue(org.w3c.dom.Element element, java.lang.String name)
element
- The parent elementname
- The child element name
public static int getIntAttribute(org.w3c.dom.Element el, java.lang.String name)
public static boolean getBooleanAttribute(org.w3c.dom.Element el, java.lang.String name)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |