Java Binding:
package org.w3c.dom.validation;
import org.w3c.dom.Node;
import org.w3c.dom.Attr;
import org.w3c.dom.NameList;
public interface ElementEditVAL extends NodeEditVAL {
// ContentTypeVAL
public static final short VAL_EMPTY_CONTENTTYPE = 1;
public static final short VAL_ANY_CONTENTTYPE = 2;
public static final short VAL_MIXED_CONTENTTYPE = 3;
public static final short VAL_ELEMENTS_CONTENTTYPE = 4;
public static final short VAL_SIMPLE_CONTENTTYPE = 5;
public NameList getAllowedChildren();
public NameList getAllowedFirstChildren();
public NameList getAllowedParents();
public NameList getAllowedNextSiblings();
public NameList getAllowedPreviousSiblings();
public NameList getAllowedAttributes();
public NameList getRequiredAttributes();
public short getContentType();
public short canSetTextContent(String possibleTextContent);
public short canSetAttribute(String name, String value);
public short canSetAttributeNode(Attr attrNode);
public short canSetAttributeNS(String namespaceURI, String qualifiedName, String value);
public short canRemoveAttribute(String attrname);
public short canRemoveAttributeNS(String namespaceURI, String localName);
public short canRemoveAttributeNode(Node attrNode);
public short isElementDefined(String name);
public short isElementDefinedNS(String namespaceURI, String name);
}