com.googlecode.jinahya.xml
Class DOM4JElementLocator

java.lang.Object
  extended by com.googlecode.jinahya.xml.ElementLocator
      extended by com.googlecode.jinahya.xml.DOM4JElementLocator

public class DOM4JElementLocator
extends ElementLocator

A dom4j implementation.

Author:
Jin Kwon
See Also:
dom4j

Constructor Summary
DOM4JElementLocator(ELElement root)
          Creates a new instance.
 
Method Summary
static ElementLocator parse(org.dom4j.Document document)
          Creates a new instance parsing given document.
static org.dom4j.Document print(ElementLocator locator)
           
static void print(ElementLocator locator, org.dom4j.Document document)
           
 
Methods inherited from class com.googlecode.jinahya.xml.ElementLocator
addChild, addChild, getAttribute, getAttribute, getChildCount, getChildCount, getLocalName, getNamespaceURI, getText, locateChild, locateChild, locateParent, locateRoot, removeCurrent, setAttribute, setAttribute, setText
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DOM4JElementLocator

public DOM4JElementLocator(ELElement root)
Creates a new instance.

Parameters:
root - root element
Method Detail

parse

public static ElementLocator parse(org.dom4j.Document document)
Creates a new instance parsing given document.

Parameters:
document - document to parse
Returns:
new instance.

print

public static org.dom4j.Document print(ElementLocator locator)

print

public static void print(ElementLocator locator,
                         org.dom4j.Document document)


Copyright © 2010-2011. All Rights Reserved.