| Package | Description |
|---|---|
| org.kohsuke.rngom.ast.builder | |
| org.kohsuke.rngom.ast.util |
Typical implementations of the ast.builder/ast.om packages.
|
| 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.parse | |
| 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 |
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 | Method and Description |
|---|---|
ParsedPattern |
CheckingSchemaBuilder.expandPattern(ParsedPattern p) |
| Modifier and Type | Method and Description |
|---|---|
ParsedPattern |
CheckingSchemaBuilder.expandPattern(ParsedPattern p) |
| Modifier and Type | Class and Description |
|---|---|
class |
AfterPattern |
class |
AttributePattern |
class |
BinaryPattern |
class |
ChoicePattern |
class |
DataExceptPattern |
class |
DataPattern |
class |
ElementPattern |
class |
EmptyPattern |
class |
ErrorPattern |
class |
GroupPattern |
class |
InterleavePattern |
class |
ListPattern |
class |
NotAllowedPattern |
class |
OneOrMorePattern |
class |
Pattern |
class |
RefPattern |
(package private) class |
StringPattern |
class |
TextPattern |
class |
ValuePattern |
| Modifier and Type | Method and Description |
|---|---|
ParsedPattern |
SchemaBuilderImpl.annotate(ParsedPattern p,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.annotateAfter(ParsedPattern p,
ParsedElementAnnotation e) |
ParsedPattern |
SchemaBuilderImpl.commentAfter(ParsedPattern p,
CommentList comments) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.endGrammar(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.GrammarImpl.endIncludedGrammar(Location loc,
Annotations anno) |
ParsedPattern |
SchemaBuilderImpl.expandPattern(ParsedPattern _pattern) |
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.makeErrorPattern() |
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 |
|---|---|
class |
DAttributePattern |
class |
DChoicePattern
<choice> pattern.
|
class |
DContainerPattern
A pattern that can contain other patterns.
|
class |
DDataPattern |
class |
DElementPattern |
class |
DEmptyPattern |
class |
DGrammarPattern
<grammar> pattern, which is a collection of named patterns.
|
class |
DGroupPattern |
class |
DInterleavePattern |
class |
DListPattern |
class |
DMixedPattern |
class |
DNotAllowedPattern |
class |
DOneOrMorePattern |
class |
DOptionalPattern |
class |
DPattern
Base class of all the patterns.
|
class |
DRefPattern |
class |
DTextPattern |
class |
DUnaryPattern |
class |
DValuePattern |
class |
DXmlTokenPattern |
class |
DZeroOrMorePattern |
| Modifier and Type | Method and Description |
|---|---|
(package private) static DUnaryPattern |
DSchemaBuilderImpl.addBody(DUnaryPattern parent,
ParsedPattern _body,
LocatorImpl loc) |
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) |
ParsedPattern |
DataPatternBuilderImpl.makePattern(ParsedPattern except,
Location loc,
Annotations anno) |
| Modifier and Type | Method and Description |
|---|---|
<P extends ParsedPattern> |
Parseable.parse(SchemaBuilder<?,P,?,?,?,?> sb)
Parses this
Parseable object into a RELAX NG pattern. |
<P extends ParsedPattern> |
Parseable.parseExternal(java.lang.String uri,
SchemaBuilder<?,P,?,?,?,?> f,
Scope s,
java.lang.String inheritedNs)
Called from
SchemaBuilder in response to
SchemaBuilder.makeExternalRef(Parseable, String, String, Scope, Location, Annotations)
to parse the referenced grammar. |
<P extends ParsedPattern> |
Parseable.parseInclude(java.lang.String uri,
SchemaBuilder<?,P,?,?,?,?> f,
IncludedGrammar<P,?,?,?,?> g,
java.lang.String inheritedNs)
Called from
Include in response to
Include.endInclude(Parseable, String, String, Location, Annotations)
to parse the included grammar. |
| Modifier and Type | Method and Description |
|---|---|
private static ParsedPattern[] |
CompactSyntax.addPattern(ParsedPattern[] patterns,
int i,
ParsedPattern p) |
private ParsedPattern |
CompactSyntax.afterComments(ParsedPattern p) |
ParsedPattern |
CompactSyntax.AnnotatedPrimaryExpr(boolean topLevel,
Scope scope,
Token[] except) |
ParsedPattern |
CompactSyntax.AttributeExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.DataExpr(boolean topLevel,
Scope scope,
Annotations a,
Token[] except) |
ParsedPattern |
CompactSyntax.ElementExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.EmptyExpr(Annotations a) |
ParsedPattern |
CompactSyntax.Except(Scope scope,
Token[] except) |
ParsedPattern |
CompactSyntax.Expr(boolean topLevel,
Scope scope,
Token t,
Annotations a) |
ParsedPattern |
CompactSyntax.ExternalRefExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.GrammarExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.IdentifierExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.IncludedGrammar(IncludedGrammar g) |
ParsedPattern |
CompactSyntax.Input(Scope scope) |
ParsedPattern |
CompactSyntax.ListExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.MixedExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.NotAllowedExpr(Annotations a) |
ParsedPattern |
CompactSyntax.ParenExpr(boolean topLevel,
Scope scope,
Annotations a) |
ParsedPattern |
CompactSyntax.ParentExpr(Scope scope,
Annotations a) |
ParsedPattern |
CompactParseable.parse(SchemaBuilder sb) |
(package private) ParsedPattern |
CompactSyntax.parse(Scope scope) |
ParsedPattern |
CompactParseable.parseExternal(java.lang.String uri,
SchemaBuilder sb,
Scope scope,
java.lang.String inheritedNs) |
(package private) ParsedPattern |
CompactSyntax.parseInclude(IncludedGrammar g) |
ParsedPattern |
CompactParseable.parseInclude(java.lang.String uri,
SchemaBuilder sb,
IncludedGrammar g,
java.lang.String inheritedNs) |
ParsedPattern |
CompactSyntax.PrimaryExpr(boolean topLevel,
Scope scope,
Annotations a,
Token[] except) |
ParsedPattern |
CompactSyntax.TextExpr(Annotations a) |
ParsedPattern |
CompactSyntax.TopLevelGrammar(Scope scope) |
ParsedPattern |
CompactSyntax.UnaryExpr(boolean topLevel,
Scope scope,
boolean[] hadOccur,
Token[] except) |
ParsedPattern |
CompactSyntax.ValueExpr(boolean topLevel,
Annotations a) |
| Modifier and Type | Method and Description |
|---|---|
private static ParsedPattern[] |
CompactSyntax.addPattern(ParsedPattern[] patterns,
int i,
ParsedPattern p) |
private static ParsedPattern[] |
CompactSyntax.addPattern(ParsedPattern[] patterns,
int i,
ParsedPattern p) |
private ParsedPattern |
CompactSyntax.afterComments(ParsedPattern p) |
| Modifier and Type | Class and Description |
|---|---|
class |
ParsedPatternHost |
| Modifier and Type | Field and Description |
|---|---|
ParsedPattern |
ParsedPatternHost.lhs |
ParsedPattern |
ParsedPatternHost.rhs |
| Constructor and Description |
|---|
ParsedPatternHost(ParsedPattern lhs,
ParsedPattern rhs) |
| Modifier and Type | Field and Description |
|---|---|
(package private) ParsedPattern |
SchemaParser.DataState.except |
(package private) ParsedPattern |
SchemaParser.ExternalRefState.includedPattern |
private ParsedPattern |
SchemaParser.startPattern |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.List<ParsedPattern> |
SchemaParser.PatternContainerState.childPatterns |
| 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) |
ParsedPattern |
SchemaParser.getParsedPattern() |
(package private) abstract ParsedPattern |
SchemaParser.EmptyContentState.makePattern() |
(package private) ParsedPattern |
SchemaParser.NotAllowedState.makePattern() |
(package private) ParsedPattern |
SchemaParser.EmptyState.makePattern() |
(package private) ParsedPattern |
SchemaParser.TextState.makePattern() |
(package private) ParsedPattern |
SchemaParser.ValueState.makePattern() |
(package private) ParsedPattern |
SchemaParser.RefState.makePattern() |
(package private) ParsedPattern |
SchemaParser.ParentRefState.makePattern() |
(package private) ParsedPattern |
SchemaParser.ExternalRefState.makePattern() |
(package private) ParsedPattern |
SchemaParser.ValueState.makePattern(java.lang.String datatypeLibrary,
java.lang.String type) |
ParsedPattern |
SAXParseable.parse(SchemaBuilder schemaBuilder) |
ParsedPattern |
SAXParseable.parseExternal(java.lang.String uri,
SchemaBuilder schemaBuilder,
Scope s,
java.lang.String inheritedNs) |
ParsedPattern |
SAXParseable.parseInclude(java.lang.String uri,
SchemaBuilder schemaBuilder,
IncludedGrammar g,
java.lang.String inheritedNs) |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
SchemaParser.State.endChild(ParsedPattern pattern) |
(package private) void |
SchemaParser.PatternContainerState.endChild(ParsedPattern pattern) |
(package private) void |
SchemaParser.RootState.endChild(ParsedPattern pattern) |
(package private) void |
SchemaParser.DataState.endChild(ParsedPattern pattern) |
(package private) void |
SchemaParser.PatternContainerState.sendPatternToParent(ParsedPattern p) |
(package private) void |
SchemaParser.DefineState.sendPatternToParent(ParsedPattern p) |
(package private) void |
SchemaParser.StartState.sendPatternToParent(ParsedPattern p) |
| 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) |