Java binding:
package org.w3c.dom.abstractSchemas;
import org.w3c.dom.DOMASException;
public interface ASElementDeclaration extends ASNode {
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 String getTagName();
public void setTagName(String tagName);
public ASChildren getASChildren();
public void setASChildren(ASChildren elementContent)
throws DOMASException;
public ASNamedNodeMap getASAttributeDecls();
public void setASAttributeDecls(ASNamedNodeMap attributes);
public void addASAttributeDecl(ASAttributeDeclaration attributeDecl);
public ASAttributeDeclaration removeASAttributeDecl(ASAttributeDeclaration attributeDecl);
}
Represents a declaration of an element such as
<!ELEMENT TIME (#PCDATA)>
or an xsd:element
schema element
IDL:
interface ASElementDeclaration : ASNode {
const short EMPTY_CONTENTTYPE = 1;
const short ANY_CONTENTTYPE = 2;
const short MIXED_CONTENTTYPE = 3;
const short ELEMENTS_CONTENTTYPE = 4;
attribute boolean strictMixedContent;
attribute ASDataType elementType;
attribute boolean isPCDataOnly;
attribute short contentType;
attribute DOMString tagName;
ASChildren getASChildren();
void setASChildren(inout ASChildren elementContent)
raises(DOMASException);
ASNamedNodeMap getASAttributeDecls();
void setASAttributeDecls(inout ASNamedNodeMap attributes);
void addASAttributeDecl(in ASAttributeDeclaration attributeDecl);
ASAttributeDeclaration removeASAttributeDecl(in ASAttributeDeclaration attributeDecl);
};