Extends the Node
interface with methods for
guided document editing.
Java binding:
package org.w3c.dom.as;
import org.w3c.dom.Node;
public interface NodeEditAS extends Node {
// ASCheckType
public static final short WF_CHECK = 1;
public static final short NS_WF_CHECK = 2;
public static final short PARTIAL_VALIDITY_CHECK = 3;
public static final short STRICT_VALIDITY_CHECK = 4;
public boolean canInsertBefore(Node newChild, Node refChild);
public boolean canRemoveChild(Node oldChild);
public boolean canReplaceChild(Node newChild, Node oldChild);
public boolean canAppendChild(Node newChild);
public boolean isNodeValid(boolean deep, short wFValidityCheckLevel)
throws ASException;
}
IDL:
interface NodeEditAS : Node {
// ASCheckType
const unsigned short WF_CHECK = 1;
const unsigned short NS_WF_CHECK = 2;
const unsigned short PARTIAL_VALIDITY_CHECK = 3;
const unsigned short STRICT_VALIDITY_CHECK = 4;
boolean canInsertBefore(in Node newChild, in Node refChild);
boolean canRemoveChild(in Node oldChild);
boolean canReplaceChild(in Node newChild, in Node oldChild);
boolean canAppendChild(in Node newChild);
boolean isNodeValid(in boolean deep, in unsigned short wFValidityCheckLevel)
raises(ASException);
};