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.
public interface ASAttributeDeclaration extends ASObject
| Modifier and Type | Field and Description | 
|---|---|
| static short | VALUE_DEFAULTDeprecated.  Indicates that the there is a default value constraint. | 
| static short | VALUE_FIXEDDeprecated.  Indicates that there is a fixed value constraint for this attribute. | 
| static short | VALUE_NONEDeprecated.  Describes that the attribute does not have any value constraint. | 
AS_ATTRIBUTE_DECLARATION, AS_CONTENTMODEL, AS_ELEMENT_DECLARATION, AS_ENTITY_DECLARATION, AS_MODEL, AS_NOTATION_DECLARATION| Modifier and Type | Method and Description | 
|---|---|
| ASDataType | getDataType()Deprecated.  Datatype of the attribute. | 
| String | getDataValue()Deprecated.  Default or fixed value. | 
| short | getDefaultType()Deprecated.  Constraint type if any for this attribute. | 
| String | getEnumAttr()Deprecated.  Valid attribute values, separated by commas, in a string. | 
| ASObjectList | getOwnerElements()Deprecated.  Owner elements  ASObjectof attribute, meaning that an 
 attribute declaration can be shared by multiple elements. | 
| void | setDataType(ASDataType dataType)Deprecated.  Datatype of the attribute. | 
| void | setDataValue(String dataValue)Deprecated.  Default or fixed value. | 
| void | setDefaultType(short defaultType)Deprecated.  Constraint type if any for this attribute. | 
| void | setEnumAttr(String enumAttr)Deprecated.  Valid attribute values, separated by commas, in a string. | 
| void | setOwnerElements(ASObjectList ownerElements)Deprecated.  Owner elements  ASObjectof attribute, meaning that an 
 attribute declaration can be shared by multiple elements. | 
cloneASObject, getAsNodeType, getLocalName, getNamespaceURI, getNodeName, getOwnerASModel, getPrefix, setLocalName, setNamespaceURI, setNodeName, setOwnerASModel, setPrefixstatic final short VALUE_NONE
static final short VALUE_DEFAULT
static final short VALUE_FIXED
ASDataType getDataType()
void setDataType(ASDataType dataType)
String getDataValue()
void setDataValue(String dataValue)
String getEnumAttr()
void setEnumAttr(String enumAttr)
ASObjectList getOwnerElements()
ASObject of attribute, meaning that an 
 attribute declaration can be shared by multiple elements.void setOwnerElements(ASObjectList ownerElements)
ASObject of attribute, meaning that an 
 attribute declaration can be shared by multiple elements.short getDefaultType()
void setDefaultType(short defaultType)
Copyright © 2017 JBoss by Red Hat. All rights reserved.