Package relaxngcc.grammar
Class Grammar
- java.lang.Object
-
- relaxngcc.grammar.Pattern
-
- relaxngcc.grammar.Scope
-
- relaxngcc.grammar.Grammar
-
-
Constructor Summary
Constructors Constructor Description Grammar(ParserRuntime rt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Scope
get(java.lang.String name)
Gets the Scope object or return null.Scope
getOrCreate(ParserRuntime rt, java.lang.String name)
java.util.Iterator
iterateScopes()
Iterates all the namedScope
s in this grammar.Scope
redefine(ParserRuntime rt, java.lang.String name)
-
Methods inherited from class relaxngcc.grammar.Scope
append, appendBody, appendImport, apply, clear, getBody, getImport, getParam, getParamCount, getPattern, setParam
-
-
-
-
Constructor Detail
-
Grammar
public Grammar(ParserRuntime rt)
-
-
Method Detail
-
get
public Scope get(java.lang.String name)
Gets the Scope object or return null.
-
getOrCreate
public Scope getOrCreate(ParserRuntime rt, java.lang.String name)
-
redefine
public Scope redefine(ParserRuntime rt, java.lang.String name)
-
iterateScopes
public java.util.Iterator iterateScopes()
Iterates all the namedScope
s in this grammar.
-
-