|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrelaxngcc.datatype.Macro
A string with some free variables
| Nested Class Summary | |
static class |
Macro.Variable
Variable. |
| Constructor Summary | |
Macro()
|
|
| Method Summary | |
void |
add(Macro.Variable tkn)
Adds a new macro to the token list. |
void |
add(java.lang.String str)
Adds a new literal string to the token list. |
java.lang.String |
toString(java.util.Map dictionary)
Expands all the variables with a given dictionary |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Macro()
| Method Detail |
public void add(java.lang.String str)
public void add(Macro.Variable tkn)
public java.lang.String toString(java.util.Map dictionary)
throws NoDefinitionException
NoDefinitionException - thrown when there's a variable whose definition is not given
by the specified dictionary.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||