Package com.sun.xml.xsom
Interface XSAttContainer
- All Superinterfaces:
XSComponent
,XSDeclaration
- All Known Subinterfaces:
XSAttGroupDecl
,XSComplexType
- All Known Implementing Classes:
AttGroupDeclImpl
,ComplexTypeImpl
Common aspect of
XSComplexType
and XSAttGroupDecl
as the container of attribute uses/attribute groups.- Author:
- Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com)
-
Method Summary
Modifier and TypeMethodDescriptionCollection<? extends XSAttGroupDecl>
Iterates all AttGroups which are directly referenced from this component.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>
Gets all the attribute uses.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>
Lists all the attribute uses that are declared in this complex type.Iterator<? extends XSAttGroupDecl>
Iterates all AttGroups which are directly referenced from this component.Iterator<? extends XSAttributeUse>
Lists all the attribute uses that are directly/indirectly referenced from this component.Iterator<? extends XSAttributeUse>
Lists all the attribute uses that are declared in this complex type.Methods inherited from interface com.sun.xml.xsom.XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, getRoot, getSourceDocument, select, selectSingle, visit
Methods inherited from interface com.sun.xml.xsom.XSDeclaration
getName, getTargetNamespace, isAnonymous, isGlobal, isLocal
-
Method Details
-
getAttributeWildcard
XSWildcard getAttributeWildcard() -
getAttributeUse
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
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.
-