XSOM 20110809-redhat-3

com.sun.xml.xsom
Interface XSAttContainer

All Superinterfaces:
XSComponent, XSDeclaration
All Known Subinterfaces:
XSAttGroupDecl, XSComplexType
All Known Implementing Classes:
AttGroupDeclImpl, ComplexTypeImpl

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
 Collection<? extends XSAttGroupDecl> getAttGroups()
          Iterates all AttGroups which are directly referenced from this component.
 XSAttributeUse getAttributeUse(String nsURI, String localName)
          Looks for the attribute use with the specified name from all the attribute uses that are directly/indirectly referenced from this component.
 Collection<? extends XSAttributeUse> getAttributeUses()
          Gets all the attribute uses.
 XSWildcard getAttributeWildcard()
           
 XSAttributeUse getDeclaredAttributeUse(String nsURI, String localName)
          Looks for the attribute use with the specified name from the attribute uses which are declared in this complex type.
 Collection<? extends XSAttributeUse> getDeclaredAttributeUses()
          Lists all the attribute uses that are declared in this complex type.
 Iterator<? extends XSAttGroupDecl> iterateAttGroups()
          Iterates all AttGroups which are directly referenced from this component.
 Iterator<? extends XSAttributeUse> iterateAttributeUses()
          Lists all the attribute uses that are directly/indirectly referenced from this component.
 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(String nsURI,
                               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

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

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


getDeclaredAttributeUse

XSAttributeUse getDeclaredAttributeUse(String nsURI,
                                       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

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


getDeclaredAttributeUses

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


iterateAttGroups

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


getAttGroups

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


XSOM 20110809-redhat-3

Copyright © 2012 Oracle. All Rights Reserved.