Lines Matching refs:node
238 /** Current node that is being processed */
418 * Serializes a node using the previously specified
422 * @param node Node to serialize
425 public void serialize( Node node ) throws IOException {
428 serializeNode( node );
429 //Print any PIs and Comments which appeared in 'node'
513 // The contents of a text node is considered space preserving.
1000 // Generic node serializing methods methods //
1005 * Serialize the DOM node. This method is shared across XML, HTML and XHTML
1009 * @param node The node to serialize
1014 protected void serializeNode( Node node )
1017 fCurrentNode = node;
1019 // Based on the node type call the suitable SAX handler.
1022 switch ( node.getNodeType() ) {
1026 text = node.getNodeValue();
1030 short code = fDOMFilter.acceptNode(node);
1050 String text = node.getNodeValue();
1057 short code = fDOMFilter.acceptNode(node);
1062 // skip the CDATA node
1076 // transform into a text node
1085 text = node.getNodeValue();
1090 short code = fDOMFilter.acceptNode(node);
1094 // skip the comment node
1115 || (node.getFirstChild() == null)) {
1118 short code = fDOMFilter.acceptNode(node);
1121 return; // remove the node
1124 child = node.getFirstChild();
1137 checkUnboundNamespacePrefixedNode(node);
1140 _printer.printText(node.getNodeName());
1144 child = node.getFirstChild();
1158 short code = fDOMFilter.acceptNode(node);
1162 return; // skip this node
1168 processingInstructionIO( node.getNodeName(), node.getNodeValue() );
1175 short code = fDOMFilter.acceptNode(node);
1181 Node child = node.getFirstChild();
1186 return; // skip this node
1193 serializeElement( (Element) node );
1208 docType = ( (Document) node ).getDoctype();
1211 domImpl = ( (Document) node ).getImplementation();
1263 // By definition this will happen if the node is a document,
1266 child = node.getFirstChild();
1438 // The contents of a text node is considered space preserving.
1938 protected DOMError modifyDOMError(String message, short severity, String type, Node node){
1943 fDOMError.fLocator = new DOMLocatorImpl(-1, -1, -1, node, null);
1961 * Check a node to determine if it contains unbound namespace prefixes.
1963 * @param node The node to check for unbound namespace prefices
1965 protected void checkUnboundNamespacePrefixedNode (Node node) throws IOException{