org.netbeans.modules.xml.xdm/1 1.19.0 1

org.netbeans.modules.xml.xdm.visitor
Class NodeByPositionVisitor

java.lang.Object
  extended by org.netbeans.modules.xml.xdm.visitor.NodeByPositionVisitor
All Implemented Interfaces:
XMLNodeVisitor

public class NodeByPositionVisitor
extends Object
implements XMLNodeVisitor


Constructor Summary
NodeByPositionVisitor(Node rootNode)
           
 
Method Summary
 Element getContainingElement(int position)
           
 Node getContainingNode(int position)
           
 void reset()
           
 void visit(Attribute attr)
           
 void visit(Document doc)
           
 void visit(Element e)
           
 void visit(Text txt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeByPositionVisitor

public NodeByPositionVisitor(Node rootNode)
Method Detail

getContainingElement

public Element getContainingElement(int position)

getContainingNode

public Node getContainingNode(int position)

reset

public void reset()

visit

public void visit(Document doc)
Specified by:
visit in interface XMLNodeVisitor

visit

public void visit(Element e)
Specified by:
visit in interface XMLNodeVisitor

visit

public void visit(Text txt)
Specified by:
visit in interface XMLNodeVisitor

visit

public void visit(Attribute attr)
Specified by:
visit in interface XMLNodeVisitor

org.netbeans.modules.xml.xdm/1 1.19.0 1

Built on May 25 2012.  |  Portions Copyright 1997-2012 Oracle. All rights reserved.