Extends the DOM2 DocumentType
interface with methods for guided document editing.
Java binding:
package org.w3c.dom.abstractSchemas;
public interface DocumentTypeAS extends DocumentType {
public ASDOMStringList getDefinedElementTypes();
public boolean isElementDefined(String elemTypeName);
public boolean isElementDefinedNS(String elemTypeName,
String namespaceURI, String localName);
public boolean isAttributeDefined(String elemTypeName,
String attrName);
public boolean isAttributeDefinedNS(String elemTypeName,
String attrName, String namespaceURI, String localName);
public boolean isEntityDefined(String entName);
}
IDL:
interface DocumentTypeAS : DocumentType {
readonly attribute ASDOMStringList definedElementTypes;
boolean isElementDefined(in DOMString elemTypeName);
boolean isElementDefinedNS(in DOMString elemTypeName,
in DOMString namespaceURI,
in DOMString localName);
boolean isAttributeDefined(in DOMString elemTypeName,
in DOMString attrName);
boolean isAttributeDefinedNS(in DOMString elemTypeName,
in DOMString attrName,
in DOMString namespaceURI,
in DOMString localName);
boolean isEntityDefined(in DOMString entName);
};