| Modifier and Type | Class and Description |
|---|---|
class |
DOM4JElementLocator |
class |
DOMElementLocator |
class |
JDOMElementLocator |
class |
KDOMElementLocator |
class |
XOMElementLocator |
| Modifier and Type | Method and Description |
|---|---|
ElementLocator<D> |
ElementLocator.attribute(String namespaceURI,
String localName,
String value)
Sets or removes attribute's value.
|
ElementLocator<D> |
ElementLocator.child(String localName)
Adds a child element and locate it.
|
ElementLocator<D> |
ElementLocator.child(String localName,
int index)
Locates child element which has given
localName in no
name space at index. |
ElementLocator<D> |
ElementLocator.child(String namespaceURI,
String localName)
Adds a child element and locate it.
|
ElementLocator<D> |
ElementLocator.child(String namespaceURI,
String localName,
int index)
Locate a child element which has given
localName in given
namespaceURI at index. |
static ElementLocator<org.jdom.Document> |
JDOMElementLocator.newInstance(String namespaceURI,
String localName)
Creates a new empty (root only) instance.
|
static ElementLocator<org.dom4j.Document> |
DOM4JElementLocator.newInstance(String namespaceURI,
String localName)
Creates a new empty (root only) instance.
|
static ElementLocator<nu.xom.Document> |
XOMElementLocator.newInstance(String namespaceURI,
String localName) |
static ElementLocator<org.kxml2.kdom.Document> |
KDOMElementLocator.newInstance(String namespaceURI,
String localName) |
static ElementLocator<Document> |
DOMElementLocator.newInstance(String namespaceURI,
String localName) |
ElementLocator<D> |
ElementLocator.parent()
Locates to the parent element.
|
static ElementLocator<org.jdom.Document> |
JDOMElementLocator.parseInstance(org.jdom.Document document)
Parses given
document and creates a new instance. |
static ElementLocator<org.dom4j.Document> |
DOM4JElementLocator.parseInstance(org.dom4j.Document document)
Creates a new instance.
|
static ElementLocator<nu.xom.Document> |
XOMElementLocator.parseInstance(nu.xom.Document document) |
static ElementLocator<org.kxml2.kdom.Document> |
KDOMElementLocator.parseInstance(org.kxml2.kdom.Document document) |
static ElementLocator<Document> |
DOMElementLocator.parseInstance(Document document)
Creates a new instance.
|
ElementLocator<D> |
ElementLocator.remove()
Removes currently located element and locate parent.
|
ElementLocator<D> |
ElementLocator.root()
Locate to the root element.
|
ElementLocator<D> |
ElementLocator.text(String text)
Sets the text value of currently located element.
|
Copyright © 2010-2011. All Rights Reserved.