com.sun.tools.txw2.model
Class Grammar
java.lang.Object
com.sun.tools.txw2.model.Leaf
com.sun.tools.txw2.model.Node
com.sun.tools.txw2.model.WriterNode
com.sun.tools.txw2.model.Define
com.sun.tools.txw2.model.Grammar
- All Implemented Interfaces:
- Iterable<Leaf>, org.kohsuke.rngom.ast.om.ParsedPattern
public class Grammar
- extends Define
Represents a RELAX NG grammar.
A Grammar
extends a Define
as "start"
- Author:
- Kohsuke Kawaguchi
Field Summary |
static String |
START
The name for the start pattern |
Fields inherited from class com.sun.tools.txw2.model.Node |
leaf |
Fields inherited from class com.sun.tools.txw2.model.Leaf |
location |
START
public static final String START
- The name for the start pattern
- See Also:
- Constant Field Values
Grammar
public Grammar()
get
public Define get(String name)
getDefinitions
public Collection<Define> getDefinitions()
Copyright © 2013 Oracle. All Rights Reserved.