com.googlecode.jinahya.elementlocator
Class XOMElementLocator

java.lang.Object
  extended by com.googlecode.jinahya.elementlocator.ElementLocator<nu.xom.Document>
      extended by com.googlecode.jinahya.elementlocator.XOMElementLocator

public class XOMElementLocator
extends ElementLocator<nu.xom.Document>

Author:
Jin Kwon

Method Summary
static ElementLocator<nu.xom.Document> newInstance(String namespaceURI, String localName)
           
static ElementLocator<nu.xom.Document> parseInstance(nu.xom.Document document)
           
 nu.xom.Document toDocument()
           
 nu.xom.Document toDocument(nu.xom.Document document)
          Prints contents to given document.
 
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
 

Method Detail

newInstance

public static ElementLocator<nu.xom.Document> newInstance(String namespaceURI,
                                                          String localName)
Parameters:
namespaceURI -
localName -
Returns:

parseInstance

public static ElementLocator<nu.xom.Document> parseInstance(nu.xom.Document document)
Parameters:
document -
Returns:

toDocument

public final nu.xom.Document toDocument()
Returns:

toDocument

public nu.xom.Document toDocument(nu.xom.Document document)
Description copied from class: ElementLocator
Prints contents to given document.

Specified by:
toDocument in class ElementLocator<nu.xom.Document>
Parameters:
document - an empty document
Returns:
given document


Copyright © 2010-2011. All Rights Reserved.