public Iterator<XSAttributeUse> iterateAttributeUses() { return getAttributeUses().iterator(); }
private void action0()throws SAXException { owner.setWildcard(wildcard); }
private void action4()throws SAXException { if("prohibited".equals(use)) owner.addProhibitedAttribute(attDeclName); else owner.addAttributeUse(attDeclName, new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), "required".equals(use))); }
public Iterator<XSAttributeUse> iterateAttributeUses() { XSComplexType baseType = getBaseType().asComplexType(); if( baseType==null ) return super.iterateAttributeUses(); return new Iterators.Union<XSAttributeUse>( new Iterators.Filter<XSAttributeUse>(baseType.iterateAttributeUses()) { protected boolean matches(XSAttributeUse value) { XSAttributeDecl u = value.getDecl(); UName n = new UName(u.getTargetNamespace(),u.getName()); return !prohibitedAtts.contains(n); } }, super.iterateAttributeUses() ); }
/** * Returns the attribute uses by looking at attribute groups and etc. * Searching for the base type is done in {@link ComplexTypeImpl}. */ public Collection<XSAttributeUse> getAttributeUses() { // TODO: this is fairly inefficient List<XSAttributeUse> v = new ArrayList<XSAttributeUse>(); v.addAll(attributes.values()); for( XSAttGroupDecl agd : getAttGroups() ) v.addAll(agd.getAttributeUses()); return v; } public Iterator<XSAttributeUse> iterateAttributeUses() {
private void action2()throws SAXException { owner.addAttGroup(new DelayedRef.AttGroup( $runtime, locator, $runtime.currentSchema, groupName )); }
private void action4()throws SAXException { if("prohibited".equals(use)) owner.addProhibitedAttribute(attDeclName); else owner.addAttributeUse(attDeclName, new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), "required".equals(use))); }
public Iterator<XSAttributeUse> iterateAttributeUses() { XSComplexType baseType = getBaseType().asComplexType(); if( baseType==null ) return super.iterateAttributeUses(); return new Iterators.Union<XSAttributeUse>( new Iterators.Filter<XSAttributeUse>(baseType.iterateAttributeUses()) { protected boolean matches(XSAttributeUse value) { XSAttributeDecl u = value.getDecl(); UName n = new UName(u.getTargetNamespace(),u.getName()); return !prohibitedAtts.contains(n); } }, super.iterateAttributeUses() ); }
/** * Returns the attribute uses by looking at attribute groups and etc. * Searching for the base type is done in {@link ComplexTypeImpl}. */ public Collection<XSAttributeUse> getAttributeUses() { // TODO: this is fairly inefficient List<XSAttributeUse> v = new ArrayList<XSAttributeUse>(); v.addAll(attributes.values()); for( XSAttGroupDecl agd : getAttGroups() ) v.addAll(agd.getAttributeUses()); return v; } public Iterator<XSAttributeUse> iterateAttributeUses() {
private void action2()throws SAXException { owner.addAttGroup(new DelayedRef.AttGroup( $runtime, locator, $runtime.currentSchema, groupName )); }
private void action4()throws SAXException { if("prohibited".equals(use)) owner.addProhibitedAttribute(attDeclName); else owner.addAttributeUse(attDeclName, new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), "required".equals(use))); }
public Iterator<XSAttributeUse> iterateAttributeUses() { return getAttributeUses().iterator(); }
public Iterator<XSAttributeUse> iterateAttributeUses() { XSComplexType baseType = getBaseType().asComplexType(); if( baseType==null ) return super.iterateAttributeUses(); return new Iterators.Union<XSAttributeUse>( new Iterators.Filter<XSAttributeUse>(baseType.iterateAttributeUses()) { protected boolean matches(XSAttributeUse value) { XSAttributeDecl u = value.getDecl(); UName n = new UName(u.getTargetNamespace(),u.getName()); return !prohibitedAtts.contains(n); } }, super.iterateAttributeUses() ); }
private void action0()throws SAXException { owner.setWildcard(wildcard); }
/** * Returns the attribute uses by looking at attribute groups and etc. * Searching for the base type is done in {@link ComplexTypeImpl}. */ public Collection<XSAttributeUse> getAttributeUses() { // TODO: this is fairly inefficient List<XSAttributeUse> v = new ArrayList<XSAttributeUse>(); v.addAll(attributes.values()); for( XSAttGroupDecl agd : getAttGroups() ) v.addAll(agd.getAttributeUses()); return v; } public Iterator<XSAttributeUse> iterateAttributeUses() {
private void action2()throws SAXException { owner.addAttGroup(new DelayedRef.AttGroup( $runtime, locator, $runtime.currentSchema, groupName )); }
private void action4()throws SAXException { if("prohibited".equals(use)) owner.addProhibitedAttribute(attDeclName); else owner.addAttributeUse(attDeclName, new AttributeUseImpl( $runtime.document, annotation,locator,fa,decl, $runtime.createXmlString(defaultValue), $runtime.createXmlString(fixedValue), "required".equals(use))); }
public Iterator<XSAttributeUse> iterateAttributeUses() { return getAttributeUses().iterator(); }
public Iterator<XSAttributeUse> iterateAttributeUses() { XSComplexType baseType = getBaseType().asComplexType(); if( baseType==null ) return super.iterateAttributeUses(); return new Iterators.Union<XSAttributeUse>( new Iterators.Filter<XSAttributeUse>(baseType.iterateAttributeUses()) { protected boolean matches(XSAttributeUse value) { XSAttributeDecl u = value.getDecl(); UName n = new UName(u.getTargetNamespace(),u.getName()); return !prohibitedAtts.contains(n); } }, super.iterateAttributeUses() ); }
private void action0()throws SAXException { owner.setWildcard(wildcard); }