|
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.RuleSheet
Implementation of the rulesheet tag.
Field Summary | |
java.lang.String |
ATTRIBUTE_editor
|
java.lang.String |
ATTRIBUTE_editorVersion
|
java.lang.String |
ATTRIBUTE_userPropertySet
|
Constructor Summary | |
RuleSheet()
Default constructor. |
Method Summary | |
Rule |
createRule(java.lang.String aName)
Create rule and add it as a child to this rule sheet. |
boolean |
doesClassifierRuleExist(java.lang.String aRuleName)
Deprecated. use doesRuleForTypeExist(aRuleName, RULE_TYPE_CLASSIFIER); |
boolean |
doesContentSelectorRuleExist(java.lang.String aRuleName)
Deprecated. use doesRuleForTypeExist(aRuleName, RULE_TYPE_CONTENT_SELECTOR); |
boolean |
doesRuleForTypeExist(java.lang.String aRuleName,
java.lang.String aType)
Does rule for type exist. |
Rule[] |
getClassifierRules()
Deprecated. use getRulesForType(RuleConstants.RULE_TYPE_CLASSIFIER) |
Rule[] |
getContentSelectorRules()
Deprecated. use getRulesForType(RuleConstants.RULE_TYPE_CONTENT_SELECTOR) |
java.lang.String |
getDescription()
Get description. |
java.lang.String |
getEditor()
Get editor. |
java.lang.String |
getEditorVersion()
Get editor version. |
java.lang.String |
getName()
Get name. |
Rule[] |
getRules()
Get rules. |
Rule[] |
getRulesForType(java.lang.String aType)
Get rules for type. |
java.lang.String |
getTransientTagName()
Get tag name. |
java.lang.String |
getUserPropertySet()
Get user property set. |
void |
removeRule(Rule aRule)
Remove rule. |
void |
removeRule(java.lang.String aName)
Remove rule. |
void |
setDescription(java.lang.String aDescription)
Set description. |
void |
setEditor(java.lang.String anEditor)
Set editor. |
void |
setEditorVersion(java.lang.String aVersion)
Set editor version. |
void |
setName(java.lang.String aName)
Set name. |
void |
setUserPropertySet(java.lang.String aPropertySet)
Set user property set. |
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 |
Field Detail |
public java.lang.String ATTRIBUTE_editor
public java.lang.String ATTRIBUTE_editorVersion
public java.lang.String ATTRIBUTE_userPropertySet
Constructor Detail |
public RuleSheet()
Method Detail |
public void setName(java.lang.String aName)
aName
- public java.lang.String getName()
String
public java.lang.String getDescription()
String
public void setDescription(java.lang.String aDescription)
aDescription
- public java.lang.String getEditor()
String
public void setEditor(java.lang.String anEditor)
anEditor
- public java.lang.String getEditorVersion()
String
public void setEditorVersion(java.lang.String aVersion)
aVersion
- public void setUserPropertySet(java.lang.String aPropertySet)
aPropertySet
- public java.lang.String getUserPropertySet()
String
public Rule[] getRules()
Rule[]
public Rule[] getRulesForType(java.lang.String aType)
aType
- a type specified in RuleConstants.RULE_TYPE_...Rule[]
public Rule[] getClassifierRules()
Rule[]
public Rule[] getContentSelectorRules()
Rule[]
public boolean doesRuleForTypeExist(java.lang.String aRuleName, java.lang.String aType)
aRuleName
- aType
- a type specified in RuleConstants.RULE_TYPE_...boolean
public boolean doesClassifierRuleExist(java.lang.String aRuleName)
aRuleName
- boolean
public boolean doesContentSelectorRuleExist(java.lang.String aRuleName)
aRuleName
- boolean
public Rule createRule(java.lang.String aName)
aName
- the name of the rule to create.Rule
public void removeRule(Rule aRule)
aRule
- public void removeRule(java.lang.String aName)
aName
- public java.lang.String getTransientTagName()
String
|
BEA Systems, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |