|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kohsuke.rngom.digested.DPattern
org.kohsuke.rngom.digested.DGrammarPattern
public class DGrammarPattern
<grammar> pattern, which is a collection of named patterns.
| Constructor Summary | |
|---|---|
DGrammarPattern()
|
|
| Method Summary | ||
|---|---|---|
|
accept(DPatternVisitor<V> visitor)
|
|
DDefine |
get(String name)
Gets the named pattern by its name. |
|
DPattern |
getStart()
Gets the start pattern. |
|
boolean |
isNullable()
Returns true if this pattern is nullable. |
|
Iterator<DDefine> |
iterator()
Iterates all the DDefines in this grammar. |
|
| Methods inherited from class org.kohsuke.rngom.digested.DPattern |
|---|
createParseable, getAnnotation, getLocation, isAttribute, isElement |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DGrammarPattern()
| Method Detail |
|---|
public DPattern getStart()
public DDefine get(String name)
public Iterator<DDefine> iterator()
DDefines in this grammar.
iterator in interface Iterable<DDefine>public boolean isNullable()
DPattern
isNullable in class DPatternpublic <V> V accept(DPatternVisitor<V> visitor)
accept in class DPattern
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||