private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
private TypeUse bindAttDecl(XSAttributeDecl decl) { SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); stb.refererStack.push( decl ); try { return stb.build(decl.getType()); } finally { stb.refererStack.pop(); } }
public TypeUse listSimpleType(XSListSimpleType type) { // bind item type individually and then compose them into a list // facets on the list shouldn't be taken account when binding item types, // so weed to call build(), not compose(). XSSimpleType itemType = type.getItemType(); refererStack.push(itemType); TypeUse tu = TypeUseFactory.makeCollection(build(type.getItemType())); refererStack.pop(); return tu; }
public TypeUse listSimpleType(XSListSimpleType type) { // bind item type individually and then compose them into a list // facets on the list shouldn't be taken account when binding item types, // so weed to call build(), not compose(). XSSimpleType itemType = type.getItemType(); refererStack.push(itemType); TypeUse tu = TypeUseFactory.makeCollection(build(type.getItemType())); refererStack.pop(); return tu; }
public TypeUse listSimpleType(XSListSimpleType type) { // bind item type individually and then compose them into a list // facets on the list shouldn't be taken account when binding item types, // so weed to call build(), not compose(). XSSimpleType itemType = type.getItemType(); refererStack.push(itemType); TypeUse tu = TypeUseFactory.makeCollection(build(type.getItemType())); refererStack.pop(); return tu; }
public TypeUse bindToType( XSType t, XSComponent referer ) { if(t instanceof XSSimpleType) { return Ring.get(SimpleTypeBuilder.class).build((XSSimpleType)t); } else return (CNonElement)_bindToClass(t,referer,false); }
public TypeUse bindToType( XSType t, XSComponent referer ) { if(t instanceof XSSimpleType) { return Ring.get(SimpleTypeBuilder.class).build((XSSimpleType)t); } else return (CNonElement)_bindToClass(t,referer,false); }
public TypeUse bindToType( XSType t, XSComponent referer ) { if(t instanceof XSSimpleType) { return Ring.get(SimpleTypeBuilder.class).build((XSSimpleType)t); } else return (CNonElement)_bindToClass(t,referer,false); }
public TypeUse listSimpleType(XSListSimpleType type) { // bind item type individually and then compose them into a list // facets on the list shouldn't be taken account when binding item types, // so weed to call build(), not compose(). XSSimpleType itemType = type.getItemType(); refererStack.push(itemType); TypeUse tu = TypeUseFactory.makeCollection(build(type.getItemType())); refererStack.pop(); return tu; }
public TypeUse bindToType( XSType t, XSComponent referer ) { if(t instanceof XSSimpleType) { return Ring.get(SimpleTypeBuilder.class).build((XSSimpleType)t); } else return (CNonElement)_bindToClass(t,referer,false); }
public TypeUse bindToType( XSType t, XSComponent referer ) { if(t instanceof XSSimpleType) { return Ring.get(SimpleTypeBuilder.class).build((XSSimpleType)t); } else return (CNonElement)_bindToClass(t,referer,false); }
public TypeUse listSimpleType(XSListSimpleType type) { // bind item type individually and then compose them into a list // facets on the list shouldn't be taken account when binding item types, // so weed to call build(), not compose(). XSSimpleType itemType = type.getItemType(); refererStack.push(itemType); TypeUse tu = TypeUseFactory.makeCollection(build(type.getItemType())); refererStack.pop(); return tu; }
public void simpleType(XSSimpleType st) { builder.recordBindingMode(ct,ComplexTypeBindingMode.NORMAL); simpleTypeBuilder.refererStack.push(ct); TypeUse use = simpleTypeBuilder.build(st); simpleTypeBuilder.refererStack.pop(); BIProperty prop = BIProperty.getCustomization(ct); CPropertyInfo p = prop.createValueProperty("Value",false,ct,use, BGMBuilder.getName(st)); selector.getCurrentBean().addProperty(p); }
public void simpleType(XSSimpleType st) { builder.recordBindingMode(ct,ComplexTypeBindingMode.NORMAL); simpleTypeBuilder.refererStack.push(ct); TypeUse use = simpleTypeBuilder.build(st); simpleTypeBuilder.refererStack.pop(); BIProperty prop = BIProperty.getCustomization(ct); CPropertyInfo p = prop.createValueProperty("Value",false,ct,use, BGMBuilder.getName(st)); selector.getCurrentBean().addProperty(p); }
public void simpleType(XSSimpleType st) { builder.recordBindingMode(ct,ComplexTypeBindingMode.NORMAL); simpleTypeBuilder.refererStack.push(ct); TypeUse use = simpleTypeBuilder.build(st); simpleTypeBuilder.refererStack.pop(); BIProperty prop = BIProperty.getCustomization(ct); CPropertyInfo p = prop.createValueProperty("Value",false,ct,use, BGMBuilder.getName(st)); selector.getCurrentBean().addProperty(p); }
public void simpleType(XSSimpleType st) { builder.recordBindingMode(ct,ComplexTypeBindingMode.NORMAL); simpleTypeBuilder.refererStack.push(ct); TypeUse use = simpleTypeBuilder.build(st); simpleTypeBuilder.refererStack.pop(); BIProperty prop = BIProperty.getCustomization(ct); CPropertyInfo p = prop.createValueProperty("Value",false,ct,use, BGMBuilder.getName(st)); selector.getCurrentBean().addProperty(p); }
public void simpleType(XSSimpleType st) { builder.recordBindingMode(ct,ComplexTypeBindingMode.NORMAL); simpleTypeBuilder.refererStack.push(ct); TypeUse use = simpleTypeBuilder.build(st); simpleTypeBuilder.refererStack.pop(); BIProperty prop = BIProperty.getCustomization(ct); CPropertyInfo p = prop.createValueProperty("Value",false,ct,use, BGMBuilder.getName(st)); selector.getCurrentBean().addProperty(p); }