Top Inners Fields Constructors Methods
com.sun.tools.rngom.digested

pack-priv final Class IncludeImpl

extends GrammarBuilderImpl
implements Include
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngom.ast.builder.Include, com.sun.tools.rngom.ast.builder.GrammarSection
Imports
com.sun.tools.rngom.ast.builder.Annotations, .BuildException, .Include, .IncludedGrammar, .Scope, com.sun.tools.rngom.ast.om.Location, .ParsedPattern, com.sun.tools.rngom.parse.IllegalSchemaException, .Parseable, java.util.HashSet, .Set

Author
Kohsuke Kawaguchi ([email protected])

Nested and Inner Type Summary

Modifier and TypeClass and Description
private class

Field Summary

Modifier and TypeField and Description
private Set<E>
private boolean
Inherited from com.sun.tools.rngom.digested.GrammarBuilderImpl:
grammarparentsb

Constructor Summary

AccessConstructor and Description
public
IncludeImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb)

Method Summary

Modifier and TypeMethod and Description
public void
public void
Inherited from com.sun.tools.rngom.digested.GrammarBuilderImpl:
endDivendGrammarmakeDivmakeIncludemakeParentRefmakeReftopLevelAnnotationtopLevelComment

Field Detail

overridenPatternsback to summary
private Set<E> overridenPatterns
startOverridenback to summary
private boolean startOverriden

Constructor Detail

IncludeImplback to summary
public IncludeImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb)

Method Detail

defineback to summary
public void define(String name, GrammarSection.Combine combine, ParsedPattern pattern, Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException

Overrides com.sun.tools.rngom.digested.GrammarBuilderImpl.define.

Implements com.sun.tools.rngom.ast.builder.GrammarSection.define.

Doc from com.sun.tools.rngom.ast.builder.GrammarSection.define.

Called when a pattern is defined.

Annotations
@Override
endIncludeback to summary
public void endInclude(Parseable current, String uri, String ns, Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException, IllegalSchemaException

Implements com.sun.tools.rngom.ast.builder.Include.endInclude.

com.sun.tools.rngom.digested back to summary

private Class IncludeImpl.IncludedGrammarImpl

extends GrammarBuilderImpl
implements IncludedGrammar
Class Inheritance
All Implemented Interfaces
com.sun.tools.rngom.ast.builder.IncludedGrammar, com.sun.tools.rngom.ast.builder.Scope, com.sun.tools.rngom.ast.builder.GrammarSection

Field Summary

Inherited from com.sun.tools.rngom.digested.GrammarBuilderImpl:
grammarparentsb

Constructor Summary

AccessConstructor and Description
public
IncludedGrammarImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb)

Method Summary

Modifier and TypeMethod and Description
public void
public ParsedPattern
Inherited from com.sun.tools.rngom.digested.GrammarBuilderImpl:
endDivendGrammarmakeDivmakeIncludemakeParentRefmakeReftopLevelAnnotationtopLevelComment

Constructor Detail

IncludedGrammarImplback to summary
public IncludedGrammarImpl(DGrammarPattern p, Scope<P extends ParsedPattern, E extends ParsedElementAnnotation, L extends Location, A extends Annotations<E, L, CL>, CL extends CommentList<L>> parent, DSchemaBuilderImpl sb)

Method Detail

defineback to summary
public void define(String name, GrammarSection.Combine combine, ParsedPattern pattern, Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException

Overrides com.sun.tools.rngom.digested.GrammarBuilderImpl.define.

Implements com.sun.tools.rngom.ast.builder.GrammarSection.define.

Doc from com.sun.tools.rngom.ast.builder.GrammarSection.define.

Called when a pattern is defined.

Annotations
@Override
endIncludedGrammarback to summary
public ParsedPattern endIncludedGrammar(Location loc, Annotations<E extends ParsedElementAnnotation, L extends Location, CL extends CommentList<L>> anno) throws BuildException

Implements com.sun.tools.rngom.ast.builder.IncludedGrammar.endIncludedGrammar.