public void initializeSerializerProps(){
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_CANONICAL_FORM,DOMConstants.DOM3_DEFAULT_FALSE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_CDATA_SECTIONS,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_CHECK_CHAR_NORMALIZATION,DOMConstants.DOM3_DEFAULT_FALSE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_COMMENTS,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_DATATYPE_NORMALIZATION,DOMConstants.DOM3_DEFAULT_FALSE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_ENTITIES,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_XERCES_PROPERTIES_NS + DOMConstants.DOM_ENTITIES,DOMConstants.DOM3_DEFAULT_TRUE);
  if ((fFeatures & INFOSET) != 0) {
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_NAMESPACES,DOMConstants.DOM3_DEFAULT_TRUE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_NAMESPACE_DECLARATIONS,DOMConstants.DOM3_DEFAULT_TRUE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_COMMENTS,DOMConstants.DOM3_DEFAULT_TRUE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_ELEMENT_CONTENT_WHITESPACE,DOMConstants.DOM3_DEFAULT_TRUE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_WELLFORMED,DOMConstants.DOM3_DEFAULT_TRUE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_ENTITIES,DOMConstants.DOM3_DEFAULT_FALSE);
    fDOMConfigProperties.setProperty(DOMConstants.S_XERCES_PROPERTIES_NS + DOMConstants.DOM_ENTITIES,DOMConstants.DOM3_DEFAULT_FALSE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_CDATA_SECTIONS,DOMConstants.DOM3_DEFAULT_FALSE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_VALIDATE_IF_SCHEMA,DOMConstants.DOM3_DEFAULT_FALSE);
    fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_DATATYPE_NORMALIZATION,DOMConstants.DOM3_DEFAULT_FALSE);
  }
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_NAMESPACES,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_NAMESPACE_DECLARATIONS,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_SPLIT_CDATA,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_VALIDATE,DOMConstants.DOM3_DEFAULT_FALSE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_VALIDATE_IF_SCHEMA,DOMConstants.DOM3_DEFAULT_FALSE);
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_WELLFORMED,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_INDENT,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(OutputPropertiesFactory.S_KEY_INDENT_AMOUNT,Integer.toString(3));
  fDOMConfigProperties.setProperty(DOMConstants.S_DOM3_PROPERTIES_NS + DOMConstants.DOM_DISCARD_DEFAULT_CONTENT,DOMConstants.DOM3_DEFAULT_TRUE);
  fDOMConfigProperties.setProperty(DOMConstants.S_XSL_OUTPUT_OMIT_XML_DECL,"no");
}

public void initializeSerializerProps ( ) { fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_CANONICAL_FORM , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_CDATA_SECTIONS , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_CHECK_CHAR_NORMALIZATION , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_COMMENTS , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_DATATYPE_NORMALIZATION , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_ELEMENT_CONTENT_WHITESPACE , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_ENTITIES , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_XERCES_PROPERTIES_NS + DOMConstants . DOM_ENTITIES , DOMConstants . DOM3_DEFAULT_TRUE ) ; if ( ( fFeatures & INFOSET ) != 0 ) { fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_NAMESPACES , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_NAMESPACE_DECLARATIONS , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_COMMENTS , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_ELEMENT_CONTENT_WHITESPACE , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_WELLFORMED , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_ENTITIES , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_XERCES_PROPERTIES_NS + DOMConstants . DOM_ENTITIES , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_CDATA_SECTIONS , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_VALIDATE_IF_SCHEMA , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_DATATYPE_NORMALIZATION , DOMConstants . DOM3_DEFAULT_FALSE ) ; } fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_NAMESPACES , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_NAMESPACE_DECLARATIONS , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_SPLIT_CDATA , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_VALIDATE , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_VALIDATE_IF_SCHEMA , DOMConstants . DOM3_DEFAULT_FALSE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_WELLFORMED , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_XSL_OUTPUT_INDENT , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( OutputPropertiesFactory . S_KEY_INDENT_AMOUNT , Integer . toString ( 3 ) ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_DOM3_PROPERTIES_NS + DOMConstants . DOM_DISCARD_DEFAULT_CONTENT , DOMConstants . DOM3_DEFAULT_TRUE ) ; fDOMConfigProperties . setProperty ( DOMConstants . S_XSL_OUTPUT_OMIT_XML_DECL , "no" ) ; }
initializes the underlying serializer ' s configuration depending on the default domconfiguration parameters . this method must be called before a node is to be serialized .
