public void incorporateSignatureDom(){
  signatureDom=documentDom.createElementNS(XMLNS,DS_SIGNATURE);
  signatureDom.setAttribute(XMLNS_DS,XMLNS);
  signatureDom.setAttribute(ID,deterministicId);
  final Node parentNodeOfSignature=getParentNodeOfSignature();
  parentNodeOfSignature.appendChild(signatureDom);
}

public void incorporateSignatureDom ( ) { signatureDom = documentDom . createElementNS ( XMLNS , DS_SIGNATURE ) ; signatureDom . setAttribute ( XMLNS_DS , XMLNS ) ; signatureDom . setAttribute ( ID , deterministicId ) ; final Node parentNodeOfSignature = getParentNodeOfSignature ( ) ; parentNodeOfSignature . appendChild ( signatureDom ) ; }
this method creates a new instance of signature element .
