| Package | Description |
|---|---|
| org.kohsuke.rngom.ast.builder | |
| org.kohsuke.rngom.binary |
Minimal binarized pattern object model (one example of ast.om implementation).
|
| org.kohsuke.rngom.digested |
Another RELAX NG AST implementation that optimizes away
inclusions and some other syntax sugars, while still retaining
all the annotations, location information, and etc.
|
| org.kohsuke.rngom.nc |
Default Name Class Object Model (one example of ast.om implementation).
|
| org.kohsuke.rngom.parse.compact | |
| org.kohsuke.rngom.parse.host |
Implementation of the asm.builder package that uses two
other builds simultaneously.
|
| org.kohsuke.rngom.parse.xml |
| Modifier and Type | Interface and Description |
|---|---|
interface |
DataPatternBuilder<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
interface |
Div<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
interface |
ElementAnnotationBuilder<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
Used to build foreign element annotations.
|
interface |
Grammar<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
Scope for <grammar> element that serves as a container
of <define>s. |
interface |
GrammarSection<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
The container that can have <define> elements.
|
interface |
Include<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
interface |
IncludedGrammar<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
Scope for <grammar> element of the <include>d grammar. |
interface |
NameClassBuilder<N extends ParsedNameClass,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
interface |
SchemaBuilder<N extends ParsedNameClass,P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
interface |
Scope<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ElementAnnotationBuilder<P extends ParsedPattern,E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>>
Used to build foreign element annotations.
|
| Modifier and Type | Class and Description |
|---|---|
class |
SchemaBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
Annotations |
SchemaBuilderImpl.makeAnnotations(CommentList comments,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
SchemaBuilderImpl.DummyDataPatternBuilder.addParam(java.lang.String name,
java.lang.String value,
Context context,
java.lang.String ns,
Location loc,
Annotations anno) |
void |
SchemaBuilderImpl.DataPatternBuilderImpl.addParam(java.lang.String name,
java.lang.String value,
Context context,
java.lang.String ns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.annotate(ParsedPattern p,
Annotations anno) |
void |
SchemaBuilderImpl.GrammarImpl.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno) |
void |
SchemaBuilderImpl.IncludeImpl.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno) |
void |
SchemaBuilderImpl.GrammarImpl.endDiv(Location loc,
Annotations anno) |
void |
SchemaBuilderImpl.IncludeImpl.endDiv(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.endGrammar(Location loc,
Annotations anno) |
void |
SchemaBuilderImpl.IncludeImpl.endInclude(Parseable current,
java.lang.String uri,
java.lang.String ns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.endIncludedGrammar(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeAttribute(ParsedNameClass nc,
ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeChoice(java.util.List patterns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeElement(ParsedNameClass nc,
ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeEmpty(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeExternalRef(Parseable current,
java.lang.String uri,
java.lang.String ns,
Scope scope,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeGroup(java.util.List patterns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeInterleave(java.util.List patterns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeList(ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeMixed(ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeNotAllowed(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeOneOrMore(ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeOptional(ParsedPattern p,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.makeParentRef(java.lang.String name,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.DummyDataPatternBuilder.makePattern(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.DataPatternBuilderImpl.makePattern(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.DummyDataPatternBuilder.makePattern(ParsedPattern except,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.DataPatternBuilderImpl.makePattern(ParsedPattern except,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.makeRef(java.lang.String name,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeText(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeValue(java.lang.String datatypeLibrary,
java.lang.String type,
java.lang.String value,
Context context,
java.lang.String ns,
Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.makeZeroOrMore(ParsedPattern p,
Location loc,
Annotations anno) |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
Annotation |
(package private) class |
ElementAnnotationBuilderImpl |
| Modifier and Type | Method and Description |
|---|---|
private Annotations |
PatternParseable.Parser.parseAnnotation(DPattern p) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataPatternBuilderImpl.addParam(java.lang.String name,
java.lang.String value,
Context context,
java.lang.String ns,
Location loc,
Annotations anno) |
void |
IncludeImpl.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno) |
void |
IncludeImpl.IncludedGrammarImpl.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno) |
void |
GrammarBuilderImpl.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern pattern,
Location loc,
Annotations anno) |
void |
GrammarBuilderImpl.endDiv(Location loc,
Annotations anno) |
ParsedPattern |
GrammarBuilderImpl.endGrammar(Location loc,
Annotations anno) |
void |
IncludeImpl.endInclude(Parseable current,
java.lang.String uri,
java.lang.String ns,
Location loc,
Annotations anno) |
ParsedPattern |
IncludeImpl.IncludedGrammarImpl.endIncludedGrammar(Location loc,
Annotations anno) |
ParsedPattern |
GrammarBuilderImpl.makeParentRef(java.lang.String name,
Location loc,
Annotations anno) |
ParsedPattern |
DataPatternBuilderImpl.makePattern(Location loc,
Annotations anno) |
ParsedPattern |
DataPatternBuilderImpl.makePattern(ParsedPattern except,
Location loc,
Annotations anno) |
ParsedPattern |
GrammarBuilderImpl.makeRef(java.lang.String name,
Location loc,
Annotations anno) |
| Modifier and Type | Class and Description |
|---|---|
class |
NameClassBuilderImpl<E extends ParsedElementAnnotation,L extends Location,A extends Annotations<E,L,CL>,CL extends CommentList<L>> |
| Modifier and Type | Method and Description |
|---|---|
private Annotations |
CompactSyntax.addCommentsToChildAnnotations(Annotations a) |
private Annotations |
CompactSyntax.addCommentsToLeadingAnnotations(Annotations a) |
Annotations |
CompactSyntax.Annotations() |
private Annotations |
CompactSyntax.getCommentsAsAnnotations() |
private Annotations |
CompactSyntax.getTopLevelCommentsAsAnnotations() |
Annotations |
CompactSyntax.GrammarBody(GrammarSection section,
Scope scope,
Annotations a) |
Annotations |
CompactSyntax.IncludeBody(GrammarSection section,
Scope scope,
Annotations a) |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
AnnotationsHost |
(package private) class |
ElementAnnotationBuilderHost |
| Modifier and Type | Field and Description |
|---|---|
(package private) Annotations |
AnnotationsHost.lhs |
(package private) Annotations |
AnnotationsHost.rhs |
| Modifier and Type | Method and Description |
|---|---|
Annotations |
SchemaBuilderHost.makeAnnotations(CommentList _comments,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
void |
DataPatternBuilderHost.addParam(java.lang.String name,
java.lang.String value,
Context context,
java.lang.String ns,
Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.annotate(ParsedNameClass _nc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.annotate(ParsedPattern _p,
Annotations _anno) |
protected AnnotationsHost |
Base.cast(Annotations ann) |
void |
GrammarSectionHost.define(java.lang.String name,
GrammarSection.Combine combine,
ParsedPattern _pattern,
Location _loc,
Annotations _anno) |
void |
DivHost.endDiv(Location _loc,
Annotations _anno) |
ParsedPattern |
GrammarHost.endGrammar(Location _loc,
Annotations _anno) |
void |
IncludeHost.endInclude(Parseable current,
java.lang.String uri,
java.lang.String ns,
Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeAnyName(Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeAnyName(ParsedNameClass _except,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeAttribute(ParsedNameClass _nc,
ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeChoice(java.util.List _nameClasses,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeChoice(java.util.List patterns,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeElement(ParsedNameClass _nc,
ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeEmpty(Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeExternalRef(Parseable current,
java.lang.String uri,
java.lang.String ns,
Scope _scope,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeGroup(java.util.List patterns,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeInterleave(java.util.List patterns,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeList(ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeMixed(ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeName(java.lang.String ns,
java.lang.String localName,
java.lang.String prefix,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeNotAllowed(Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeNsName(java.lang.String ns,
Location _loc,
Annotations _anno) |
ParsedNameClass |
NameClassBuilderHost.makeNsName(java.lang.String ns,
ParsedNameClass _except,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeOneOrMore(ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeOptional(ParsedPattern _p,
Location _loc,
Annotations _anno) |
ParsedPattern |
ScopeHost.makeParentRef(java.lang.String name,
Location _loc,
Annotations _anno) |
ParsedPattern |
DataPatternBuilderHost.makePattern(Location _loc,
Annotations _anno) |
ParsedPattern |
DataPatternBuilderHost.makePattern(ParsedPattern _except,
Location _loc,
Annotations _anno) |
ParsedPattern |
ScopeHost.makeRef(java.lang.String name,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeText(Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeValue(java.lang.String datatypeLibrary,
java.lang.String type,
java.lang.String value,
Context c,
java.lang.String ns,
Location _loc,
Annotations _anno) |
ParsedPattern |
SchemaBuilderHost.makeZeroOrMore(ParsedPattern _p,
Location _loc,
Annotations _anno) |
| Constructor and Description |
|---|
AnnotationsHost(Annotations lhs,
Annotations rhs) |
AnnotationsHost(Annotations lhs,
Annotations rhs) |
| Modifier and Type | Field and Description |
|---|---|
(package private) Annotations |
SchemaParser.State.annotations |
| Modifier and Type | Method and Description |
|---|---|
(package private) ParsedPattern |
SchemaParser.PatternContainerState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.ZeroOrMoreState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.OneOrMoreState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.OptionalState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.ListState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.ChoiceState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.InterleaveState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.MixedState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.ElementState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.AttributeState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
(package private) ParsedPattern |
SchemaParser.DefinitionState.buildPattern(java.util.List<ParsedPattern> patterns,
Location loc,
Annotations anno) |
private ParsedNameClass |
SchemaParser.expandName(java.lang.String name,
java.lang.String ns,
Annotations anno) |