Lines Matching refs:node
62 private Node node;
66 * selector and node.
69 * @param node the node
70 * @throws NullPointerException if <code>ks</code> or <code>node</code> is
73 public DOMValidateContext(KeySelector ks, Node node) {
77 init(node, ks);
82 * and node. The validating key will be stored in a
88 * @param node the node
90 * <code>node</code> is <code>null</code>
92 public DOMValidateContext(Key validatingKey, Node node) {
96 init(node, KeySelector.singletonKeySelector(validatingKey));
99 private void init(Node node, KeySelector ks) {
100 if (node == null) {
101 throw new NullPointerException("node is null");
104 this.node = node;
113 * Sets the node.
115 * @param node the node
116 * @throws NullPointerException if <code>node</code> is <code>null</code>
119 public void setNode(Node node) {
120 if (node == null) {
123 this.node = node;
127 * Returns the node.
129 * @return the node (never <code>null</code>)
133 return node;