com.thaiopensource.relaxng.impl
Class SchemaBuilderImpl.IncludeImpl

java.lang.Object
  extended by com.thaiopensource.relaxng.impl.SchemaBuilderImpl.IncludeImpl
All Implemented Interfaces:
Div, GrammarSection, Include
Enclosing class:
SchemaBuilderImpl

private static class SchemaBuilderImpl.IncludeImpl
extends Object
implements Include, Div


Nested Class Summary
 
Nested classes/interfaces inherited from interface com.thaiopensource.relaxng.parse.GrammarSection
GrammarSection.Combine
 
Nested classes/interfaces inherited from interface com.thaiopensource.relaxng.parse.GrammarSection
GrammarSection.Combine
 
Field Summary
private  SchemaBuilderImpl.GrammarImpl grammar
           
private  SchemaBuilderImpl.Override overrides
           
private  SchemaBuilderImpl sb
           
 
Fields inherited from interface com.thaiopensource.relaxng.parse.GrammarSection
COMBINE_CHOICE, COMBINE_INTERLEAVE, START
 
Fields inherited from interface com.thaiopensource.relaxng.parse.GrammarSection
COMBINE_CHOICE, COMBINE_INTERLEAVE, START
 
Constructor Summary
private SchemaBuilderImpl.IncludeImpl(SchemaBuilderImpl sb, SchemaBuilderImpl.GrammarImpl grammar)
           
 
Method Summary
 void define(String name, GrammarSection.Combine combine, ParsedPattern pattern, Location loc, Annotations anno)
           
 void endDiv(Location loc, Annotations anno)
           
 void endInclude(String uri, String ns, Location loc, Annotations anno)
           
 Div makeDiv()
           
 Include makeInclude()
          Returns null if already in an include.
 void topLevelAnnotation(ParsedElementAnnotation ea)
           
 void topLevelComment(CommentList comments)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

sb

private final SchemaBuilderImpl sb

overrides

private SchemaBuilderImpl.Override overrides

grammar

private final SchemaBuilderImpl.GrammarImpl grammar
Constructor Detail

SchemaBuilderImpl.IncludeImpl

private SchemaBuilderImpl.IncludeImpl(SchemaBuilderImpl sb,
                                      SchemaBuilderImpl.GrammarImpl grammar)
Method Detail

define

public void define(String name,
                   GrammarSection.Combine combine,
                   ParsedPattern pattern,
                   Location loc,
                   Annotations anno)
            throws BuildException
Specified by:
define in interface GrammarSection
Throws:
BuildException

endDiv

public void endDiv(Location loc,
                   Annotations anno)
            throws BuildException
Specified by:
endDiv in interface Div
Throws:
BuildException

topLevelAnnotation

public void topLevelAnnotation(ParsedElementAnnotation ea)
                        throws BuildException
Specified by:
topLevelAnnotation in interface GrammarSection
Throws:
BuildException

topLevelComment

public void topLevelComment(CommentList comments)
                     throws BuildException
Specified by:
topLevelComment in interface GrammarSection
Throws:
BuildException

makeDiv

public Div makeDiv()
Specified by:
makeDiv in interface GrammarSection

endInclude

public void endInclude(String uri,
                       String ns,
                       Location loc,
                       Annotations anno)
                throws BuildException
Specified by:
endInclude in interface Include
Throws:
BuildException

makeInclude

public Include makeInclude()
Description copied from interface: GrammarSection
Returns null if already in an include.

Specified by:
makeInclude in interface GrammarSection