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 :
}
}

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 : } }
end processing of given node
