com.googlecode.jinahya.xml
Class DOM4JElementLocator
java.lang.Object
com.googlecode.jinahya.xml.ElementLocator
com.googlecode.jinahya.xml.DOM4JElementLocator
public class DOM4JElementLocator
- extends ElementLocator
A dom4j implementation.
- Author:
- Jin Kwon
- See Also:
- dom4j
| 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 |
DOM4JElementLocator
public DOM4JElementLocator(ELElement root)
- Creates a new instance.
- Parameters:
root - root element
parse
public static ElementLocator parse(org.dom4j.Document document)
- Creates a new instance parsing given
document.
- Parameters:
document - document to parse
- Returns:
- new instance.
print
public static org.dom4j.Document print(ElementLocator locator)
print
public static void print(ElementLocator locator,
org.dom4j.Document document)
Copyright © 2010-2011. All Rights Reserved.