|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jinahya.elementlocator.ElementLocator<org.dom4j.Document>
com.googlecode.jinahya.elementlocator.DOM4JElementLocator
public class DOM4JElementLocator
| Method Summary | |
|---|---|
static ElementLocator<org.dom4j.Document> |
newInstance(String namespaceURI,
String localName)
Creates a new empty (root only) instance. |
static ElementLocator<org.dom4j.Document> |
parseInstance(org.dom4j.Document document)
Creates a new instance. |
org.dom4j.Document |
toDocument()
Prints contents to a new document. |
org.dom4j.Document |
toDocument(org.dom4j.Document document)
Prints contents to given document. |
| Methods inherited from class com.googlecode.jinahya.elementlocator.ElementLocator |
|---|
addChild, addChild, attribute, attribute, child, child, child, child, getAttribute, getAttribute, getChildCount, getChildCount, getText, locateChild, locateChild, locateParent, locateRoot, parent, remove, removeAttribute, removeAttribute, removeCurrent, root, setAttribute, setAttribute, setText, text, text, toJSON |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ElementLocator<org.dom4j.Document> newInstance(String namespaceURI,
String localName)
namespaceURI - root element's name space URI.localName - root element's local namer
public static ElementLocator<org.dom4j.Document> parseInstance(org.dom4j.Document document)
document - document
public final org.dom4j.Document toDocument()
public org.dom4j.Document toDocument(org.dom4j.Document document)
ElementLocatordocument.
toDocument in class ElementLocator<org.dom4j.Document>document - an empty document
document
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||