com.thaiopensource.relaxng.parse
Interface GrammarSection

All Known Subinterfaces:
Div, Grammar, Include, IncludedGrammar

public interface GrammarSection


Nested Class Summary
static class GrammarSection.Combine
           
 
Field Summary
static GrammarSection.Combine COMBINE_CHOICE
           
static GrammarSection.Combine COMBINE_INTERLEAVE
           
static java.lang.String START
           
 
Method Summary
 void define(java.lang.String name, GrammarSection.Combine combine, ParsedPattern pattern, Location loc, Annotations anno)
           
 Div makeDiv()
           
 Include makeInclude()
          Returns null if already in an include.
 void topLevelAnnotation(ParsedElementAnnotation ea)
           
 void topLevelComment(CommentList comments)
           
 

Field Detail

COMBINE_CHOICE

public static final GrammarSection.Combine COMBINE_CHOICE

COMBINE_INTERLEAVE

public static final GrammarSection.Combine COMBINE_INTERLEAVE

START

public static final java.lang.String START
Method Detail

define

public void define(java.lang.String name,
                   GrammarSection.Combine combine,
                   ParsedPattern pattern,
                   Location loc,
                   Annotations anno)
            throws BuildException
Throws:
BuildException

topLevelAnnotation

public void topLevelAnnotation(ParsedElementAnnotation ea)
                        throws BuildException
Throws:
BuildException

topLevelComment

public void topLevelComment(CommentList comments)
                     throws BuildException
Throws:
BuildException

makeDiv

public Div makeDiv()

makeInclude

public Include makeInclude()
Returns null if already in an include.