FeaturesPluginsDocs & SupportCommunityPartners

org.netbeans.modules.jackpot/2 2 1

Package org.netbeans.spi.jackpot

This package defines the SPI used by modules which add support for languages, such as the Jackpot Rules language and JavaScript.

See:
          Description

Interface Summary
QueryProvider The interface Jackpot uses to request Query instances from script engines.
 

Exception Summary
EmptyScriptException Thrown when a script has no rules declared in it.
RecursiveRuleException Thrown when a rule recursively matches itself.
ScriptParsingException Reports errors parsing rules files.
 

Package org.netbeans.spi.jackpot Description

This package defines the SPI used by modules which add support for languages, such as the Jackpot Rules language and JavaScript. To add the ability to define Jackpot queries and transformers in these languages, their modules define a QueryProvider implementation which returns a Query instance for the script. This package also defines the exceptions which may be thrown during execution of the returned Query.

Note: this SPI does not allow Jackpot to be extended to support other languages. It is designed to work specifically with Java language sources through its use of the javac compiler API. Jackpot queries and transformers are only executed on Java source files, regardless of what language the query or transformer is itself written in.


org.netbeans.modules.jackpot/2 2 1

Built on April 6 2007.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
Companion
Projects:
MySQL Database Server   Open JDK: an Open SourceJDK   GlassFish Community: an Open Source Application Server    Mobile & Embedded Community    Open Solaris   java.net - The Source for Java Technology Collaboration   Open ESB - The Open Enterprise Service Bus Powered by