|
|||||||||
| 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.XOMElementLocator
public class XOMElementLocator
A XOM implementation.
| Constructor Summary | |
|---|---|
XOMElementLocator(ELElement root)
Creates new instance. |
|
| Method Summary | |
|---|---|
static ElementLocator |
parse(nu.xom.Document document)
Parses given document and creates a new ElementLocator. |
static nu.xom.Document |
print(ELElement element)
Prints given element to a new Document. |
static void |
print(ELElement child,
nu.xom.Document document)
Prints given child 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 XOMElementLocator(ELElement root)
root - the root element| Method Detail |
|---|
public static ElementLocator parse(nu.xom.Document document)
document and creates a new ElementLocator.
document - the document to be parsed
public static nu.xom.Document print(ELElement element)
element to a new Document.
element - the element to be printed
element has been printed.
public static void print(ELElement child,
nu.xom.Document document)
child to specified document.
child - the root element to be printeddocument - the document to which child is printed.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||