com.googlecode.jinahya.el
Class DOMElementLocator
java.lang.Object
com.googlecode.jinahya.el.ElementLocator<Document>
com.googlecode.jinahya.el.DOMElementLocator
public class DOMElementLocator
- extends ElementLocator<Document>
- Author:
- Jin Kwon
| Methods inherited from class com.googlecode.jinahya.el.ElementLocator |
addChild, addChild, getAttribute, getAttribute, getChildCount, getChildCount, getCurrent, getText, getText, locateChild, locateChild, locateParent, locateRoot, print, removeCurrent, setAttribute, setAttribute, setText, setText, toJSON |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOMElementLocator
protected DOMElementLocator(ELElement root)
- Creates a new instance.
- Parameters:
root - root element
newInstance
public static ElementLocator<Document> newInstance(Document document)
- Creates a new instance.
- Parameters:
document - document
- Returns:
- new instance of DOMElementLocator.
newInstance
public static ElementLocator<Document> newInstance(Element element)
- Creates a new instance.
- Parameters:
element - element
- Returns:
- new instance of DOMelementLocator
print
protected void print(ELElement root,
Document document,
Map<String,String> namespaces)
- Description copied from class:
ElementLocator
- Prints given
root to specified document.
- Specified by:
print in class ElementLocator<Document>
- Parameters:
root - root elementdocument - target documentnamespaces - provided namespace URI/prefix map
Copyright © 2010-2011. All Rights Reserved.