|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.googlecode.jinahya.xml.ElementLocator
com.googlecode.jinahya.xml.JDOMElementLocator
public class JDOMElementLocator
A JDOM implementation.
| Constructor Summary | |
|---|---|
JDOMElementLocator(ELElement root)
Creates a new instance. |
|
| Method Summary | |
|---|---|
static ElementLocator |
parse(org.jdom.Document document)
Parses given document and creates a new instance. |
static org.jdom.Document |
print(ElementLocator locator)
Prints given element to a new Document. |
static void |
print(ElementLocator locator,
org.jdom.Document document)
Prints given element to specified document. |
| Methods inherited from class com.googlecode.jinahya.xml.ElementLocator |
|---|
addChild, addChild, getAttribute, getAttribute, getChildCount, getChildCount, getLocalName, getNamespaceURI, getText, locateChild, locateChild, locateParent, locateRoot, removeCurrent, setAttribute, setAttribute, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JDOMElementLocator(ELElement root)
root - root element| Method Detail |
|---|
public static ElementLocator parse(org.jdom.Document document)
document and creates a new instance.
document - document to parse
public static org.jdom.Document print(ElementLocator locator)
element to a new Document.
locator - element to print
public static void print(ElementLocator locator,
org.jdom.Document document)
element to specified document.
locator - element to printdocument - document to which the element is printed
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||