public static Resource decodeContext(String encodedValue,ValueFactory valueFactory){
  if (encodedValue == null) {
    return null;
  }
 else   if (NULL_PARAM_VALUE.equals(encodedValue)) {
    return null;
  }
 else {
    return decodeResource(encodedValue,valueFactory);
  }
}

public static Resource decodeContext ( String encodedValue , ValueFactory valueFactory ) { if ( encodedValue == null ) { return null ; } else if ( NULL_PARAM_VALUE . equals ( encodedValue ) ) { return null ; } else { return decodeResource ( encodedValue , valueFactory ) ; } }
decode a previously encoded context resource .
