Extends the DOM2 Node
interface with methods for
guided document editing.
Java binding:
package org.w3c.dom.abstractSchemas;
public interface NodeAS extends Node {
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 short getWfValidityCheckLevel();
public void setWfValidityCheckLevel(short wfValidityCheckLevel);
public boolean canInsertBefore(Node newChild, Node refChild)
throws DOMException;
public boolean canRemoveChild(Node oldChild)
throws DOMException;
public boolean canReplaceChild(Node newChild, Node oldChild)
throws DOMException;
public boolean canAppendChild(Node newChild)
throws DOMException;
public boolean isValid(boolean deep) throws DOMException;
}
IDL:
interface NodeAS : Node {
const short WF_CHECK = 1;
const short NS_WF_CHECK = 2;
const short PARTIAL_VALIDITY_CHECK = 3;
const short STRICT_VALIDITY_CHECK = 4;
attribute short wfValidityCheckLevel;
boolean canInsertBefore(in Node newChild, in Node refChild)
raises(DOMException);
boolean canRemoveChild(in Node oldChild) raises(DOMException);
boolean canReplaceChild(in Node newChild, in Node oldChild)
raises(DOMException);
boolean canAppendChild(in Node newChild) raises(DOMException);
boolean isValid(in boolean deep) raises(DOMException);
};