com.googlecode.jinahya.el
Class JDOMElementLocator

java.lang.Object
  extended by com.googlecode.jinahya.el.ElementLocator<org.jdom.Document>
      extended by com.googlecode.jinahya.el.JDOMElementLocator

public class JDOMElementLocator
extends ElementLocator<org.jdom.Document>

Author:
Jin Kwon

Constructor Summary
protected JDOMElementLocator(ELElement root)
           
 
Method Summary
static ElementLocator<org.jdom.Document> newInstance(org.jdom.Document document)
           
static ElementLocator<org.jdom.Document> newInstance(org.jdom.Element element)
           
protected  void print(ELElement root, org.jdom.Document document, Map<String,String> namespaces)
          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

JDOMElementLocator

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

newInstance

public static ElementLocator<org.jdom.Document> newInstance(org.jdom.Document document)

newInstance

public static ElementLocator<org.jdom.Document> newInstance(org.jdom.Element element)

print

protected void print(ELElement root,
                     org.jdom.Document document,
                     Map<String,String> namespaces)
Description copied from class: ElementLocator
Prints given root to specified document.

Specified by:
print in class ElementLocator<org.jdom.Document>
Parameters:
root - root element
document - target document
namespaces - provided namespace URI/prefix map


Copyright © 2010-2011. All Rights Reserved.