Package relaxngcc.datatype
Class Macro
java.lang.Object
relaxngcc.datatype.Macro
A string with some free variables
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Macro
public Macro()
-
-
Method Details
-
add
Adds a new literal string to the token list. -
add
Adds a new macro to the token list. -
toString
Expands all the variables with a given dictionary- Parameters:
String
- to string dictionary.- Throws:
NoDefinitionException
- thrown when there's a variable whose definition is not given by the specified dictionary.
-