public void complexType(XSComplexType type) { if (shouldWalk && visited.add(type.getContentType())) { type.getContentType().visit(this); for (XSAttributeUse u : type.getAttributeUses()) if (shouldWalk && visited.add(u)) attributeUse(u); } }
public void complexType(XSComplexType type) { if(check(type)) { // don't need to check the base type -- it must be global, thus // it is covered already type.getContentType().visit(this); attContainer(type); } }
public void complexType(XSComplexType type) { if(check(type)) { // don't need to check the base type -- it must be global, thus // it is covered already type.getContentType().visit(this); attContainer(type); } }
public void complexType(XSComplexType type) { if(check(type)) { // don't need to check the base type -- it must be global, thus // it is covered already type.getContentType().visit(this); attContainer(type); } }
public void build(final XSComplexType ct) { XSContentType contentType = ct.getContentType(); contentType.visit(new XSContentTypeVisitor() { 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 particle(XSParticle p) { // determine the binding of this complex type. builder.recordBindingMode(ct, bgmBuilder.getParticleBinder().checkFallback(p)?FALLBACK_CONTENT:NORMAL); bgmBuilder.getParticleBinder().build(p); XSTerm term = p.getTerm(); if(term.isModelGroup() && term.asModelGroup().getCompositor()==XSModelGroup.ALL) selector.getCurrentBean().setOrdered(false); } public void empty(XSContentType e) { builder.recordBindingMode(ct,NORMAL); } }); // adds attributes and we are through. green.attContainer(ct); }
public void complexType(XSComplexType type) { if(check(type)) { // don't need to check the base type -- it must be global, thus // it is covered already type.getContentType().visit(this); attContainer(type); } }
public void build(final XSComplexType ct) { XSContentType contentType = ct.getContentType(); contentType.visit(new XSContentTypeVisitor() { 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 particle(XSParticle p) { // determine the binding of this complex type. builder.recordBindingMode(ct, bgmBuilder.getParticleBinder().checkFallback(p)?FALLBACK_CONTENT:NORMAL); bgmBuilder.getParticleBinder().build(p); XSTerm term = p.getTerm(); if(term.isModelGroup() && term.asModelGroup().getCompositor()==XSModelGroup.ALL) selector.getCurrentBean().setOrdered(false); } public void empty(XSContentType e) { builder.recordBindingMode(ct,NORMAL); } }); // adds attributes and we are through. green.attContainer(ct); }
public void build(final XSComplexType ct) { XSContentType contentType = ct.getContentType(); contentType.visit(new XSContentTypeVisitor() { 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 particle(XSParticle p) { // determine the binding of this complex type. builder.recordBindingMode(ct, bgmBuilder.getParticleBinder().checkFallback(p)?FALLBACK_CONTENT:NORMAL); bgmBuilder.getParticleBinder().build(p); XSTerm term = p.getTerm(); if(term.isModelGroup() && term.asModelGroup().getCompositor()==XSModelGroup.ALL) selector.getCurrentBean().setOrdered(false); } public void empty(XSContentType e) { builder.recordBindingMode(ct,NORMAL); } }); // adds attributes and we are through. green.attContainer(ct); }
public void build(final XSComplexType ct) { XSContentType contentType = ct.getContentType(); contentType.visit(new XSContentTypeVisitor() { 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 particle(XSParticle p) { // determine the binding of this complex type. builder.recordBindingMode(ct, bgmBuilder.getParticleBinder().checkFallback(p)?FALLBACK_CONTENT:NORMAL); bgmBuilder.getParticleBinder().build(p); XSTerm term = p.getTerm(); if(term.isModelGroup() && term.asModelGroup().getCompositor()==XSModelGroup.ALL) selector.getCurrentBean().setOrdered(false); } public void empty(XSContentType e) { builder.recordBindingMode(ct,NORMAL); } }); // adds attributes and we are through. green.attContainer(ct); }
public void complexType(XSComplexType type) { if(check(type)) { // don't need to check the base type -- it must be global, thus // it is covered already type.getContentType().visit(this); attContainer(type); } }
public void build(final XSComplexType ct) { XSContentType contentType = ct.getContentType(); contentType.visit(new XSContentTypeVisitor() { 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 particle(XSParticle p) { // determine the binding of this complex type. builder.recordBindingMode(ct, bgmBuilder.getParticleBinder().checkFallback(p)?FALLBACK_CONTENT:NORMAL); bgmBuilder.getParticleBinder().build(p); XSTerm term = p.getTerm(); if(term.isModelGroup() && term.asModelGroup().getCompositor()==XSModelGroup.ALL) selector.getCurrentBean().setOrdered(false); } public void empty(XSContentType e) { builder.recordBindingMode(ct,NORMAL); } }); // adds attributes and we are through. green.attContainer(ct); }
public void complexType(XSComplexType ct) { if(!visited.add(ct)) return; refer(ct,ct.getBaseType()); ct.getBaseType().visit(this); ct.getContentType().visit(this); }
public void complexType(XSComplexType ct) { if(!visited.add(ct)) return; refer(ct,ct.getBaseType()); ct.getBaseType().visit(this); ct.getContentType().visit(this); }
public void complexType(XSComplexType ct) { if(!visited.add(ct)) return; refer(ct,ct.getBaseType()); ct.getBaseType().visit(this); ct.getContentType().visit(this); }
public void complexType(XSComplexType ct) { if(!visited.add(ct)) return; refer(ct,ct.getBaseType()); ct.getBaseType().visit(this); ct.getContentType().visit(this); }
public void complexType(XSComplexType ct) { if(!visited.add(ct)) return; refer(ct,ct.getBaseType()); ct.getBaseType().visit(this); ct.getContentType().visit(this); }
public void complexType(XSComplexType type) { if (shouldWalk() && addToVisited(type.getContentType())) type.getContentType().visit(this); }