code: public String[] getAttributes(String key) {
          if (token != null)
              return token.getAttributes(key);
          else
              return null;
      }
docs: Gets the attribute value based on the named value.
  
  @param String key
  @return String[]