|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jinahya.elementlocator.ElementLocator<org.jdom.Document>
com.googlecode.jinahya.elementlocator.JDOMElementLocator
public class JDOMElementLocator
| Method Summary | |
|---|---|
static ElementLocator<org.jdom.Document> |
newInstance(String namespaceURI,
String localName)
Creates a new empty (root only) instance. |
static ElementLocator<org.jdom.Document> |
parseInstance(org.jdom.Document document)
Parses given document and creates a new instance. |
org.jdom.Document |
toDocument()
A new document contains this element's content. |
org.jdom.Document |
toDocument(org.jdom.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.jdom.Document> newInstance(String namespaceURI,
String localName)
namespaceURI - root element's name space URIlocalName - root element's local name
public static ElementLocator<org.jdom.Document> parseInstance(org.jdom.Document document)
document and creates a new instance.
document - document to parse
public final org.jdom.Document toDocument()
public org.jdom.Document toDocument(org.jdom.Document document)
ElementLocatordocument.
toDocument in class ElementLocator<org.jdom.Document>document - an empty document
document
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||