|
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
All objects within the model should extend this class so that we can use the reflection methods to write between the DOM and the light weight objects.
| Fields inherited from interface com.beasys.commerce.axiom.reasoning.rules.RuleTagConstants |
ATTRIBUTE_NAME_BINDING_CLASS,
ATTRIBUTE_NAME_TAG_NAME,
CLASS_NAME_XML_DEFAULT,
FIELD_PREFIX,
TAG_ARGUMENTS,
TAG_ASSERT,
TAG_BINARY_OP,
TAG_CAST,
TAG_COMMENT,
TAG_CONSTANT,
TAG_DESCRIPTION,
TAG_DISPLAY_ITEM,
TAG_METHOD,
TAG_NAME_BINDING,
TAG_NAME_WILDCARD,
TAG_NARY_OP,
TAG_NEW,
TAG_RULE,
TAG_RULESHEET,
TAG_SIMPLE_CONDITION,
TAG_THEN,
TAG_UNARY_OP,
TAG_VARIABLE,
TAG_WHEN |
| Fields inherited from interface com.beasys.commerce.axiom.reasoning.rules.RuleConstants |
BIND_CONTENT,
BIND_REQUEST,
BIND_SESSION,
BIND_SUCCESSOR,
BIND_TIMESTAMP,
BIND_UNKNOWN,
BIND_USER,
CLASS_CLASSIFIER,
CLASS_CONFIGURABLE_ENTITY,
CLASS_CONTENT,
CLASS_CONTENT_SELECTOR,
CLASS_REQUEST,
CLASS_SESSION,
CLASS_SUCCESSOR,
CLASS_TIMESTAMP,
CLASS_USER,
GET_PROPERTY,
PHRASE_AND_WHEN,
PHRASE_CLASSIFICATION,
PHRASE_IF_ATTR,
PHRASE_IF_USER,
PHRASE_THEN_CHOOSE,
RULE_TYPE_CLASSIFIER,
RULE_TYPE_CONTENT_SELECTOR,
RULES_DTD,
SCHEMA_CLASSES,
SCHEMA_GROUPS,
SDF,
TEMPLATE_ATTR_COMP_CONSTANT,
THEN_PHRASE_CONST,
THEN_PHRASE_DATE,
THEN_PHRASE_PROPERTY |
| Constructor Summary | |
BasicNode()
Default constructor. |
|
| Method Summary | |
void |
addChild(BasicNode aNode)
Add child. |
java.util.LinkedList |
getChildren()
Get children. |
java.lang.Object[] |
getList(java.lang.Class aClass,
java.lang.Object[] anArray)
Get all of the objects of the given class out of the child list. |
abstract java.lang.String |
getTransientTagName()
Get tag name. |
void |
load()
Load data from the DOM into a (basically) light weight object. |
void |
loadDOM(BasicNode aBasicNode)
From the (basically) lightweight object write back to the DOM. |
void |
removeChild(BasicNode aNode)
Remove child. |
| 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 BasicNode()
| Method Detail |
public java.lang.Object[] getList(java.lang.Class aClass,
java.lang.Object[] anArray)
aClass - the class to look for.anArray - the array (empty) for the items to be passed back.Object[] castable array of objects that were
requested from the child list.public void load()
public void loadDOM(BasicNode aBasicNode)
aBasicNode - the lightweight object to read from.public void addChild(BasicNode aNode)
aNode - public void removeChild(BasicNode aNode)
aNode - public java.util.LinkedList getChildren()
LinkedListpublic abstract java.lang.String getTransientTagName()
String the tag name, e.g. rule.
|
BEA Systems, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||