private void parseVersion(Node node){
  String version=null;
  String validity=null;
  Node versionchild=node.getFirstChild();
  if (versionchild != null) {
    do {
      if (version == null) {
        if ((version=getValueByParamName("version",versionchild,TYPE_TXT)) != null) {
          provisioningInfo.setVersion(Integer.parseInt(version));
          continue;
        }
      }
      if (validity == null) {
        if ((validity=getValueByParamName("validity",versionchild,TYPE_INT)) != null) {
          provisioningInfo.setValidity(Long.parseLong(validity) * SECONDS_TO_MILLISECONDS_CONVERSION_RATE);
        }
      }
    }
 while ((versionchild=versionchild.getNextSibling()) != null);
  }
}

private void parseVersion ( Node node ) { String version = null ; String validity = null ; Node versionchild = node . getFirstChild ( ) ; if ( versionchild != null ) { do { if ( version == null ) { if ( ( version = getValueByParamName ( "version" , versionchild , TYPE_TXT ) ) != null ) { provisioningInfo . setVersion ( Integer . parseInt ( version ) ) ; continue ; } } if ( validity == null ) { if ( ( validity = getValueByParamName ( "validity" , versionchild , TYPE_INT ) ) != null ) { provisioningInfo . setValidity ( Long . parseLong ( validity ) * SECONDS_TO_MILLISECONDS_CONVERSION_RATE ) ; } } } while ( ( versionchild = versionchild . getNextSibling ( ) ) != null ) ; } }
parse the provisioning version
