|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.capml.quasi.QuasiContent | +--org.capml.quasi.QuasiText
Untamed: Represents contiguous literal text with a quasi-literal XML tree.
As a ValueMaker, it simply evaluates to the corresponding Text object. As a MatchMaker, it checks that the specimen is the corresponding Text.
Field Summary | |
private String |
myData
Deprecated. |
static StaticMaker |
QuasiTextMaker
Deprecated. Enabled: |
(package private) static long |
serialVersionUID
Deprecated. |
Fields inherited from interface org.erights.e.elib.serial.Persistent |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.tables.Selfless |
HONORARY, HONORED_NAMES |
Fields inherited from interface org.erights.e.elib.serial.PassByConstruction |
HONORARY, HONORED_NAMES |
Constructor Summary | |
QuasiText(String data)
Deprecated. Enabled: |
Method Summary | |
Object[] |
getSpreadUncall()
Deprecated. Enabled: Uses 'QuasiTextMaker(myIndex)' |
boolean |
matchBind(ConstList args,
Object specimen,
FlexList bindings)
Deprecated. Enabled: Since I contain no holes, args and bindings are ignored, and I simply see if specimen is content representing the same Text. |
void |
prettyPrintOn(TextWriter out)
Deprecated. Enabled: |
Object |
substitute(Object[] args)
Deprecated. Enabled: Since a QuasiText contains no holes, args is ignored and it simply returns the corresponding Text. |
Methods inherited from class org.capml.quasi.QuasiContent |
__printOn, bind, matchBind, optTheOne, toContent, toContentList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
static final long serialVersionUID
public static final StaticMaker QuasiTextMaker
private final String myData
Constructor Detail |
public QuasiText(String data)
Method Detail |
public Object[] getSpreadUncall()
public Object substitute(Object[] args)
substitute
in class QuasiContent
public boolean matchBind(ConstList args, Object specimen, FlexList bindings)
matchBind
in interface MatchMaker
matchBind
in class QuasiContent
public void prettyPrintOn(TextWriter out) throws IOException
prettyPrintOn
in class QuasiContent
IOException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |