| 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 | 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>> |
|
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>> |
|
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 | Description |
|---|---|---|
ParsedPattern |
CheckingSchemaBuilder.expandPattern(ParsedPattern p) |
| Modifier and Type | Method | Description |
|---|---|---|
ParsedPattern |
CheckingSchemaBuilder.expandPattern(ParsedPattern p) |
| Modifier and Type | Class | 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 |
|
class |
TextPattern |
|
class |
ValuePattern |
| Modifier and Type | Class | 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 | 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 | Description |
|---|---|---|
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) |
|
ParsedPattern |
CompactParseable.parseExternal(java.lang.String uri,
SchemaBuilder sb,
Scope scope,
java.lang.String inheritedNs) |
|
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 | Class | Description |
|---|---|---|
class |
ParsedPatternHost |
| Modifier and Type | Field | Description |
|---|---|---|
ParsedPattern |
ParsedPatternHost.lhs |
|
ParsedPattern |
ParsedPatternHost.rhs |
| Modifier and Type | Method | Description |
|---|---|---|
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) |
Copyright © 2018 Oracle Corporation. All rights reserved.