|
|||||||||||
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.QuasiContentPattHole
Untamed: Represents a @-hole in Content position in a quasi-literal XML tree.
This @-hole will match against any specimen, and put it in the bindings at the hole's index.
Field Summary | |
private int |
myIndex
Deprecated. |
static StaticMaker |
QuasiContentPattHoleMaker
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 | |
QuasiContentPattHole(int index)
Deprecated. Enabled: |
Method Summary | |
Object[] |
getSpreadUncall()
Deprecated. Enabled: Uses 'QuasiContentPattHoleMaker(myIndex)' |
boolean |
matchBind(ConstList args,
Object specimen,
FlexList bindings)
Deprecated. Enabled: puts specimen into bindings[myIndex] and succeed. |
void |
prettyPrintOn(TextWriter out)
Deprecated. Enabled: Prints as "@{ |
Object |
substitute(Object[] args)
Deprecated. Enabled: If it's got @-holes, it's incomplete as a ValueMaker, so throw IncompleteQuasiException |
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 QuasiContentPattHoleMaker
private final int myIndex
Constructor Detail |
public QuasiContentPattHole(int index)
Method Detail |
public Object[] getSpreadUncall()
public Object substitute(Object[] args)
substitute
in class QuasiContent
public boolean matchBind(ConstList args, Object specimen, FlexList bindings)
Specimen must be Content or String. The equivalent Content is placed into 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 |