com.sun.xml.internal.rngom.ast.builder.Include Java Examples
The following examples show how to use
com.sun.xml.internal.rngom.ast.builder.Include.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: SchemaParser.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #2
Source File: CompactSyntax.java From hottub with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #3
Source File: SchemaParser.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #4
Source File: CompactSyntax.java From openjdk-8-source with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #5
Source File: SchemaParser.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #6
Source File: SchemaParser.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #7
Source File: CompactSyntax.java From jdk8u60 with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #8
Source File: CompactSyntax.java From openjdk-jdk8u with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #9
Source File: CompactSyntax.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #10
Source File: CompactSyntax.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #11
Source File: SchemaParser.java From openjdk-8 with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #12
Source File: SchemaParser.java From openjdk-jdk9 with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #13
Source File: SchemaParser.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #14
Source File: CompactSyntax.java From TencentKona-8 with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #15
Source File: CompactSyntax.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 6 votes |
final public void Include(GrammarSection section, Scope scope, Annotations a) throws ParseException { Token t; String href; String ns; Include include = section.makeInclude(); t = jj_consume_token(7); href = Literal(); ns = Inherit(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 11: jj_consume_token(11); a = IncludeBody(include, scope, a); topLevelComments(include); jj_consume_token(12); break; default: jj_la1[41] = jj_gen; ; } try { include.endInclude(parseable, resolve(href), ns, makeLocation(t), a); } catch (IllegalSchemaException e) { } }
Example #16
Source File: SchemaParser.java From hottub with GNU General Public License v2.0 | 6 votes |
State createChildState(String localName) throws SAXException { if (localName.equals("define")) { return new DefineState(section); } if (localName.equals("start")) { return new StartState(section); } if (localName.equals("include")) { Include include = section.makeInclude(); if (include != null) { return new IncludeState(include); } } if (localName.equals("div")) { return new DivState(section.makeDiv()); } error("expected_define", localName); // XXX better errors return null; }
Example #17
Source File: CompactSyntax.java From openjdk-jdk8u-backup with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #18
Source File: CompactSyntax.java From openjdk-jdk8u with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #19
Source File: CompactSyntax.java From openjdk-8-source with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #20
Source File: CompactSyntax.java From hottub with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #21
Source File: CompactSyntax.java From jdk8u60 with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #22
Source File: CompactSyntax.java From openjdk-jdk9 with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #23
Source File: CompactSyntax.java From openjdk-8 with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #24
Source File: CompactSyntax.java From TencentKona-8 with GNU General Public License v2.0 | 5 votes |
final public void GrammarComponent(GrammarSection section, Scope scope) throws ParseException { ParsedElementAnnotation e; Annotations a; a = Annotations(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case 5: case IDENTIFIER: case ESCAPED_IDENTIFIER: Definition(section, scope, a); break; case 7: Include(section, scope, a); break; case 6: Div(section, scope, a); break; default: jj_la1[38] = jj_gen; jj_consume_token(-1); throw new ParseException(); } label_14: while (true) { if (jj_2_4(2)) { ; } else { break label_14; } e = AnnotationElementNotKeyword(); section.topLevelAnnotation(e); } }
Example #25
Source File: SchemaParser.java From hottub with GNU General Public License v2.0 | 4 votes |
IncludeState(Include include) { super(include); this.include = include; }
Example #26
Source File: SchemaBuilderImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Include makeInclude() { return new IncludeImpl(sb, this); }
Example #27
Source File: GrammarBuilderImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Include makeInclude() { return new IncludeImpl(grammar,parent,sb); }
Example #28
Source File: GrammarBuilderImpl.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Include makeInclude() { return new IncludeImpl(grammar,parent,sb); }
Example #29
Source File: SchemaBuilderImpl.java From hottub with GNU General Public License v2.0 | 4 votes |
public Include makeInclude() { return null; }
Example #30
Source File: GrammarSectionHost.java From openjdk-jdk9 with GNU General Public License v2.0 | 4 votes |
public Include makeInclude() { Include l = lhs.makeInclude(); if(l==null) return null; return new IncludeHost( l, rhs.makeInclude() ); }