com.sun.xml.xsom
Interface XSAttContainer

All Superinterfaces:
XSComponent, XSDeclaration
All Known Subinterfaces:
XSAttGroupDecl, XSComplexType

public interface XSAttContainer
extends XSDeclaration

Common aspect of XSComplexType and XSAttGroupDecl as the container of attribute uses/attribute groups.

Author:
Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)

Method Summary
 java.util.Collection<? extends XSAttGroupDecl> getAttGroups()
          Iterates all AttGroups which are directly referenced from this component.
 XSAttributeUse getAttributeUse(java.lang.String nsURI, java.lang.String localName)
          Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.
 java.util.Collection<? extends XSAttributeUse> getAttributeUses()
          Gets all the attribute uses.
 XSWildcard getAttributeWildcard()
           
 XSAttributeUse getDeclaredAttributeUse(java.lang.String nsURI, java.lang.String localName)
          Looks for the attribute use with the specified name from the attribute uses which are declared in this complex type.
 java.util.Collection<? extends XSAttributeUse> getDeclaredAttributeUses()
          Lists all the attribute uses that are declared in this complex type.
 java.util.Iterator<? extends XSAttGroupDecl> iterateAttGroups()
          Iterates all AttGroups which are directly referenced from this component.
 java.util.Iterator<? extends XSAttributeUse> iterateAttributeUses()
          Lists all the attribute uses that are directly/indirectly referenced from this component.
 java.util.Iterator<? extends XSAttributeUse> iterateDeclaredAttributeUses()
          Lists all the attribute uses that are declared in this complex type.
 
Methods inherited from interface com.sun.xml.xsom.XSDeclaration
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
 
Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
 

Method Detail

getAttributeWildcard

XSWildcard getAttributeWildcard()

getAttributeUse

XSAttributeUse getAttributeUse(java.lang.String nsURI,
                               java.lang.String localName)
Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.

This is the exact implementation of the "attribute use" schema component.


iterateAttributeUses

java.util.Iterator<? extends XSAttributeUse> iterateAttributeUses()
Lists all the attribute uses that are directly/indirectly referenced from this component.

This is the exact implementation of the "attribute use" schema component.


getAttributeUses

java.util.Collection<? extends XSAttributeUse> getAttributeUses()
Gets all the attribute uses.


getDeclaredAttributeUse

XSAttributeUse getDeclaredAttributeUse(java.lang.String nsURI,
                                       java.lang.String localName)
Looks for the attribute use with the specified name from the attribute uses which are declared in this complex type. This does not include att uses declared in att groups that are referenced from this complex type, nor does include att uses declared in base types.


iterateDeclaredAttributeUses

java.util.Iterator<? extends XSAttributeUse> iterateDeclaredAttributeUses()
Lists all the attribute uses that are declared in this complex type.


getDeclaredAttributeUses

java.util.Collection<? extends XSAttributeUse> getDeclaredAttributeUses()
Lists all the attribute uses that are declared in this complex type.


iterateAttGroups

java.util.Iterator<? extends XSAttGroupDecl> iterateAttGroups()
Iterates all AttGroups which are directly referenced from this component.


getAttGroups

java.util.Collection<? extends XSAttGroupDecl> getAttGroups()
Iterates all AttGroups which are directly referenced from this component.