textbender.o.rhinohide.traversal
Class RhiTreeWalker

java.lang.Object
  extended by Rhinohide
      extended by RhiTreeWalker
All Implemented Interfaces:
TreeWalker

@ThreadSafe
public final class RhiTreeWalker
extends Rhinohide
implements TreeWalker

A tree walker implemented as an overlay of a JavaScript tree walker.


Field Summary
 
Fields inherited from class Rhinohide
window
 
Constructor Summary
protected RhiTreeWalker(RhiWindow window, netscape.javascript.JSObject jsObject)
           
 
Method Summary
 Node firstChild()
          Not yet coded.
 Node getCurrentNode()
          Not yet coded.
 boolean getExpandEntityReferences()
          Not yet coded.
 NodeFilter getFilter()
          Not yet coded.
 Node getRoot()
          Untested.
 int getWhatToShow()
          Not yet coded.
 Node lastChild()
          Not yet coded.
 Node nextNode()
           
 Node nextSibling()
          Not yet coded.
 Node parentNode()
          Not yet coded.
 Node previousNode()
           
 Node previousSibling()
          Not yet coded.
 void setCurrentNode(Node currentNode)
           
static RhiTreeWalker wrapTreeWalker(RhiWindow window, netscape.javascript.JSObject jsObject)
          Creates a RhiTreeWalker.
 
Methods inherited from class Rhinohide
call, callV, checkV, equals, eval, evalV, getMember, getMemberV, hashCode, jsObject, setMember, toJSObject, toString, window
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RhiTreeWalker

protected RhiTreeWalker(RhiWindow window,
                        netscape.javascript.JSObject jsObject)
Method Detail

wrapTreeWalker

public static RhiTreeWalker wrapTreeWalker(RhiWindow window,
                                           netscape.javascript.JSObject jsObject)
Creates a RhiTreeWalker.

Parameters:
window - global object
jsObject - bridge to underlying JavaScript tree walker, per jsObject()
Returns:
tree walker, or null if jsObject is null
See Also:
RhiDocument.createTreeWalker(Node,int,NodeFilter,boolean)

firstChild

public Node firstChild()
Not yet coded.

Specified by:
firstChild in interface TreeWalker
Throws:
UnsupportedOperationException

lastChild

public Node lastChild()
Not yet coded.

Specified by:
lastChild in interface TreeWalker
Throws:
UnsupportedOperationException

getCurrentNode

public Node getCurrentNode()
Not yet coded.

Specified by:
getCurrentNode in interface TreeWalker
Throws:
UnsupportedOperationException

setCurrentNode

public void setCurrentNode(Node currentNode)
Specified by:
setCurrentNode in interface TreeWalker

getExpandEntityReferences

public boolean getExpandEntityReferences()
Not yet coded.

Specified by:
getExpandEntityReferences in interface TreeWalker
Throws:
UnsupportedOperationException

getFilter

public NodeFilter getFilter()
Not yet coded.

Specified by:
getFilter in interface TreeWalker
Throws:
UnsupportedOperationException

getRoot

public Node getRoot()
Untested.

Specified by:
getRoot in interface TreeWalker

getWhatToShow

public int getWhatToShow()
Not yet coded.

Specified by:
getWhatToShow in interface TreeWalker
Throws:
UnsupportedOperationException

parentNode

public Node parentNode()
Not yet coded.

Specified by:
parentNode in interface TreeWalker
Throws:
UnsupportedOperationException

previousNode

public Node previousNode()
Specified by:
previousNode in interface TreeWalker

nextNode

public Node nextNode()
Specified by:
nextNode in interface TreeWalker

previousSibling

public Node previousSibling()
Not yet coded.

Specified by:
previousSibling in interface TreeWalker
Throws:
UnsupportedOperationException

nextSibling

public Node nextSibling()
Not yet coded.

Specified by:
nextSibling in interface TreeWalker
Throws:
UnsupportedOperationException