org.netbeans.modules.parsing.api/1 1.55.0 6

org.netbeans.modules.parsing.api
Class UserTask

java.lang.Object
  extended by org.netbeans.modules.parsing.api.Task
      extended by org.netbeans.modules.parsing.api.UserTask

public abstract class UserTask
extends Task

UserTask allows controll process of parsing of Source containing blocks of embedded languages, and do some computations based on all (or some) parser Parser.Results. It is usefull when you need to implement code completion based on results of more embedded languages, or if you want to implement refactoring of some blocks of code embedded in some other blocks of other code, etc...


Constructor Summary
UserTask()
           
 
Method Summary
abstract  void run(ResultIterator resultIterator)
          UserTask implementation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UserTask

public UserTask()
Method Detail

run

public abstract void run(ResultIterator resultIterator)
                  throws Exception
UserTask implementation.

Parameters:
resultIterator - A ResultIterator instance.
Throws:
Exception - rethrown by the infrastructure as a ParseException.

org.netbeans.modules.parsing.api/1 1.55.0 6

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