|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.obe.xpdl.parser.dom4j.Util
Method Summary | |
static org.dom4j.Element |
child(org.dom4j.Element element,
java.lang.String name)
Return the child element with the given name. |
static java.util.List |
children(org.dom4j.Element element,
java.lang.String name)
Return the child elements with the given name. |
static org.dom4j.Element |
detach(org.dom4j.Element element,
org.dom4j.QName qname)
Detaches an element from its parent and returns a child node. |
static boolean |
elementAsBoolean(org.dom4j.Element element,
java.lang.String name)
|
static java.util.Date |
elementAsDate(org.dom4j.Element element,
java.lang.String name)
|
static Duration |
elementAsDuration(org.dom4j.Element element,
java.lang.String name)
|
static DurationUnit |
elementAsDurationUnit(org.dom4j.Element element,
java.lang.String name)
|
static int |
elementAsInteger(org.dom4j.Element element,
java.lang.String name)
|
static java.lang.String |
elementAsString(org.dom4j.Element element,
java.lang.String name)
Return the value of the child element with the given name. |
static java.net.URL |
elementAsURL(org.dom4j.Element element,
java.lang.String name)
|
static java.lang.String |
exportToText(org.dom4j.Element element)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static org.dom4j.Element child(org.dom4j.Element element, java.lang.String name)
element
- The parent elementname
- The child element name
public static java.util.List children(org.dom4j.Element element, java.lang.String name)
element
- The parent elementname
- The child element name
public static org.dom4j.Element detach(org.dom4j.Element element, org.dom4j.QName qname)
element
- The element to detach.qname
- The qualified name of the child element to return.
public static java.lang.String elementAsString(org.dom4j.Element element, java.lang.String name)
element
- The parent elementname
- The child element name
public static java.util.Date elementAsDate(org.dom4j.Element element, java.lang.String name) throws XPDLParserException
XPDLParserException
public static int elementAsInteger(org.dom4j.Element element, java.lang.String name)
public static boolean elementAsBoolean(org.dom4j.Element element, java.lang.String name)
public static java.net.URL elementAsURL(org.dom4j.Element element, java.lang.String name) throws XPDLParserException
XPDLParserException
public static Duration elementAsDuration(org.dom4j.Element element, java.lang.String name) throws XPDLParserException
XPDLParserException
public static DurationUnit elementAsDurationUnit(org.dom4j.Element element, java.lang.String name) throws XPDLParserException
XPDLParserException
public static java.lang.String exportToText(org.dom4j.Element element) throws XPDLParserException
XPDLParserException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |