public Algorithm(Element el){
  requiredKey=el.getAttribute("RequiredKey");
  jceName=el.getAttribute("JCEName");
  algorithmClass=el.getAttribute("AlgorithmClass");
  if (el.hasAttribute("KeyLength")) {
    keyLength=Integer.parseInt(el.getAttribute("KeyLength"));
  }
 else {
    keyLength=0;
  }
}

public Algorithm ( Element el ) { requiredKey = el . getAttribute ( "RequiredKey" ) ; jceName = el . getAttribute ( "JCEName" ) ; algorithmClass = el . getAttribute ( "AlgorithmClass" ) ; if ( el . hasAttribute ( "KeyLength" ) ) { keyLength = Integer . parseInt ( el . getAttribute ( "KeyLength" ) ) ; } else { keyLength = 0 ; } }
gets data from element
