FileDocCategorySizeDatePackage
ASAttributeDeclaration.javaAPI DocJava SE 5 API2708Fri Aug 26 14:55:44 BST 2005com.sun.org.apache.xerces.internal.dom3.as

ASAttributeDeclaration

public interface ASAttributeDeclaration implements ASObject
deprecated
An attribute declaration in the context of a ASObject.The constant 'REQUIRED' is missing from this interface.

See also the Document Object Model (DOM) Level 3 Abstract Schemas and Load and Save Specification.

Fields Summary
public static final short
VALUE_NONE
Describes that the attribute does not have any value constraint.
public static final short
VALUE_DEFAULT
Indicates that the there is a default value constraint.
public static final short
VALUE_FIXED
Indicates that there is a fixed value constraint for this attribute.
Constructors Summary
Methods Summary
public ASDataTypegetDataType()
Datatype of the attribute.

public java.lang.StringgetDataValue()
Default or fixed value.

public shortgetDefaultType()
Constraint type if any for this attribute.

public java.lang.StringgetEnumAttr()
Valid attribute values, separated by commas, in a string.

public ASObjectListgetOwnerElements()
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.

public voidsetDataType(ASDataType dataType)
Datatype of the attribute.

public voidsetDataValue(java.lang.String dataValue)
Default or fixed value.

public voidsetDefaultType(short defaultType)
Constraint type if any for this attribute.

public voidsetEnumAttr(java.lang.String enumAttr)
Valid attribute values, separated by commas, in a string.

public voidsetOwnerElements(ASObjectList ownerElements)
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.