IBM WebSphere Extended Deployment (XD)TM
Release 6.0

com.ibm.wsspi.classify
RuleLanguage

All Implemented Interfaces
     ClassificationDictionary


This object uses the @see com.ibm.wsspi.classify.ClassificationDictionary to read valid expressions for each protocol scope. The language is that of SQL SELECT, in particular, the SQL SELECT where clause. For example,
 ip IN ('100.100.100.1','100.100.200.1','100.100.300.1') AND protocol='HTTP'
 
The class invokes a language parser to process expressions and build appropriate lanaguage objects. The parser understands the language; therefore, it validates input statements and throws exceptions when incorrect expressions are encountered.

The RuleLanguage manager understands the generic language and the dialects for the various protocol scopes. When given a protocol scope like web, ejb, for instance, and asked for its language, it will return the dialect for it.


Inherited Fields

Fields inherited from com.ibm.wsspi.classify.ClassificationDictionary
AND, BETWEEN, CLIENT_HOST, CLIENT_IPV4, CLIENT_IPV6, COOKIE_NAME_SPACE, DURATION, EJB_METHOD, EJB_SCOPE, END_DATE, EQUAL, ESCAPE_CHAR, GID, GREATER_THAN, GREATER_THAN_OR_EQUAL, HEADER_NAME_SPACE, HTTP_DELETE, HTTP_GET, HTTP_METHOD, HTTP_POST, HTTP_PROTOCOL, HTTP_PUT, HTTPS_PROTOCOL, IIOP_PROTOCOL, IN, IS_NOT_NULL, IS_NULL, JMS_NAME_SPACE, JMS_PROTOCOL, JMS_TYPE, LESS_THAN, LESS_THAN_OR_EQUAL, LIKE, MIME_TYPE, NAME, NOT, NOT_EQUAL, OR, PORT, PROTOCOL, QUERYPARM_NAME_SPACE, SEPARATOR, SERVER_HOST, SERVER_IPV4, SERVER_IPV6, SOAP_ACTION, SOAP_NAME_SPACE, SOAP_PROTOCOL, START_DATE, TERMINATOR, UID, URI, VALUE, WEB_SCOPE, WEB_SERVICES_SCOPE, WSDL_INPUT, WSDL_OPERATION, WSDL_PORT_TYPE_NAME

Method Summary
public  RuleParsergetParser()
           Gets a parser object that understand the rule language.
public  DialectOperandsgetOperands()
           Gets the DialectOperands object for the protocol scope in the current context.
public  StringgetCompoundOperators()
           Gets a string array of the compound operators; for example, AND, OR, or NOT.

Method Detail

getParser

public RuleParser getParser()
Gets a parser object that understand the rule language.


Returns:
     RuleParser object


Throws:
ClassificationException


getOperands

public DialectOperands getOperands()
Gets the DialectOperands object for the protocol scope in the current context.


Returns:
     DialectOperands object


Throws:
ClassificationException


getCompoundOperators

public String getCompoundOperators()
Gets a string array of the compound operators; for example, AND, OR, or NOT.


Returns:
     String[]


IBM WebSphere Extended Deployment (XD)TM
Release 6.0