com.googlecode.jinahya.el
Class KDOMElementLocator

java.lang.Object
  extended by com.googlecode.jinahya.el.ElementLocator<org.kxml2.kdom.Document>
      extended by com.googlecode.jinahya.el.KDOMElementLocator

public class KDOMElementLocator
extends ElementLocator<org.kxml2.kdom.Document>

Author:
Jin Kwon

Constructor Summary
protected KDOMElementLocator(ELElement root)
           
 
Method Summary
static ElementLocator<org.kxml2.kdom.Document> newInstance(org.kxml2.kdom.Document document)
           
static ElementLocator<org.kxml2.kdom.Document> newInstance(org.kxml2.kdom.Element element)
           
protected  void print(ELElement root, org.kxml2.kdom.Document document, Map<String,String> namespaceMap)
          Prints given root to specified document.
 
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
 

Constructor Detail

KDOMElementLocator

protected KDOMElementLocator(ELElement root)
Parameters:
root -
Method Detail

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 element
document - target document
namespaceMap - provided namespace URI/prefix map


Copyright © 2010-2011. All Rights Reserved.