Represents a declaration of an attribute; e.g. an xsd:attribute
schema element
oe
<!ATTLIST TIME HOURS CDATA #IMPLIED>
Java binding:
package org.w3c.dom.as;
public interface ASAttributeDecl extends ASObject {
public static final short NONE = 0;
public static final short DEFAULT = 1;
public static final short FIXED = 2;
public static final short REQUIRED = 3;
public ASDataType getDataType();
public void setDataType(ASDataType DataType);
public String getDataValue();
public void setDataValue(String DataValue);
public String getEnumAttr();
public void setEnumAttr(String enumAttr);
public ASObjectList getOwnerElements();
public void setOwnerElements(ASObjectList ownerElements);
public short getDefaultType();
public void setDefaultType(short defaultType);
}
IDL:
interface ASAttributeDecl : ASObject {
// VALUE_TYPES
const unsigned short NONE = 0;
const unsigned short DEFAULT = 1;
const unsigned short FIXED = 2;
const unsigned short REQUIRED = 3;
attribute ASDataType DataType;
attribute DOMString DataValue;
attribute DOMString enumAttr;
attribute ASObjectList ownerElements;
attribute unsigned short defaultType;
};