org.apache.xerces.dom3.as
Interface ASAttributeDeclaration
- ASObject
public interface ASAttributeDeclaration
static short | VALUE_DEFAULT - Indicates that the there is a default value constraint.
|
static short | VALUE_FIXED - Indicates that there is a fixed value constraint for this attribute.
|
static short | VALUE_NONE - Describes that the attribute does not have any value constraint.
|
cloneASObject , getAsNodeType , getLocalName , getNamespaceURI , getNodeName , getOwnerASModel , getPrefix , setLocalName , setNamespaceURI , setNodeName , setOwnerASModel , setPrefix |
VALUE_DEFAULT
public static final short VALUE_DEFAULT
Indicates that the there is a default value constraint.
- 1
VALUE_FIXED
public static final short VALUE_FIXED
Indicates that there is a fixed value constraint for this attribute.
- 2
VALUE_NONE
public static final short VALUE_NONE
Describes that the attribute does not have any value constraint.
- 0
getDataType
public ASDataType getDataType()
Datatype of the attribute.
getDataValue
public String getDataValue()
Default or fixed value.
getDefaultType
public short getDefaultType()
Constraint type if any for this attribute.
getEnumAttr
public String getEnumAttr()
Valid attribute values, separated by commas, in a string.
getOwnerElements
public ASObjectList getOwnerElements()
Owner elements ASObject
of attribute, meaning that an
attribute declaration can be shared by multiple elements.
setDataType
public void setDataType(ASDataType dataType)
Datatype of the attribute.
setDataValue
public void setDataValue(String dataValue)
Default or fixed value.
setDefaultType
public void setDefaultType(short defaultType)
Constraint type if any for this attribute.
setEnumAttr
public void setEnumAttr(String enumAttr)
Valid attribute values, separated by commas, in a string.
setOwnerElements
public void setOwnerElements(ASObjectList ownerElements)
Owner elements ASObject
of attribute, meaning that an
attribute declaration can be shared by multiple elements.
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.