Lines Matching refs:node
118 /** Feature id: defer node expansion. */
218 /** The document type node. */
221 /** Current node. */
250 /** Root element node. */
329 * to defer node expansion on the DOM tree produced.
527 // expanded anyway. Synch only needed when user creates entityRef node
540 int node = fDeferredDocumentImpl.getLastChild (fDocumentTypeIndex, false);
541 while (node != -1) {
542 short nodeType = fDeferredDocumentImpl.getNodeType (node, false);
545 fDeferredDocumentImpl.getNodeName (node, false);
547 fDeferredEntityDecl = node;
548 fDeferredDocumentImpl.setInputEncoding (node, encoding);
552 node = fDeferredDocumentImpl.getRealPrevSibling (node, false);
646 // accept node
719 // a text node and the next event is characters.
962 // the node value because that turns the "specified"
1047 // is characters(), and the last node is text, we will copy
1048 // the value already in the text node to fStringBuffer
1342 // is characters(), and the last node is text, we will copy
1343 // the value already in the text node to fStringBuffer
1449 // accept node
1548 // Make entity ref node read only
1591 Node node = fCurrentNode.getPreviousSibling ();
1594 if (node != null && node.getNodeType () == Node.TEXT_NODE &&
1596 ((Text)node).appendData (child.getNodeValue ());
1600 node = parent.insertBefore (child, fCurrentNode);
1601 handleBaseURI (node);
1605 node = parent.insertBefore (children.item (0), fCurrentNode);
1606 handleBaseURI (node);
1617 int node = fDeferredDocumentImpl.getLastChild (fDocumentTypeIndex, false);
1618 while (node != -1) {
1619 short nodeType = fDeferredDocumentImpl.getNodeType (node, false);
1622 fDeferredDocumentImpl.getNodeName (node, false);
1624 fDeferredEntityDecl = node;
1628 node = fDeferredDocumentImpl.getRealPrevSibling (node, false);
1688 * @param node
1690 protected final void handleBaseURI (Node node){
1696 short nodeType = node.getNodeType ();
1702 if (((Element)node).getAttributeNodeNS ("http://www.w3.org/XML/1998/namespace","base")!=null) {
1705 } else if (((Element)node).getAttributeNode ("xml:base") != null) {
1712 ((Element)node).setAttributeNS ("http://www.w3.org/XML/1998/namespace", "xml:base", baseURI);
1714 ((Element)node).setAttribute ("xml:base", baseURI);
1738 * @param node
1740 protected final void handleBaseURI (int node){
1741 short nodeType = fDeferredDocumentImpl.getNodeType (node, false);
1749 fDeferredDocumentImpl.setDeferredAttribute (node,
1956 // create full node
1970 // create deferred node
1973 int node = fDeferredDocumentImpl.getLastChild (fDocumentTypeIndex, false);
1974 while (node != -1) {
1975 short nodeType = fDeferredDocumentImpl.getNodeType (node, false);
1977 String nodeName = fDeferredDocumentImpl.getNodeName (node, false);
1983 node = fDeferredDocumentImpl.getRealPrevSibling (node, false);
2047 // create full node
2063 // create deferred node
2192 // create full node
2206 // create deferred node
2269 // create full node
2281 // create deferred node
2461 // get element definition node
2506 } // if NOT defer-node-expansion
2537 // method to create an element node.
2560 // method to create an attribute node.
2587 * a new Text node. If right after the first characters() we receive another chunk of data,
2588 * the data from the Text node, following the new characters are appended
2589 * to the fStringBuffer and the text node data is set to empty.
2592 * data must be appended to the current node.
2605 // a text node already.
2639 // accept node -- do nothing