Package | Description |
---|---|
com.sun.tools.rngom.ast.builder | |
com.sun.tools.rngom.ast.util |
Typical implementations of the ast.builder/ast.om packages.
|
com.sun.tools.rngom.binary |
Minimal binarized pattern object model (one example of
ast.om implementation). |
com.sun.tools.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.
|
com.sun.tools.rngom.nc |
Default Name Class Object Model (one example of
ast.om implementation). |
com.sun.tools.rngom.parse | |
com.sun.tools.rngom.parse.compact | |
com.sun.tools.rngom.parse.host |
Implementation of the
asm.builder package that uses two
other builds simultaneously. |
com.sun.tools.rngom.parse.xml |
Modifier and Type | Method and Description |
---|---|
void |
Annotations.addAttribute(String ns,
String localName,
String prefix,
String value,
L loc)
Called for an attribute annotation.
|
void |
Annotations.addComment(CL comments)
Adds comments following the last initial child element annotation.
|
void |
CommentList.addComment(String value,
L loc) |
void |
Annotations.addElement(E ea)
Called for a child element annotation.
|
void |
Annotations.addLeadingComment(CL comments) |
void |
DataPatternBuilder.addParam(String name,
String value,
Context context,
String ns,
L loc,
A anno) |
void |
ElementAnnotationBuilder.addText(String value,
L loc,
CL comments)
Called when a child text is found.
|
N |
NameClassBuilder.annotate(N nc,
A anno) |
P |
SchemaBuilder.annotate(P p,
A anno)
Called when annotation is found right inside a pattern
such as,
|
N |
NameClassBuilder.annotateAfter(N nc,
E e) |
P |
SchemaBuilder.annotateAfter(P p,
E e)
Called when element annotation is found after a pattern.
|
N |
NameClassBuilder.commentAfter(N nc,
CL comments) |
P |
SchemaBuilder.commentAfter(P p,
CL comments) |
void |
GrammarSection.define(String name,
GrammarSection.Combine combine,
P pattern,
L loc,
A anno)
Called when a pattern is defined.
|
void |
Div.endDiv(L loc,
A anno) |
P |
Grammar.endGrammar(L loc,
A anno) |
void |
Include.endInclude(Parseable current,
String uri,
String ns,
L loc,
A anno) |
P |
IncludedGrammar.endIncludedGrammar(L loc,
A anno) |
P |
SchemaBuilder.expandPattern(P p)
Called after all the parsing is done.
|
NameClassBuilder<N,E,L,A,CL> |
SchemaBuilder.getNameClassBuilder()
Returns the
NameClassBuilder , which is used to build name
classes for this SchemaBuilder . |
P |
SchemaBuilder.makeAttribute(N nc,
P p,
L loc,
A anno) |
P |
SchemaBuilder.makeChoice(List<P> patterns,
L loc,
A anno) |
DataPatternBuilder |
SchemaBuilder.makeDataPatternBuilder(String datatypeLibrary,
String type,
L loc) |
P |
SchemaBuilder.makeElement(N nc,
P p,
L loc,
A anno) |
E |
ElementAnnotationBuilder.makeElementAnnotation()
Called at the end to build an application data structure.
|
P |
SchemaBuilder.makeExternalRef(Parseable current,
String uri,
String ns,
Scope<P,E,L,A,CL> scope,
L loc,
A anno) |
P |
SchemaBuilder.makeGroup(List<P> patterns,
L loc,
A anno) |
P |
SchemaBuilder.makeInterleave(List<P> patterns,
L loc,
A anno) |
P |
SchemaBuilder.makeList(P p,
L loc,
A anno) |
P |
SchemaBuilder.makeMixed(P p,
L loc,
A anno) |
P |
SchemaBuilder.makeOneOrMore(P p,
L loc,
A anno) |
P |
SchemaBuilder.makeOptional(P p,
L loc,
A anno) |
P |
Scope.makeParentRef(String name,
L loc,
A anno) |
P |
DataPatternBuilder.makePattern(L loc,
A anno) |
P |
DataPatternBuilder.makePattern(P except,
L loc,
A anno) |
P |
Scope.makeRef(String name,
L loc,
A anno) |
P |
SchemaBuilder.makeValue(String datatypeLibrary,
String type,
String value,
Context c,
String ns,
L loc,
A anno) |
P |
SchemaBuilder.makeZeroOrMore(P p,
L loc,
A anno) |
void |
GrammarSection.topLevelAnnotation(E ea)
Called when an annotation is found.
|
void |
GrammarSection.topLevelComment(CL comments)
Called when a comment is found.
|
Modifier and Type | Method and Description |
---|---|
ParsedPattern |
CheckingSchemaBuilder.expandPattern(ParsedPattern p) |
Modifier and Type | Method and Description |
---|---|
DPattern |
DSchemaBuilderImpl.annotate(DPattern p,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.annotateAfter(DPattern p,
com.sun.tools.rngom.digested.ElementWrapper e) |
DPattern |
DSchemaBuilderImpl.commentAfter(DPattern p,
com.sun.tools.rngom.digested.CommentListImpl comments) |
DPattern |
DSchemaBuilderImpl.expandPattern(DPattern p) |
NameClassBuilder |
DSchemaBuilderImpl.getNameClassBuilder() |
DPattern |
DSchemaBuilderImpl.makeAttribute(NameClass nc,
DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeChoice(List<DPattern> patterns,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DataPatternBuilder |
DSchemaBuilderImpl.makeDataPatternBuilder(String datatypeLibrary,
String type,
LocatorImpl loc) |
DPattern |
DSchemaBuilderImpl.makeElement(NameClass nc,
DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeExternalRef(Parseable current,
String uri,
String ns,
Scope<DPattern,com.sun.tools.rngom.digested.ElementWrapper,LocatorImpl,com.sun.tools.rngom.digested.Annotation,com.sun.tools.rngom.digested.CommentListImpl> scope,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeGroup(List<DPattern> patterns,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeInterleave(List<DPattern> patterns,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeList(DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeMixed(DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeOneOrMore(DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeOptional(DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeValue(String datatypeLibrary,
String type,
String value,
Context c,
String ns,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
DPattern |
DSchemaBuilderImpl.makeZeroOrMore(DPattern p,
LocatorImpl loc,
com.sun.tools.rngom.digested.Annotation anno) |
Modifier and Type | Method and Description |
---|---|
NameClass |
NameClassBuilderImpl.annotate(NameClass nc,
A anno) |
NameClass |
NameClassBuilderImpl.annotateAfter(NameClass nc,
E e) |
NameClass |
NameClassBuilderImpl.commentAfter(NameClass nc,
CL comments) |
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(String uri,
SchemaBuilder<?,P,?,?,?,?> f,
Scope s,
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(String uri,
SchemaBuilder<?,P,?,?,?,?> f,
IncludedGrammar<P,?,?,?,?> g,
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 |
---|---|
ParsedPattern |
CompactParseable.parse(SchemaBuilder sb) |
ParsedPattern |
CompactParseable.parseExternal(String uri,
SchemaBuilder sb,
Scope scope,
String inheritedNs) |
ParsedPattern |
CompactParseable.parseInclude(String uri,
SchemaBuilder sb,
IncludedGrammar g,
String inheritedNs) |
Modifier and Type | Method and Description |
---|---|
ParsedPattern |
SAXParseable.parse(SchemaBuilder schemaBuilder) |
ParsedPattern |
SAXParseable.parseExternal(String uri,
SchemaBuilder schemaBuilder,
Scope s,
String inheritedNs) |
ParsedPattern |
SAXParseable.parseInclude(String uri,
SchemaBuilder schemaBuilder,
IncludedGrammar g,
String inheritedNs) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.