com.googlecode.jinahya.elementlocator
Class KDOMElementLocator
java.lang.Object
com.googlecode.jinahya.elementlocator.ElementLocator<org.kxml2.kdom.Document>
com.googlecode.jinahya.elementlocator.KDOMElementLocator
public class KDOMElementLocator
- extends ElementLocator<org.kxml2.kdom.Document>
- Author:
- Jin Kwon
| Methods inherited from class com.googlecode.jinahya.elementlocator.ElementLocator |
addChild, addChild, attribute, attribute, child, child, child, child, getAttribute, getAttribute, getChildCount, getChildCount, getText, locateChild, locateChild, locateParent, locateRoot, parent, remove, removeAttribute, removeAttribute, removeCurrent, root, setAttribute, setAttribute, setText, text, text, toJSON |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
newInstance
public static ElementLocator<org.kxml2.kdom.Document> newInstance(String namespaceURI,
String localName)
parseInstance
public static ElementLocator<org.kxml2.kdom.Document> parseInstance(org.kxml2.kdom.Document document)
- Parameters:
document -
- Returns:
toDocument
public final org.kxml2.kdom.Document toDocument()
- Returns:
toDocument
public org.kxml2.kdom.Document toDocument(org.kxml2.kdom.Document document)
- Description copied from class:
ElementLocator
- Prints contents to given
document.
- Specified by:
toDocument in class ElementLocator<org.kxml2.kdom.Document>
- Parameters:
document - an empty document
- Returns:
- given
document
Copyright © 2010-2011. All Rights Reserved.