Represents a declaration of an attribute; e.g. an xsd:attribute
schema element
oe
<!ATTLIST TIME HOURS CDATA #IMPLIED>
IDL:
interface ASAttributeDeclaration : ASNode {
const short NO_VALUE_CONSTRAINT = 0;
const short DEFAULT_VALUE_CONSTRAINT = 1;
const short FIXED_VALUE_CONSTRAINT = 2;
attribute DOMString attrName;
attribute ASDataType attrType;
attribute DOMString attributeValue;
attribute DOMString enumAttr;
attribute ASNodeList ownerElement;
attribute short constraintType;
};
Java binding:
package org.w3c.dom.abstractSchemas;
public interface ASAttributeDeclaration extends ASNode {
public static final short NO_VALUE_CONSTRAINT = 0;
public static final short DEFAULT_VALUE_CONSTRAINT = 1;
public static final short FIXED_VALUE_CONSTRAINT = 2;
public String getAttrName();
public void setAttrName(String attrName);
public ASDataType getAttrType();
public void setAttrType(ASDataType attrType);
public String getAttributeValue();
public void setAttributeValue(String attributeValue);
public String getEnumAttr();
public void setEnumAttr(String enumAttr);
public ASNodeList getOwnerElement();
public void setOwnerElement(ASNodeList ownerElement);
public short getConstraintType();
public void setConstraintType(short constraintType);
}