Top Fields Methods
org.apache.xerces.dom3.as

public Interface ASAttributeDeclaration

extends 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.

Field Summary

Modifier and TypeField and Description
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.

public static final short
VALUE_NONE

Describes that the attribute does not have any value constraint.

Inherited from org.apache.xerces.dom3.as.ASObject:
AS_ATTRIBUTE_DECLARATIONAS_CONTENTMODELAS_ELEMENT_DECLARATIONAS_ENTITY_DECLARATIONAS_MODELAS_NOTATION_DECLARATION

Method Summary

Modifier and TypeMethod and Description
public ASDataType
getDataType()

Deprecated as a consequence of ASDataType being deprecated.
Datatype of the attribute.
public String
getDataValue()

Default or fixed value.

public short
getDefaultType()

Constraint type if any for this attribute.

public String
getEnumAttr()

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

public ASObjectList
getOwnerElements()

Deprecated as a consequence of ASObjectList being deprecated.
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.
public void
setDataType(ASDataType dataType)

Deprecated as a consequence of ASDataType being deprecated.
Datatype of the attribute.
public void
setDataValue(String dataValue)

Default or fixed value.

public void
setDefaultType(short defaultType)

Constraint type if any for this attribute.

public void
setEnumAttr(String enumAttr)

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

public void
setOwnerElements(ASObjectList ownerElements)

Deprecated as a consequence of ASObjectList being deprecated.
Owner elements ASObject of attribute, meaning that an attribute declaration can be shared by multiple elements.
Inherited from org.apache.xerces.dom3.as.ASObject:
cloneASObjectgetAsNodeTypegetLocalNamegetNamespaceURIgetNodeNamegetOwnerASModelgetPrefixsetLocalNamesetNamespaceURIsetNodeNamesetOwnerASModelsetPrefix

Field Detail

VALUE_DEFAULTback to summary
public static final short VALUE_DEFAULT

Indicates that the there is a default value constraint.

VALUE_FIXEDback to summary
public static final short VALUE_FIXED

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

VALUE_NONEback to summary
public static final short VALUE_NONE

Describes that the attribute does not have any value constraint.

Method Detail

getDataTypeback to summary
public ASDataType getDataType()

Deprecated

as a consequence of ASDataType being deprecated. See corresponding docs for further information.

Datatype of the attribute.

getDataValueback to summary
public String getDataValue()

Default or fixed value.

getDefaultTypeback to summary
public short getDefaultType()

Constraint type if any for this attribute.

getEnumAttrback to summary
public String getEnumAttr()

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

getOwnerElementsback to summary
public ASObjectList getOwnerElements()

Deprecated

as a consequence of ASObjectList being deprecated. See corresponding docs for further information.

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

setDataTypeback to summary
public void setDataType(ASDataType dataType)

Deprecated

as a consequence of ASDataType being deprecated. See corresponding docs for further information.

Datatype of the attribute.

setDataValueback to summary
public void setDataValue(String dataValue)

Default or fixed value.

setDefaultTypeback to summary
public void setDefaultType(short defaultType)

Constraint type if any for this attribute.

setEnumAttrback to summary
public void setEnumAttr(String enumAttr)

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

setOwnerElementsback to summary
public void setOwnerElements(ASObjectList ownerElements)

Deprecated

as a consequence of ASObjectList being deprecated. See corresponding docs for further information.

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