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