private QName getTypeName(XSComplexType type) { if(type.getRedefinedBy()!=null) return null; else return getName(type); }
private QName getTypeName(XSComplexType type) { if(type.getRedefinedBy()!=null) return null; else return getName(type); }
private QName getTypeName(XSComplexType type) { if(type.getRedefinedBy()!=null) return null; else return getName(type); }
private QName getTypeName(XSComplexType type) { if(type.getRedefinedBy()!=null) return null; else return getName(type); }
public Element elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); GElementImpl e = decls.get(n); if(e==null) decls.put(n,e=new GElementImpl(n,decl)); e.particles.add(current); assert current.getTerm()==decl; return e; }
public Element elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); GElementImpl e = decls.get(n); if(e==null) decls.put(n,e=new GElementImpl(n,decl)); e.particles.add(current); assert current.getTerm()==decl; return e; }
public Element elementDecl(XSElementDecl decl) { QName n = BGMBuilder.getName(decl); GElementImpl e = decls.get(n); if(e==null) decls.put(n,e=new GElementImpl(n,decl)); e.particles.add(current); assert current.getTerm()==decl; return e; }
public static QName getSimpleTypeName(XSElementDecl decl) { if(decl==null) return null; QName typeName = null; if(decl.getType().isSimpleType()) typeName = BGMBuilder.getName(decl.getType()); return typeName; }
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); }
protected final void createSimpleTypeProperty(XSSimpleType type,String propName) { BIProperty prop = BIProperty.getCustomization(type); SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); // since we are building the simple type here, use buildDef CPropertyInfo p = prop.createValueProperty(propName,false,type,stb.buildDef(type),BGMBuilder.getName(type)); getCurrentBean().addProperty(p); }
protected final void createSimpleTypeProperty(XSSimpleType type,String propName) { BIProperty prop = BIProperty.getCustomization(type); SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); // since we are building the simple type here, use buildDef CPropertyInfo p = prop.createValueProperty(propName,false,type,stb.buildDef(type),BGMBuilder.getName(type)); getCurrentBean().addProperty(p); }
protected final void createSimpleTypeProperty(XSSimpleType type,String propName) { BIProperty prop = BIProperty.getCustomization(type); SimpleTypeBuilder stb = Ring.get(SimpleTypeBuilder.class); // since we are building the simple type here, use buildDef CPropertyInfo p = prop.createValueProperty(propName,false,type,stb.buildDef(type),BGMBuilder.getName(type)); getCurrentBean().addProperty(p); }
public CElement simpleType(XSSimpleType type) { CElement c = allow(type,type.getName()); if(c!=null) return c; if(getGlobalBinding().isSimpleTypeSubstitution() && type.isGlobal()) { return new CClassInfo(model,selector.getClassScope(), deriveName(type), type.getLocator(), getName(type), null, type, null ); } return never(); }
public CElement simpleType(XSSimpleType type) { CElement c = allow(type,type.getName()); if(c!=null) return c; if(getGlobalBinding().isSimpleTypeSubstitution() && type.isGlobal()) { return new CClassInfo(model,selector.getClassScope(), deriveName(type), type.getLocator(), getName(type), null, type, null ); } return never(); }
public CElement simpleType(XSSimpleType type) { CElement c = allow(type,type.getName()); if(c!=null) return c; if(getGlobalBinding().isSimpleTypeSubstitution() && type.isGlobal()) { return new CClassInfo(model,selector.getClassScope(), deriveName(type), type.getLocator(), getName(type), null, type, null ); } return never(); }
public CElement simpleType(XSSimpleType type) { CElement c = allow(type,type.getName()); if(c!=null) return c; if(getGlobalBinding().isSimpleTypeSubstitution() && type.isGlobal()) { return new CClassInfo(model,selector.getClassScope(), deriveName(type), type.getLocator(), getName(type), null, type, null ); } return never(); }
public CElement simpleType(XSSimpleType type) { CElement c = allow(type,type.getName()); if(c!=null) return c; if(getGlobalBinding().isSimpleTypeSubstitution() && type.isGlobal()) { return new CClassInfo(model,selector.getClassScope(), deriveName(type), type.getLocator(), getName(type), null, type, null ); } return never(); }