public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if(enumBaseTypes==null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA,"string")); this.defaultProperty = new BIProperty(getLocation(),null,null,null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty ); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if(enumBaseTypes==null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA,"string")); this.defaultProperty = new BIProperty(getLocation(),null,null,null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty ); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if(enumBaseTypes==null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA,"string")); this.defaultProperty = new BIProperty(getLocation(),null,null,null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty ); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if(enumBaseTypes==null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA,"string")); this.defaultProperty = new BIProperty(getLocation(),null,null,null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty ); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
public void setParent(BindInfo parent) { super.setParent(parent); // fill in the remaining default values if(enumBaseTypes==null) enumBaseTypes = Collections.singleton(new QName(WellKnownNamespace.XML_SCHEMA,"string")); this.defaultProperty = new BIProperty(getLocation(),null,null,null, collectionType, fixedAttributeAsConstantProperty, optionalProperty, generateElementProperty ); defaultProperty.setParent(parent); // don't forget to initialize the defaultProperty }
/** * Moves global BIConversion to the right object. */ public void dispatchGlobalConversions( XSSchemaSet schema ) { // also set parent to the global conversions for( Map.Entry<QName,BIConversion> e : globalConversions.entrySet() ) { QName name = e.getKey(); BIConversion conv = e.getValue(); XSSimpleType st = schema.getSimpleType(name.getNamespaceURI(),name.getLocalPart()); if(st==null) { Ring.get(ErrorReceiver.class).error( getLocation(), Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(name) ); continue; // abort } getBuilder().getOrCreateBindInfo(st).addDecl(conv); } }
/** * Moves global BIConversion to the right object. */ public void dispatchGlobalConversions( XSSchemaSet schema ) { // also set parent to the global conversions for( Map.Entry<QName,BIConversion> e : globalConversions.entrySet() ) { QName name = e.getKey(); BIConversion conv = e.getValue(); XSSimpleType st = schema.getSimpleType(name.getNamespaceURI(),name.getLocalPart()); if(st==null) { Ring.get(ErrorReceiver.class).error( getLocation(), Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(name) ); continue; // abort } getBuilder().getOrCreateBindInfo(st).addDecl(conv); } }
/** * Moves global BIConversion to the right object. */ public void dispatchGlobalConversions( XSSchemaSet schema ) { // also set parent to the global conversions for( Map.Entry<QName,BIConversion> e : globalConversions.entrySet() ) { QName name = e.getKey(); BIConversion conv = e.getValue(); XSSimpleType st = schema.getSimpleType(name.getNamespaceURI(),name.getLocalPart()); if(st==null) { Ring.get(ErrorReceiver.class).error( getLocation(), Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(name) ); continue; // abort } getBuilder().getOrCreateBindInfo(st).addDecl(conv); } }
/** * Moves global BIConversion to the right object. */ public void dispatchGlobalConversions( XSSchemaSet schema ) { // also set parent to the global conversions for( Map.Entry<QName,BIConversion> e : globalConversions.entrySet() ) { QName name = e.getKey(); BIConversion conv = e.getValue(); XSSimpleType st = schema.getSimpleType(name.getNamespaceURI(),name.getLocalPart()); if(st==null) { Ring.get(ErrorReceiver.class).error( getLocation(), Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(name) ); continue; // abort } getBuilder().getOrCreateBindInfo(st).addDecl(conv); } }
/** * Moves global BIConversion to the right object. */ public void dispatchGlobalConversions( XSSchemaSet schema ) { // also set parent to the global conversions for( Map.Entry<QName,BIConversion> e : globalConversions.entrySet() ) { QName name = e.getKey(); BIConversion conv = e.getValue(); XSSimpleType st = schema.getSimpleType(name.getNamespaceURI(),name.getLocalPart()); if(st==null) { Ring.get(ErrorReceiver.class).error( getLocation(), Messages.ERR_UNDEFINED_SIMPLE_TYPE.format(name) ); continue; // abort } getBuilder().getOrCreateBindInfo(st).addDecl(conv); } }
getErrorReporter().error( gb.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS); getErrorReporter().error( globalBinding.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);
getErrorReporter().error( gb.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS); getErrorReporter().error( globalBinding.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);
getErrorReporter().error( gb.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS); getErrorReporter().error( globalBinding.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);
getErrorReporter().error( gb.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS); getErrorReporter().error( globalBinding.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);
getErrorReporter().error( gb.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS); getErrorReporter().error( globalBinding.getLocation(), Messages.ERR_MULTIPLE_GLOBAL_BINDINGS_OTHER);