Lines Matching refs:runtime

65     protected final NGCCRuntimeEx $runtime;
72 return($runtime);
75 public Schema(NGCCHandler parent, NGCCEventSource source, NGCCRuntimeEx runtime, int cookie, boolean _includeMode, String _expectedNamespace) {
77 $runtime = runtime;
83 public Schema(NGCCRuntimeEx runtime, boolean _includeMode, String _expectedNamespace) {
84 this(null, runtime, runtime, -1, _includeMode, _expectedNamespace);
88 $runtime.checkDoubleDefError( $runtime.currentSchema.getAttGroupDecl(ag.getName()) );
89 $runtime.currentSchema.addAttGroupDecl(ag,false);
93 $runtime.currentSchema.addNotation(notation);
97 $runtime.checkDoubleDefError( $runtime.currentSchema.getModelGroupDecl(group.getName()) );
98 $runtime.currentSchema.addModelGroupDecl(group,false);
102 $runtime.checkDoubleDefError( $runtime.currentSchema.getAttributeDecl(ad.getName()) );
103 $runtime.currentSchema.addAttributeDecl(ad);
107 locator = $runtime.copyLocator();
113 $runtime.checkDoubleDefError( $runtime.currentSchema.getType(ct.getName()) );
114 $runtime.currentSchema.addComplexType(ct,false);
118 $runtime.checkDoubleDefError( $runtime.currentSchema.getType(st.getName()) );
119 $runtime.currentSchema.addSimpleType(st,false);
123 $runtime.checkDoubleDefError( $runtime.currentSchema.getElementDecl(e.getName()) );
124 $runtime.currentSchema.addElementDecl(e);
128 locator = $runtime.copyLocator();
132 $runtime.currentSchema.setAnnotation(anno);
136 $runtime.currentSchema.addForeignAttributes(fa);
140 $runtime.finalDefault=this.finalDefault.intValue();
144 $runtime.blockDefault=this.blockDefault.intValue();
148 $runtime.elementFormDefault = efd;
152 $runtime.attributeFormDefault = afd;
156 Attributes test = $runtime.getCurrentAttributes();
162 $runtime.currentSchema = $runtime.parser.schemaSet.createSchema(tns,$runtime.copyLocator());
164 $runtime.reportError(
166 $runtime.getLocator());
174 $runtime.reportError(
177 $runtime.chameleonMode = true;
181 if( $runtime.hasAlreadyBeenRead() ) {
183 $runtime.redirectSubtree(new DefaultHandler(),"","","" );
187 anno = (AnnotationImpl)$runtime.currentSchema.getAnnotation();
188 $runtime.blockDefault = 0;
189 $runtime.finalDefault = 0;
200 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
201 $runtime.consumeAttribute($ai);
202 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
206 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
213 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 374, null);
224 NGCCHandler h = new annotation(this, super._source, $runtime, 351, anno,AnnotationContext.SCHEMA);
229 NGCCHandler h = new includeDecl(this, super._source, $runtime, 352);
234 NGCCHandler h = new importDecl(this, super._source, $runtime, 353);
239 NGCCHandler h = new redefine(this, super._source, $runtime, 354);
244 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
250 NGCCHandler h = new simpleType(this, super._source, $runtime, 356);
255 NGCCHandler h = new complexType(this, super._source, $runtime, 357);
260 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
266 NGCCHandler h = new group(this, super._source, $runtime, 359);
271 NGCCHandler h = new notation(this, super._source, $runtime, 360);
276 NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 361);
301 if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) {
302 $runtime.consumeAttribute($ai);
303 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
307 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
313 if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) {
314 $runtime.consumeAttribute($ai);
315 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
319 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
325 if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) {
326 $runtime.consumeAttribute($ai);
327 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
331 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
338 NGCCHandler h = new annotation(this, super._source, $runtime, 362, anno,AnnotationContext.SCHEMA);
343 NGCCHandler h = new includeDecl(this, super._source, $runtime, 363);
348 NGCCHandler h = new importDecl(this, super._source, $runtime, 364);
353 NGCCHandler h = new redefine(this, super._source, $runtime, 365);
358 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
364 NGCCHandler h = new simpleType(this, super._source, $runtime, 367);
369 NGCCHandler h = new complexType(this, super._source, $runtime, 368);
374 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
380 NGCCHandler h = new group(this, super._source, $runtime, 370);
385 NGCCHandler h = new notation(this, super._source, $runtime, 371);
390 NGCCHandler h = new attributeGroupDecl(this, super._source, $runtime, 372);
395 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
411 if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) {
412 $runtime.consumeAttribute($ai);
413 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
417 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
424 $runtime.onEnterElementConsumed($__uri, $__local, $__qname, $attrs);
435 if((($ai = $runtime.getAttributeIndex("","name"))>=0 || (($ai = $runtime.getAttributeIndex("","final"))>=0 || (($ai = $runtime.getAttributeIndex("","form"))>=0 || (($ai = $runtime.getAttributeIndex("","block"))>=0 || (($ai = $runtime.getAttributeIndex("","fixed"))>=0 || (($ai = $runtime.getAttributeIndex("","default"))>=0 || ($ai = $runtime.getAttributeIndex("","abstract"))>=0))))))) {
436 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
446 if((($ai = $runtime.getAttributeIndex("","form"))>=0 || ($ai = $runtime.getAttributeIndex("","name"))>=0)) {
447 NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue);
457 if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) {
458 $runtime.consumeAttribute($ai);
459 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
463 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
469 if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
470 $runtime.consumeAttribute($ai);
471 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
475 $runtime.sendEnterElement(super._cookie, $__uri, $__local, $__qname, $attrs);
495 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
496 $runtime.consumeAttribute($ai);
497 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
501 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
508 NGCCHandler h = new foreignAttributes(this, super._source, $runtime, 374, null);
519 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
534 if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) {
535 $runtime.consumeAttribute($ai);
536 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
540 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
547 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
557 if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) {
558 $runtime.consumeAttribute($ai);
559 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
563 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
569 if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) {
570 $runtime.consumeAttribute($ai);
571 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
575 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
581 if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) {
582 $runtime.consumeAttribute($ai);
583 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
587 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
594 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
599 if(((($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","final"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","block"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","fixed"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || ((($ai = $runtime.getAttributeIndex("","default"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element"))) || (($ai = $runtime.getAttributeIndex("","abstract"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("element")))))))))) {
600 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
610 if(((($ai = $runtime.getAttributeIndex("","form"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))) || (($ai = $runtime.getAttributeIndex("","name"))>=0 && ($__uri.equals("http://www.w3.org/2001/XMLSchema") && $__local.equals("attribute"))))) {
611 NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue);
622 $runtime.onLeaveElementConsumed($__uri, $__local, $__qname);
632 if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) {
633 $runtime.consumeAttribute($ai);
634 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
638 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
644 if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
645 $runtime.consumeAttribute($ai);
646 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
650 $runtime.sendLeaveElement(super._cookie, $__uri, $__local, $__qname);
675 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
687 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
702 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
709 NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue);
724 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
735 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
746 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
753 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
763 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
774 $runtime.sendEnterAttribute(super._cookie, $__uri, $__local, $__qname);
795 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
806 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
812 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
818 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
824 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
830 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
906 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
912 $runtime.sendLeaveAttribute(super._cookie, $__uri, $__local, $__qname);
928 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
929 $runtime.consumeAttribute($ai);
930 $runtime.sendText(super._cookie, $value);
934 $runtime.sendText(super._cookie, $value);
945 if(($ai = $runtime.getAttributeIndex("","targetNamespace"))>=0) {
946 $runtime.consumeAttribute($ai);
947 $runtime.sendText(super._cookie, $value);
951 $runtime.sendText(super._cookie, $value);
957 NGCCHandler h = new ersSet(this, super._source, $runtime, 381);
963 if(($ai = $runtime.getAttributeIndex("","blockDefault"))>=0) {
964 $runtime.consumeAttribute($ai);
965 $runtime.sendText(super._cookie, $value);
969 $runtime.sendText(super._cookie, $value);
975 if(($ai = $runtime.getAttributeIndex("","elementFormDefault"))>=0) {
976 $runtime.consumeAttribute($ai);
977 $runtime.sendText(super._cookie, $value);
981 $runtime.sendText(super._cookie, $value);
988 $runtime.sendText(super._cookie, $value);
993 if(($ai = $runtime.getAttributeIndex("","finalDefault"))>=0) {
994 $runtime.consumeAttribute($ai);
995 $runtime.sendText(super._cookie, $value);
999 $runtime.sendText(super._cookie, $value);
1017 NGCCHandler h = new qualification(this, super._source, $runtime, 386);
1022 NGCCHandler h = new qualification(this, super._source, $runtime, 386);
1030 NGCCHandler h = new erSet(this, super._source, $runtime, 376);
1036 if(($ai = $runtime.getAttributeIndex("","abstract"))>=0) {
1037 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1041 if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
1042 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1046 if(($ai = $runtime.getAttributeIndex("","fixed"))>=0) {
1047 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1051 if(($ai = $runtime.getAttributeIndex("","block"))>=0) {
1052 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1056 if(($ai = $runtime.getAttributeIndex("","form"))>=0) {
1057 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1061 if(($ai = $runtime.getAttributeIndex("","final"))>=0) {
1062 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1066 if(($ai = $runtime.getAttributeIndex("","name"))>=0) {
1067 NGCCHandler h = new elementDeclBody(this, super._source, $runtime, 286, locator,true);
1080 if(($ai = $runtime.getAttributeIndex("","name"))>=0) {
1081 NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue);
1085 if(($ai = $runtime.getAttributeIndex("","form"))>=0) {
1086 NGCCHandler h = new attributeDeclBody(this, super._source, $runtime, 268, locator,false,defaultValue,fixedValue);
1101 NGCCHandler h = new qualification(this, super._source, $runtime, 391);
1106 NGCCHandler h = new qualification(this, super._source, $runtime, 391);
1114 if(($ai = $runtime.getAttributeIndex("","attributeFormDefault"))>=0) {
1115 $runtime.consumeAttribute($ai);
1116 $runtime.sendText(super._cookie, $value);
1120 $runtime.sendText(super._cookie, $value);
1126 if(($ai = $runtime.getAttributeIndex("","default"))>=0) {
1127 $runtime.consumeAttribute($ai);
1128 $runtime.sendText(super._cookie, $value);
1132 $runtime.sendText(super._cookie, $value);