public interface

ASAttributeDeclaration

implements ASObject
org.apache.xerces.dom3.as.ASAttributeDeclaration

This interface is 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.

Summary

Constants
short VALUE_DEFAULT Indicates that the there is a default value constraint.
short VALUE_FIXED Indicates that there is a fixed value constraint for this attribute.
short VALUE_NONE Describes that the attribute does not have any value constraint.
[Expand]
Inherited Constants
From interface org.apache.xerces.dom3.as.ASObject
Public Methods
abstract ASDataType getDataType()
Datatype of the attribute.
abstract String getDataValue()
Default or fixed value.
abstract short getDefaultType()
Constraint type if any for this attribute.
abstract String getEnumAttr()
Valid attribute values, separated by commas, in a string.
abstract ASObjectList getOwnerElements()
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.
abstract void setDataType(ASDataType dataType)
Datatype of the attribute.
abstract void setDataValue(String dataValue)
Default or fixed value.
abstract void setDefaultType(short defaultType)
Constraint type if any for this attribute.
abstract void setEnumAttr(String enumAttr)
Valid attribute values, separated by commas, in a string.
abstract void setOwnerElements(ASObjectList ownerElements)
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.
[Expand]
Inherited Methods
From interface org.apache.xerces.dom3.as.ASObject

Constants

public static final short VALUE_DEFAULT

Indicates that the there is a default value constraint.

Constant Value: 1 (0x00000001)

public static final short VALUE_FIXED

Indicates that there is a fixed value constraint for this attribute.

Constant Value: 2 (0x00000002)

public static final short VALUE_NONE

Describes that the attribute does not have any value constraint.

Constant Value: 0 (0x00000000)

Public Methods

public abstract ASDataType getDataType ()

Datatype of the attribute.

public abstract String getDataValue ()

Default or fixed value.

public abstract short getDefaultType ()

Constraint type if any for this attribute.

public abstract String getEnumAttr ()

Valid attribute values, separated by commas, in a string.

public abstract ASObjectList getOwnerElements ()

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

public abstract void setDataType (ASDataType dataType)

Datatype of the attribute.

public abstract void setDataValue (String dataValue)

Default or fixed value.

public abstract void setDefaultType (short defaultType)

Constraint type if any for this attribute.

public abstract void setEnumAttr (String enumAttr)

Valid attribute values, separated by commas, in a string.

public abstract void setOwnerElements (ASObjectList ownerElements)

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