|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.beasys.commerce.axiom.reasoning.rules.jrules.JRulesRulesetBuilder
Implements a JRules ruleset builder
Field Summary | |
static int |
ARGUMENTS_ELEMENT_STACK_CAPACITY
The capacities of various element stacks |
static int |
ASSERT_ELEMENT_STACK_CAPACITY
|
static int |
BINARY_OP_ELEMENT_STACK_CAPACITY
|
static int |
CAST_ELEMENT_STACK_CAPACITY
|
static int |
CONSTANT_ELEMENT_STACK_CAPACITY
|
static int |
METHOD_ELEMENT_STACK_CAPACITY
|
static int |
NARY_OP_ELEMENT_STACK_CAPACITY
|
static int |
NEW_ELEMENT_STACK_CAPACITY
|
static int |
NUMBER_OF_ELEMENT_STACKS
The number of element stacks |
static int |
PARSE_STACK_CAPACITY
The capacity of the parse stack |
static int |
RULE_ELEMENT_STACK_CAPACITY
|
static int |
SIMPLE_CONDITION_ELEMENT_STACK_CAPACITY
|
static int |
THEN_ELEMENT_STACK_CAPACITY
|
static int |
UNARY_OP_ELEMENT_STACK_CAPACITY
|
static int |
VARIABLE_ELEMENT_STACK_CAPACITY
|
static int |
WHEN_ELEMENT_STACK_CAPACITY
|
Constructor Summary | |
JRulesRulesetBuilder(JRulesServiceProvider serviceProvider)
Constructor |
Method Summary | |
void |
characters(char[] ch,
int start,
int length)
Receive notification of character data. |
void |
endDocument()
Receive notification of the end of a document. |
void |
endElement(java.lang.String name)
Receive notification of the end of an element. |
void |
ignorableWhitespace(char[] ch,
int start,
int length)
Receive notification of ignorable whitespace in element content. |
void |
processingInstruction(java.lang.String target,
java.lang.String data)
Receive notification of a processing instruction. |
void |
release()
Releases all resources held by the ruleset builder |
void |
setDocumentLocator(org.xml.sax.Locator locator)
Receive an object for locating the origin of SAX document events. |
void |
setRulesetURI(java.lang.String rulesetURI)
Sets the ruleset uri |
void |
startDocument()
Receive notification of the beginning of a document. |
void |
startElement(java.lang.String name,
org.xml.sax.AttributeList attributeList)
Receive notification of the beginning of an element. |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
public static final int ARGUMENTS_ELEMENT_STACK_CAPACITY
public static final int ASSERT_ELEMENT_STACK_CAPACITY
public static final int BINARY_OP_ELEMENT_STACK_CAPACITY
public static final int CAST_ELEMENT_STACK_CAPACITY
public static final int CONSTANT_ELEMENT_STACK_CAPACITY
public static final int METHOD_ELEMENT_STACK_CAPACITY
public static final int NARY_OP_ELEMENT_STACK_CAPACITY
public static final int NEW_ELEMENT_STACK_CAPACITY
public static final int RULE_ELEMENT_STACK_CAPACITY
public static final int SIMPLE_CONDITION_ELEMENT_STACK_CAPACITY
public static final int THEN_ELEMENT_STACK_CAPACITY
public static final int UNARY_OP_ELEMENT_STACK_CAPACITY
public static final int VARIABLE_ELEMENT_STACK_CAPACITY
public static final int WHEN_ELEMENT_STACK_CAPACITY
public static final int NUMBER_OF_ELEMENT_STACKS
public static final int PARSE_STACK_CAPACITY
Constructor Detail |
public JRulesRulesetBuilder(JRulesServiceProvider serviceProvider) throws java.lang.IllegalArgumentException
serviceProvider
- The service provider for the ruleset builderMethod Detail |
public void characters(char[] ch, int start, int length) throws org.xml.sax.SAXException
ch
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.public void endDocument() throws org.xml.sax.SAXException
public void endElement(java.lang.String name) throws org.xml.sax.SAXException
name
- The element type namepublic void ignorableWhitespace(char[] ch, int start, int length) throws org.xml.sax.SAXException
ch
- The characters from the XML document.start
- The start position in the array.length
- The number of characters to read from the array.public void processingInstruction(java.lang.String target, java.lang.String data) throws org.xml.sax.SAXException
target
- The processing instruction target.data
- The processing instruction data, or null if
none was supplied.public void release()
public void setDocumentLocator(org.xml.sax.Locator locator) throws java.lang.IllegalArgumentException
locator
- An object that can return the location of
any SAX document event.public void setRulesetURI(java.lang.String rulesetURI) throws java.lang.IllegalArgumentException, ServiceProviderException
rulesetURI
- The ruleset uripublic void startDocument() throws org.xml.sax.SAXException
public void startElement(java.lang.String name, org.xml.sax.AttributeList attributeList) throws org.xml.sax.SAXException
name
- The element type name.atts
- The attributes attached to the element, if any.
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |