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