Top Description Methods
com.sun.xml.xsom

public Interface XSAttContainer

extends XSDeclaration
Known Direct Subinterfaces
com.sun.xml.xsom.XSAttGroupDecl, com.sun.xml.xsom.XSComplexType
Imports
java.util.Iterator, .Collection

Common aspect of XSComplexType and XSAttGroupDecl as the container of attribute uses/attribute groups.
Author
Kohsuke Kawaguchi ([email protected])

Method Summary

Modifier and TypeMethod and Description
public Collection<? extends XSAttGroupDecl>
getAttGroups()

Iterates all AttGroups which are directly referenced from this component.

public 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.

public Collection<? extends XSAttributeUse>
getAttributeUses()

Gets all the attribute uses.

public XSWildcard
public 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.

public Collection<? extends XSAttributeUse>
getDeclaredAttributeUses()

Lists all the attribute uses that are declared in this complex type.

public Iterator<? extends XSAttGroupDecl>
iterateAttGroups()

Iterates all AttGroups which are directly referenced from this component.

public Iterator<? extends XSAttributeUse>
iterateAttributeUses()

Lists all the attribute uses that are directly/indirectly referenced from this component.

public Iterator<? extends XSAttributeUse>
iterateDeclaredAttributeUses()

Lists all the attribute uses that are declared in this complex type.

Inherited from com.sun.xml.xsom.XSDeclaration:
getNamegetTargetNamespaceisAnonymousisGlobalisLocal

Method Detail

getAttGroupsback to summary
public Collection<? extends XSAttGroupDecl> getAttGroups()

Iterates all AttGroups which are directly referenced from this component.

getAttributeUseback to summary
public 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.

getAttributeUsesback to summary
public Collection<? extends XSAttributeUse> getAttributeUses()

Gets all the attribute uses.

getAttributeWildcardback to summary
public XSWildcard getAttributeWildcard()
getDeclaredAttributeUseback to summary
public 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.

getDeclaredAttributeUsesback to summary
public Collection<? extends XSAttributeUse> getDeclaredAttributeUses()

Lists all the attribute uses that are declared in this complex type.

iterateAttGroupsback to summary
public Iterator<? extends XSAttGroupDecl> iterateAttGroups()

Iterates all AttGroups which are directly referenced from this component.

iterateAttributeUsesback to summary
public 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.

iterateDeclaredAttributeUsesback to summary
public Iterator<? extends XSAttributeUse> iterateDeclaredAttributeUses()

Lists all the attribute uses that are declared in this complex type.