Home | History | Annotate | Download | only in dom2dtm

Lines Matching refs:Node

30 import org.w3c.dom.Node;
37 * DOM2DTM model. Basically, it creates a proxy node in DOM space to
49 * %REVIEW% An alternative solution would be to create the node _only_
80 public Node getParentNode() {return null;}
81 public Node getFirstChild() {return null;}
82 public Node getLastChild() {return null;}
83 public Node getPreviousSibling() {return null;}
84 public Node getNextSibling() {return null;}
89 public short getNodeType() {return Node.ATTRIBUTE_NODE;}
93 public Node insertBefore(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
94 public Node replaceChild(Node a, Node b) {throw new DTMException(NOT_SUPPORTED_ERR);}
95 public Node appendChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
96 public Node removeChild(Node a) {throw new DTMException(NOT_SUPPORTED_ERR);}
98 public Node cloneNode(boolean deep) {throw new DTMException(NOT_SUPPORTED_ERR);}
134 * Associate an object to a key on this node. The object can later be
135 * retrieved from this node by calling <code>getUserData</code> with the
143 * the given key on this node, or <code>null</code> if there was none.
153 * Retrieves the object associated to a key on a this node. The object
154 * must first have been set to this node by calling
158 * on this node, or <code>null</code> if there was none.
179 * implements the <code>Node</code> interface, it must delegate to the
180 * primary core <code>Node</code> and not return results inconsistent
181 * with the primary core <code>Node</code> such as attributes,
186 // we don't have any alternate node, either this node does the job
195 * tested with <code>Node.isSameNode</code>. All nodes that are the same
205 * length and for each node that exists in one map there is a node that
210 * for <code>Attr</code> nodes as for any other type of node. Note that
225 * @param arg The node to compare equality with.
233 public boolean isEqualNode(Node arg) {
302 * Look up the namespace URI associated to the given prefix, starting from this node.
312 case Node.ELEMENT_NODE : {
330 Node attr = map.item(i);
361 case Node.DOCUMENT_NODE : {
365 case Node.ENTITY_NODE :
366 case Node.NOTATION_NODE:
367 case Node.DOCUMENT_FRAGMENT_NODE:
368 case Node.DOCUMENT_TYPE_NODE:
371 case Node.ATTRIBUTE_NODE:{
372 if (this.getOwnerElement().getNodeType() == Node.ELEMENT_NODE) {
405 case Node.ELEMENT_NODE: {
434 case Node.DOCUMENT_NODE:{
438 case Node.ENTITY_NODE :
439 case Node.NOTATION_NODE:
440 case Node.DOCUMENT_FRAGMENT_NODE:
441 case Node.DOCUMENT_TYPE_NODE:
444 case Node.ATTRIBUTE_NODE:{
445 if (this.ownerNode.getNodeType() == Node.ELEMENT_NODE) {
469 * Look up the prefix associated to the given namespace URI, starting from this node.
486 case Node.ELEMENT_NODE: {
492 case Node.DOCUMENT_NODE:{
496 case Node.ENTITY_NODE :
497 case Node.NOTATION_NODE:
498 case Node.DOCUMENT_FRAGMENT_NODE:
499 case Node.DOCUMENT_TYPE_NODE:
502 case Node.ATTRIBUTE_NODE:{
503 if (this.getOwnerElement().getNodeType() == Node.ELEMENT_NODE) {
522 * Returns whether this node is the same node as the given one.
524 * <code>Node</code> references returned by the implementation reference
525 * the same object. When two <code>Node</code> references are references
530 * @param other The node to test against.
535 public boolean isSameNode(Node other) {
541 * This attribute returns the text content of this node and its
543 * When set, any possible children this node may have are removed and
544 * replaced by a single <code>Text</code> node containing the string
550 * <br>The string returned is made of the text content of this node
554 * <th>Node type</th>
562 * attribute value of every child node, excluding COMMENT_NODE and
578 * NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
591 * This attribute returns the text content of this node and its
593 * When set, any possible children this node may have are removed and
594 * replaced by a single <code>Text</code> node containing the string
600 * <br>The string returned is made of the text content of this node
604 * <th>Node type</th>
612 * attribute value of every child node, excluding COMMENT_NODE and
628 * NO_MODIFICATION_ALLOWED_ERR: Raised when the node is readonly.
640 * Compares a node with this node with regard to their position in the
642 * @param other The node to compare against this node.
643 * @return Returns how the given node is positioned relatively to this
644 * node.
647 public short compareDocumentPosition(Node other) throws DOMException {
652 * The absolute base URI of this node or <code>null</code> if undefined.
658 * <br> When the node is an <code>Element</code>, a <code>Document</code>
660 * the properties [base URI] defined in . When the node is a