FileDocCategorySizeDatePackage
XSAttributeDeclaration.javaAPI DocJava SE 5 API3865Fri Aug 26 14:55:52 BST 2005com.sun.org.apache.xerces.internal.impl.xs.psvi

XSAttributeDeclaration

public interface XSAttributeDeclaration implements XSObject
The interfaces represents the Attribute Declaration schema component. The interface may be updated or replaced.

Fields Summary
Constructors Summary
Methods Summary
public XSAnnotationgetAnnotation()
Optional. Annotation.

public shortgetConstraintType()
Value constraint: one of VC_NONE, VC_DEFAULT, VC_FIXED.

public java.lang.StringgetConstraintValue()
Value constraint: The actual value with respect to the [type definition ].

public XSComplexTypeDefinitiongetEnclosingCTDefinition()
The complex type definition for locally scoped declarations (see scope).

public shortgetScope()
Optional. One of SCOPE_GLOBAL, SCOPE_LOCAL, or SCOPE_ABSENT. If the scope is local, then the enclosingCTDefinition is present.

public XSSimpleTypeDefinitiongetTypeDefinition()
[type definition]: A simple type definition