## org.apache.xerces.impl.xs.psvi
Interface XSAttributeUse

All Superinterfaces:
  XSObject

All Known Implementing Classes:
  XSAttributeUseImpl

public interface XSAttributeUse
extends XSObject

This interface represents the Attribute Use schema component. The interface may be updated or replaced.

Method Summary
`XSAttributeDeclaration` `getAttrDeclaration()` [attribute declaration]: provides the attribute declaration itself, which will in turn determine the simple type definition used.
`short` `getConstraintType()` Value Constraint: one of default, fixed.
`java.lang.String` `getConstraintValue()` Value Constraint: The actual value.
`boolean` `getRequired()` [required]: determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.

Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject
`getName, getNamespace, getNamespaceItem, getType`

Method Detail

### getRequired

    public boolean getRequired()

  [required]: determines whether this use of an attribute declaration requires an appropriate attribute information item to be present, or merely allows it.

### getAttrDeclaration

    public XSAttributeDeclaration getAttrDeclaration()

  [attribute declaration]: provides the attribute declaration itself, which will in turn determine the simple type definition used.

### getConstraintType

    public short getConstraintType()

  Value Constraint: one of default, fixed.

### getConstraintValue

    public java.lang.String getConstraintValue()

  Value Constraint: The actual value.

Copyright © 1999-2003 Apache XML Project. All Rights Reserved.