public class ContentNodeOperations extends TermNodeOperations implements Content.Operations
Constructor and Description |
---|
ContentNodeOperations() |
Modifier and Type | Method and Description |
---|---|
void |
addContentElement(Content node,
Node element) |
int |
contentElementNumber(Content node) |
Node |
getContentElement(Content node,
int i) |
Term |
instantiate(Term node,
String varname,
Node expression) |
MatchResult |
match(Content node,
Node expression) |
void |
setContentElement(Content node,
int i,
Node element) |
void |
setContentElements(Content node,
int number) |
void |
simplify(Term node) |
String |
toSLString(Content node) |
getSimplifiedTerm, initNode, match
compare, doSimplifyNode, equals, nodesToSimplify, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSimplifiedTerm, match
compare, equals, initNode, toString
public void simplify(Term node)
simplify
in interface Term.Operations
simplify
in class TermNodeOperations
public String toSLString(Content node)
toSLString
in interface Content.Operations
public Node getContentElement(Content node, int i)
getContentElement
in interface Content.Operations
public void setContentElement(Content node, int i, Node element)
setContentElement
in interface Content.Operations
public void addContentElement(Content node, Node element)
addContentElement
in interface Content.Operations
public void setContentElements(Content node, int number)
setContentElements
in interface Content.Operations
public int contentElementNumber(Content node)
contentElementNumber
in interface Content.Operations
public MatchResult match(Content node, Node expression)
match
in interface Content.Operations
public Term instantiate(Term node, String varname, Node expression)
instantiate
in interface Term.Operations
instantiate
in class TermNodeOperations