Class Grammar

  • All Implemented Interfaces:
    java.lang.Iterable<Leaf>, ParsedPattern

    public class Grammar
    extends Define
    Represents a RELAX NG grammar. A Grammar extends a Define as "start"
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • START

        public static final java.lang.String START
        The name for the start pattern
        See Also:
        Constant Field Values
    • Constructor Detail

      • Grammar

        public Grammar()
    • Method Detail

      • get

        public Define get​(java.lang.String name)
      • getDefinitions

        public java.util.Collection<Define> getDefinitions()