|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.xml.CmsXmlGenericWrapper
public final class CmsXmlGenericWrapper
Provides generic wrappers for XML library methods that do not support Java 5 generic types.
Method Summary | |
---|---|
static List<Node> |
content(Element element)
Provides a type safe / generic wrapper for Branch.content() . |
static Iterable<Element> |
elementIterable(Element element,
String name)
|
static Iterator<Element> |
elementIterator(Element element)
Provides a type safe / generic wrapper for Element.elementIterator(org.dom4j.QName) . |
static Iterator<Element> |
elementIterator(Element element,
String name)
Provides a type safe / generic wrapper for Element.elementIterator(String) . |
static List<Element> |
elements(Element element)
Provides a type safe / generic wrapper for Element.elements() . |
static List<Element> |
elements(Element element,
QName name)
Provides a type safe / generic wrapper for Element.elements(org.dom4j.QName) . |
static List<Element> |
elements(Element element,
String name)
Provides a type safe / generic wrapper for Element.elements(String) . |
static List<Node> |
selectNodes(Document doc,
String xpathExpression)
Provides a type safe / generic wrapper for Node.selectNodes(String) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static List<Node> content(Element element)
Branch.content()
.
element
- the element to get the content for
Branch.content()
.public static Iterable<Element> elementIterable(Element element, String name)
public static Iterator<Element> elementIterator(Element element)
Element.elementIterator(org.dom4j.QName)
.
element
- the element to iterate
Element.elementIterator(org.dom4j.QName)
.public static Iterator<Element> elementIterator(Element element, String name)
Element.elementIterator(String)
.
element
- the element to iteratename
- the element name to match
Element.elementIterator(String)
.public static List<Element> elements(Element element)
Element.elements()
.
element
- the element to iterate
Element.elements()
.public static List<Element> elements(Element element, QName name)
Element.elements(org.dom4j.QName)
.
element
- the element to iteratename
- the element name to match
Element.elements(org.dom4j.QName)
.public static List<Element> elements(Element element, String name)
Element.elements(String)
.
element
- the element to iteratename
- the element name to match
Element.elements(String)
.public static List<Node> selectNodes(Document doc, String xpathExpression)
Node.selectNodes(String)
.
doc
- the document to select the nodes fromxpathExpression
- the XPATH expression to select
Node.selectNodes(String)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |