public abstract class Content extends Term
Modifier and Type | Class and Description |
---|---|
static interface |
Content.Operations |
Modifier and Type | Field and Description |
---|---|
(package private) static int |
_as_expressions |
static int |
as_expressions_ID |
static Integer |
ID |
_sm_simplified_term, sm_simplified_term_ID
_nodes, _observers, _operations, _thisoperations
Constructor and Description |
---|
Content(int capacity,
ListOfContentExpression as_expressions) |
Modifier and Type | Method and Description |
---|---|
void |
addContentElement(Node element) |
ListOfContentExpression |
as_expressions() |
void |
as_expressions(ListOfContentExpression s) |
int |
contentElementNumber() |
void |
copyValueOf(Node n,
HashMap clones) |
Object |
getAttribute(int attrname) |
int |
getClassID()
This method return the dynamic class ID of the node.
|
Node |
getContentElement(int i) |
Node.Operations |
getOperations()
This method returns the object implementing the operations associated to this node.
|
boolean |
hasAttribute(int attrname) |
MatchResult |
match(Node expression) |
void |
setAttribute(int attrname,
Object attrvalue) |
void |
setContentElement(int i,
Node element) |
void |
setContentElements(int number) |
String |
toSLString() |
getSimplifiedTerm, instantiate, simplify, sm_simplified_term, sm_simplified_term
accept, addObserver, addOperations, children, childrenAccept, childrenOfKind, childrenOfKind, childrenOfKind, compare, compareTo, copyValueOf, dofind, dump, equals, find, find, find, find, getAttribute, getClone, getClone, hasAttribute, initNode, installOperations, notifyChanges, removeObserver, replace, setAttribute, toString
public static Integer ID
static int _as_expressions
public static int as_expressions_ID
public Content(int capacity, ListOfContentExpression as_expressions)
public String toSLString()
public Node getContentElement(int i)
public void setContentElement(int i, Node element)
public void addContentElement(Node element)
public void setContentElements(int number)
public int contentElementNumber()
public MatchResult match(Node expression)
public int getClassID()
Node
getClassID
in class Term
public void copyValueOf(Node n, HashMap clones)
copyValueOf
in class Term
public Node.Operations getOperations()
Node
getOperations
in class Term
public ListOfContentExpression as_expressions()
public void as_expressions(ListOfContentExpression s)
public boolean hasAttribute(int attrname)
hasAttribute
in class Term
public Object getAttribute(int attrname)
getAttribute
in class Term
public void setAttribute(int attrname, Object attrvalue)
setAttribute
in class Term