com.thaiopensource.relaxng.impl
Class SchemaBuilderImpl.IncludeImpl
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sb
private final SchemaBuilderImpl sb
overrides
private SchemaBuilderImpl.Override overrides
grammar
private final SchemaBuilderImpl.GrammarImpl grammar
SchemaBuilderImpl.IncludeImpl
private SchemaBuilderImpl.IncludeImpl(SchemaBuilderImpl sb,
SchemaBuilderImpl.GrammarImpl grammar)
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