Represents a declaration of an element such as
<!ELEMENT TIME (#PCDATA)>
or an xsd:element
schema element
Java binding:
package org.w3c.dom.as;
public interface ASElementDecl extends ASObject {
// CONTENT_MODEL_TYPES
public static final short EMPTY_CONTENTTYPE = 1;
public static final short ANY_CONTENTTYPE = 2;
public static final short MIXED_CONTENTTYPE = 3;
public static final short ELEMENTS_CONTENTTYPE = 4;
public boolean getStrictMixedContent();
public void setStrictMixedContent(boolean strictMixedContent);
public ASDataType getElementType();
public void setElementType(ASDataType elementType);
public boolean getIsPCDataOnly();
public void setIsPCDataOnly(boolean isPCDataOnly);
public short getContentType();
public void setContentType(short contentType);
public ASContentModel getASContentModel();
public void setASContentModel(ASContentModel ASContentModel);
public ASNamedObjectMap getASAttributeDecls();
public void setASAttributeDecls(ASNamedObjectMap ASAttributeDecls);
public void addASAttributeDecl(ASAttributeDecl attributeDecl);
public ASAttributeDecl removeASAttributeDecl(ASAttributeDecl attributeDecl);
}
IDL:
interface ASElementDecl : ASObject {
// CONTENT_MODEL_TYPES
const unsigned short EMPTY_CONTENTTYPE = 1;
const unsigned short ANY_CONTENTTYPE = 2;
const unsigned short MIXED_CONTENTTYPE = 3;
const unsigned short ELEMENTS_CONTENTTYPE = 4;
attribute boolean strictMixedContent;
attribute ASDataType elementType;
attribute boolean isPCDataOnly;
attribute unsigned short contentType;
attribute ASContentModel ASContentModel;
attribute ASNamedObjectMap ASAttributeDecls;
void addASAttributeDecl(in ASAttributeDecl attributeDecl);
ASAttributeDecl removeASAttributeDecl(in ASAttributeDecl attributeDecl);
};