| Modifier and Type | Method and Description |
|---|---|
| public P | annotate(P p, A anno)
Called when annotation is found right inside a pattern such as,
|
| public P | |
| public P | |
| public P | |
| public NameClassBuilder | Returns: always return a non-null valid object. This method can (and probably should) always return the same object.Returns the |
| public A | Returns: must be non-null.Creates |
| public P | |
| public P | |
| public CL | |
| public DataPatternBuilder | |
| public P | |
| public ElementAnnotationBuilder | makeElementAnnotationBuilder(String ns, String localName, String prefix, L loc, CL comments, Context context)
|
| public P | |
| public P | |
| public P | makeExternalRef(Parseable
Current grammar that we are parsing. This is what contains
externalRef. current, String uri, String ns, Scope<P, E, L, A, CL> The parent scope. null if there's no parent scope.
See scope, L loc, A anno)makeGrammar(Scope) for more details about
when this parameter can be null.
|
| public Grammar | makeGrammar(Scope<P, E, L, A, CL>
The parent scope. null if there's no parent scope.
For example, if the complete document looks like the following:
parent)
Then when the outer-most Grammar is created, it will
receive the null parent.
|
| public P | |
| public P | |
| public P | |
| public L | |
| public P | |
| public P | |
| public P | |
| public P | |
| public P | |
| public P | |
| public P | |
| public boolean |
| annotate | back to summary |
|---|---|
| public P annotate(P p, A anno) throws BuildException Called when annotation is found right inside a pattern such as,
| |
| annotateAfter | back to summary |
|---|---|
| public P annotateAfter(P p, E e) throws BuildException Called when element annotation is found after a pattern. such as,
| |
| commentAfter | back to summary |
|---|---|
| public P commentAfter(P p, CL comments) throws BuildException | |
| expandPattern | back to summary |
|---|---|
| public P expandPattern(P p) throws BuildException, IllegalSchemaException Called after all the parsing is done. This hook typically allows as to expand notAllowed (if it's following the simplification as in the spec.) | |
| getNameClassBuilder | back to summary |
|---|---|
| public NameClassBuilder Returns the
| |
| makeAnnotations | back to summary |
|---|---|
| public A makeAnnotations(CL comments, Context context) Creates
| |
| makeAttribute | back to summary |
|---|---|
| public P makeAttribute(N nc, P p, L loc, A anno) throws BuildException | |
| makeChoice | back to summary |
|---|---|
| public P makeChoice(List<P> patterns, L loc, A anno) throws BuildException | |
| makeCommentList | back to summary |
|---|---|
| public CL makeCommentList() | |
| makeDataPatternBuilder | back to summary |
|---|---|
| public DataPatternBuilder | |
| makeElement | back to summary |
|---|---|
| public P makeElement(N nc, P p, L loc, A anno) throws BuildException | |
| makeElementAnnotationBuilder | back to summary |
|---|---|
| public ElementAnnotationBuilder | |
| makeEmpty | back to summary |
|---|---|
| public P makeEmpty(L loc, A anno) | |
| makeErrorPattern | back to summary |
|---|---|
| public P makeErrorPattern() | |
| makeExternalRef | back to summary |
|---|---|
public P makeExternalRef(Parseable current, String uri, String ns, Scope<P, E, L, A, CL> scope, L loc, A anno) throws BuildException, IllegalSchemaException
| |
| makeGrammar | back to summary |
|---|---|
public Grammar
| |
| makeGroup | back to summary |
|---|---|
| public P makeGroup(List<P> patterns, L loc, A anno) throws BuildException | |
| makeInterleave | back to summary |
|---|---|
| public P makeInterleave(List<P> patterns, L loc, A anno) throws BuildException | |
| makeList | back to summary |
|---|---|
| public P makeList(P p, L loc, A anno) throws BuildException | |
| makeLocation | back to summary |
|---|---|
| public L makeLocation(String systemId, int lineNumber, int columnNumber) | |
| makeMixed | back to summary |
|---|---|
| public P makeMixed(P p, L loc, A anno) throws BuildException | |
| makeNotAllowed | back to summary |
|---|---|
| public P makeNotAllowed(L loc, A anno) | |
| makeOneOrMore | back to summary |
|---|---|
| public P makeOneOrMore(P p, L loc, A anno) throws BuildException | |
| makeOptional | back to summary |
|---|---|
| public P makeOptional(P p, L loc, A anno) throws BuildException | |
| makeText | back to summary |
|---|---|
| public P makeText(L loc, A anno) | |
| makeValue | back to summary |
|---|---|
| public P makeValue(String datatypeLibrary, String type, String value, Context c, String ns, L loc, A anno) throws BuildException | |
| makeZeroOrMore | back to summary |
|---|---|
| public P makeZeroOrMore(P p, L loc, A anno) throws BuildException | |
| usesComments | back to summary |
|---|---|
| public boolean usesComments() If this is interested in actually parsing comments, this method returns true. Returning false allows the schema parser to speed up the processing by skiping comment-related handlings. | |