org.netbeans.modules.bpel.model.impl.services
Class FindVaribleVisitor

java.lang.Object
  extended by org.netbeans.modules.xml.xpath.ext.visitor.XPathVisitorAdapter
      extended by org.netbeans.modules.xml.xpath.ext.visitor.XPathModelTracerVisitor
          extended by org.netbeans.modules.bpel.model.impl.services.FindVaribleVisitor
All Implemented Interfaces:
org.netbeans.modules.xml.xpath.ext.visitor.XPathVisitor

 class FindVaribleVisitor
extends org.netbeans.modules.xml.xpath.ext.visitor.XPathModelTracerVisitor

It determine presence for either just variable or variable and part in expression.

Author:
ads

Constructor Summary
FindVaribleVisitor()
          Visitor for finding all alvailible variables.
FindVaribleVisitor(java.lang.String name)
          Visitor for finding just variable with specified name.
FindVaribleVisitor(java.lang.String varName, java.lang.String partName)
          Visitor for finding variable and part .
 
Method Summary
 java.util.Collection<java.lang.String> getVariables()
           
(package private)  boolean isFound()
           
 void visit(org.netbeans.modules.xml.xpath.ext.XPathVariableReference variableRef)
           
 
Methods inherited from class org.netbeans.modules.xml.xpath.ext.visitor.XPathModelTracerVisitor
visit, visit, visit, visit, visit, visit
 
Methods inherited from class org.netbeans.modules.xml.xpath.ext.visitor.XPathVisitorAdapter
visit, visit, visit, visitChildren
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FindVaribleVisitor

FindVaribleVisitor()
Visitor for finding all alvailible variables.


FindVaribleVisitor

FindVaribleVisitor(java.lang.String name)
Visitor for finding just variable with specified name.


FindVaribleVisitor

FindVaribleVisitor(java.lang.String varName,
                   java.lang.String partName)
Visitor for finding variable and part .

Method Detail

visit

public void visit(org.netbeans.modules.xml.xpath.ext.XPathVariableReference variableRef)
Specified by:
visit in interface org.netbeans.modules.xml.xpath.ext.visitor.XPathVisitor
Overrides:
visit in class org.netbeans.modules.xml.xpath.ext.visitor.XPathVisitorAdapter

getVariables

public java.util.Collection<java.lang.String> getVariables()

isFound

boolean isFound()