} else if (containerURL instanceof ResourceURL) {
ResourceURL resourceURL = (ResourceURL) containerURL;
url.setQueryParameterValue(Constants.RESOURCE_ID_PARAMETER, resourceURL.getResourceId());
CacheLevel cachability = resourceURL.getCacheability();
if (cachability != null) {
url.setQueryParameterValue(Constants.CACHELEVEL_PARAMETER, cachability.name());
}
StateString resourceState = resourceURL.getResourceState();
if (resourceState != null && !resourceState.getStringValue().equals(StateString.JBPNS_PREFIX)) {
url.setQueryParameterValue(RESOURCE_STATE_PARAM_NAME, resourceState.getStringValue());