Uses of Class
com.googlecode.jinahya.xml.ElementLocator

Uses of ElementLocator in com.googlecode.jinahya.xml
 

Subclasses of ElementLocator in com.googlecode.jinahya.xml
 class DOM4JElementLocator
          A dom4j implementation.
 class DOMElementLocator
          A W3C DOM implementation.
 class JDOMElementLocator
          A JDOM implementation.
 class KDOMElementLocator
          A kXML2 implementation.
 class StAXElementLocator
          A XOM implementation.
 class XOMElementLocator
          A XOM implementation.
 

Methods in com.googlecode.jinahya.xml that return ElementLocator
 ElementLocator ElementLocator.addChild(String localName)
          Adds a child element and locate it.
 ElementLocator ElementLocator.addChild(String namespaceURI, String localName)
          Adds a child element and locate it.
 ElementLocator ElementLocator.locateChild(String localName, int index)
          Locates child element which has given localName in no namespace at index.
 ElementLocator ElementLocator.locateChild(String namespaceURI, String localName, int index)
          Locate a child element which has given localName in given namespaceURI at index.
 ElementLocator ElementLocator.locateParent()
          Locates to the parent element.
 ElementLocator ElementLocator.locateRoot()
          Locate to the root element.
static ElementLocator JDOMElementLocator.parse(org.jdom.Document document)
          Parses given document and creates a new instance.
static ElementLocator DOM4JElementLocator.parse(org.dom4j.Document document)
          Creates a new instance parsing given document.
static ElementLocator XOMElementLocator.parse(nu.xom.Document document)
          Parses given document and creates a new ElementLocator.
static ElementLocator KDOMElementLocator.parse(org.kxml2.kdom.Document document)
          Parses given document and creates a new ElementLocator instance.
static ElementLocator DOMElementLocator.parse(Document document)
          Parses given document and creates a new instance.
static ElementLocator StAXElementLocator.parse(XMLStreamReader reader)
          Parses from given reader and creates a new ElementLocator.
 ElementLocator ElementLocator.removeCurrent()
          Removes currently located element and locate parent.
 ElementLocator ElementLocator.setAttribute(String localName, String value)
           
 ElementLocator ElementLocator.setAttribute(String namespaceURI, String localName, String value)
          Sets or removes attribute's value.
 ElementLocator ElementLocator.setText(String text)
          Sets the text value of currently located element.
 

Methods in com.googlecode.jinahya.xml with parameters of type ElementLocator
static org.jdom.Document JDOMElementLocator.print(ElementLocator locator)
          Prints given element to a new Document.
static org.dom4j.Document DOM4JElementLocator.print(ElementLocator locator)
           
static org.kxml2.kdom.Document KDOMElementLocator.print(ElementLocator locator)
          Prints given element to a new Document.
static void JDOMElementLocator.print(ElementLocator locator, org.jdom.Document document)
          Prints given element to specified document.
static void DOM4JElementLocator.print(ElementLocator locator, org.dom4j.Document document)
           
static void KDOMElementLocator.print(ElementLocator locator, org.kxml2.kdom.Document document)
          Prints given locator to specified document.
static void DOMElementLocator.print(ElementLocator locator, Document document)
          Prints given locator to specified document.
static void StAXElementLocator.print(ElementLocator locator, XMLStreamWriter writer)
          Prints given locator to specified writer.
static void StAXElementLocator.print(ElementLocator locator, XMLStreamWriter writer, String encoding, String version)
          Prints given locator to specified writer.
 



Copyright © 2010-2011. All Rights Reserved.