1 12 13 package com.sun.org.apache.xerces.internal.dom3.as; 14 15 import org.w3c.dom.Node ; 16 17 28 public interface NodeEditAS { 29 33 public static final short WF_CHECK = 1; 34 37 public static final short NS_WF_CHECK = 2; 38 42 public static final short PARTIAL_VALIDITY_CHECK = 3; 43 47 public static final short STRICT_VALIDITY_CHECK = 4; 48 49 59 public boolean canInsertBefore(Node newChild, 60 Node refChild); 61 62 68 public boolean canRemoveChild(Node oldChild); 69 70 77 public boolean canReplaceChild(Node newChild, 78 Node oldChild); 79 80 86 public boolean canAppendChild(Node newChild); 87 88 111 public boolean isNodeValid(boolean deep, 112 short wFValidityCheckLevel) 113 throws DOMASException; 114 115 } 116 | Popular Tags |