private void parseToken(Node node){
  String token=null;
  String tokenValidity=null;
  Node tokenChild=node.getFirstChild();
  if (tokenChild != null) {
    do {
      if (token == null) {
        if ((token=getValueByParamName("token",tokenChild,TYPE_TXT)) != null) {
          provisioningInfo.setToken(token);
          continue;
        }
      }
      if (tokenValidity == null) {
        if ((tokenValidity=getValueByParamName("validity",tokenChild,TYPE_INT)) != null) {
          provisioningInfo.setTokenValidity(Long.parseLong(tokenValidity));
        }
      }
    }
 while ((tokenChild=tokenChild.getNextSibling()) != null);
  }
}

private void parseToken ( Node node ) { String token = null ; String tokenValidity = null ; Node tokenChild = node . getFirstChild ( ) ; if ( tokenChild != null ) { do { if ( token == null ) { if ( ( token = getValueByParamName ( "token" , tokenChild , TYPE_TXT ) ) != null ) { provisioningInfo . setToken ( token ) ; continue ; } } if ( tokenValidity == null ) { if ( ( tokenValidity = getValueByParamName ( "validity" , tokenChild , TYPE_INT ) ) != null ) { provisioningInfo . setTokenValidity ( Long . parseLong ( tokenValidity ) ) ; } } } while ( ( tokenChild = tokenChild . getNextSibling ( ) ) != null ) ; } }
parse the provisioning token
