|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.sun.xml.tree.NodeBase | +--com.sun.xml.tree.ParentNode | +--com.sun.xml.tree.ElementNode | +--com.beasys.commerce.axiom.reasoning.rules.BasicNode | +--com.beasys.commerce.axiom.reasoning.rules.When
Implementation of the when tag.
Constructor Summary | |
When()
Default constructor. |
Method Summary | |
void |
addSimpleCondition(SimpleCondition aSimpleCondition)
Add simple condition. |
void |
attachClassifierBinds()
Attach classifier binds so that the rule engine has access to the classes. |
void |
attachContentSelectorBinds()
Attach classifier binds so that the rule engine has access to the classes. |
SimpleCondition |
createSimpleCondition(java.lang.String aClassName,
java.lang.String aPhrase,
java.lang.String aTemplate)
Create rule and add it as a child to this rule sheet. |
SimpleCondition[] |
getSimpleConditions()
Get simple conditions. |
SimpleCondition[] |
getSimpleConditions(java.lang.String aPhraseType)
Get simple conditions with a certain phrase type. |
java.lang.String |
getTransientTagName()
Get tag name. |
void |
removeSimpleCondition(SimpleCondition aSimpleCondition)
Remove simple condition. |
void |
setSimpleConditions(java.util.LinkedList someSimpleConditions)
Set simple conditions. |
void |
setSimpleConditions(SimpleCondition[] someSimpleConditions)
Set simple conditions. |
Methods inherited from class com.beasys.commerce.axiom.reasoning.rules.BasicNode |
addChild,
getChildren,
getList,
load,
loadDOM,
removeChild |
Methods inherited from class com.sun.xml.tree.ElementNode |
cloneNode,
getAttribute,
getAttribute,
getAttributeNode,
getAttributeNode,
getAttributes,
getIdAttributeName,
getLocalName,
getNamespace,
getNodeName,
getNodeType,
getPrefix,
getTagName,
getUserObject,
normalize,
removeAttribute,
removeAttributeNode,
removeWhiteSpaces,
setAttribute,
setAttributeNode,
setIdAttributeName,
setPrefix,
setReadonly,
setUserObject,
toString,
trimToSize,
write,
writeXml |
Methods inherited from class com.sun.xml.tree.ParentNode |
appendChild,
doneChild,
doneParse,
getElementsByTagName,
getFirstChild,
getIndexOf,
getLastChild,
getLength,
hasChildNodes,
insertBefore,
item,
removeChild,
replaceChild,
startParse,
writeChildrenXml |
Methods inherited from class com.sun.xml.tree.NodeBase |
getChildNodes,
getInheritedAttribute,
getInheritedAttribute,
getLanguage,
getNextSibling,
getNodeValue,
getOwnerDocument,
getParentNode,
getPreviousSibling,
isReadonly,
setNodeValue |
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public When()
Method Detail |
public java.lang.String getTransientTagName()
String
public SimpleCondition createSimpleCondition(java.lang.String aClassName, java.lang.String aPhrase, java.lang.String aTemplate)
aName
- the name of the rule to create.Rule
public void setSimpleConditions(java.util.LinkedList someSimpleConditions)
someSimpleConditions
- public void setSimpleConditions(SimpleCondition[] someSimpleConditions)
someSimpleConditions
- public void addSimpleCondition(SimpleCondition aSimpleCondition)
aSimpleCondition
- public void removeSimpleCondition(SimpleCondition aSimpleCondition)
aSimpleCondition
- public SimpleCondition[] getSimpleConditions()
SimpleCondition[]
public SimpleCondition[] getSimpleConditions(java.lang.String aPhraseType)
aPhraseType
- the phrase type, use PHRASE_ contants from RuleConstants.SimpleCondition[]
public void attachContentSelectorBinds()
public void attachClassifierBinds()
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |