code: protected void endNode(Node node) throws org.xml.sax.SAXException {
  
          switch (node.getNodeType()) {
              case Node.DOCUMENT_NODE :
                  break;
              case Node.DOCUMENT_TYPE_NODE :
                  serializeDocType((DocumentType) node, false);
                  break;
              case Node.ELEMENT_NODE :
                  serializeElement((Element) node, false);
                  break;
              case Node.CDATA_SECTION_NODE :
                  break;
              case Node.ENTITY_REFERENCE_NODE :
                  serializeEntityReference((EntityReference) node, false);
                  break;
              default :
                  }
      }
docs: End processing of given node
  
  
  @param node Node we just finished processing
  
  @throws org.xml.sax.SAXException