com.googlecode.jinahya.el
Class KDOMElementLocator
java.lang.Object
com.googlecode.jinahya.el.ElementLocator<org.kxml2.kdom.Document>
com.googlecode.jinahya.el.KDOMElementLocator
public class KDOMElementLocator
- extends ElementLocator<org.kxml2.kdom.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 |
KDOMElementLocator
protected KDOMElementLocator(ELElement root)
- Parameters:
root -
newInstance
public static ElementLocator<org.kxml2.kdom.Document> newInstance(org.kxml2.kdom.Document document)
- Parameters:
document -
- Returns:
newInstance
public static ElementLocator<org.kxml2.kdom.Document> newInstance(org.kxml2.kdom.Element element)
- Parameters:
element -
- Returns:
print
protected void print(ELElement root,
org.kxml2.kdom.Document document,
Map<String,String> namespaceMap)
- Description copied from class:
ElementLocator
- Prints given
root to specified document.
- Specified by:
print in class ElementLocator<org.kxml2.kdom.Document>
- Parameters:
root - root elementdocument - target documentnamespaceMap - provided namespace URI/prefix map
Copyright © 2010-2011. All Rights Reserved.