public static final void fillElementWithBigInteger(Element element,BigInteger biginteger){
  String encodedInt=encode(biginteger);
  if (!XMLUtils.ignoreLineBreaks() && encodedInt.length() > BASE64DEFAULTLENGTH) {
    encodedInt="\n" + encodedInt + "\n";
  }
  Document doc=element.getOwnerDocument();
  Text text=doc.createTextNode(encodedInt);
  element.appendChild(text);
}

public static final void fillElementWithBigInteger ( Element element , BigInteger biginteger ) { String encodedInt = encode ( biginteger ) ; if ( ! XMLUtils . ignoreLineBreaks ( ) && encodedInt . length ( ) > BASE64DEFAULTLENGTH ) { encodedInt = "\n" + encodedInt + "\n" ; } Document doc = element . getOwnerDocument ( ) ; Text text = doc . createTextNode ( encodedInt ) ; element . appendChild ( text ) ; }
this method takes an ( empty ) element and a biginteger and adds the base64 encoded biginteger to the element .
