org.netbeans.modules.xml.xdm.visitor
Class NodeByPositionVisitor
java.lang.Object
org.netbeans.modules.xml.xdm.visitor.NodeByPositionVisitor
- All Implemented Interfaces:
- XMLNodeVisitor
public class NodeByPositionVisitor
- extends Object
- implements XMLNodeVisitor
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeByPositionVisitor
public NodeByPositionVisitor(Node rootNode)
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