org.apache.xerces.impl.xs.psvi
Interface XSAttributeDeclaration

All Superinterfaces:
XSObject
All Known Implementing Classes:
XSAttributeDecl

public interface XSAttributeDeclaration
extends XSObject

3.2.1 The Attribute Declaration Schema Component.

Version:
$Id: XSAttributeDeclaration.java,v 1.1 2002/05/13 21:31:34 sandygao Exp $
Author:
Elena Litani, IBM

Method Summary
 XSAnnotation getAnnotation()
          Optional.
 short getConstraintType()
          Value constraint: one of default, fixed.
 java.lang.String getConstraintValue()
          Value constraint: The actual value (with respect to the {type definition}) Should we return Object instead of DOMString?
 XSComplexTypeDefinition getEnclosingCTDefinition()
          Locally scoped declarations are available for use only within the complex type definition identified by the scope property.
 short getScope()
          Optional.
 XSSimpleTypeDefinition getTypeDefinition()
          A simple type definition
 
Methods inherited from interface org.apache.xerces.impl.xs.psvi.XSObject
getName, getNamespace, getType
 

Method Detail

getTypeDefinition

public XSSimpleTypeDefinition getTypeDefinition()
A simple type definition


getScope

public short getScope()
Optional. Either global or a complex type definition ( ctDefinition). This property is absent in the case of declarations within attribute group definitions: their scope will be determined when they are used in the construction of complex type definitions.


getEnclosingCTDefinition

public XSComplexTypeDefinition getEnclosingCTDefinition()
Locally scoped declarations are available for use only within the complex type definition identified by the scope property.


getConstraintType

public short getConstraintType()
Value constraint: one of default, fixed.


getConstraintValue

public java.lang.String getConstraintValue()
Value constraint: The actual value (with respect to the {type definition}) Should we return Object instead of DOMString?


getAnnotation

public XSAnnotation getAnnotation()
Optional. Annotation.



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