}
protected void populateParams() {
super.populateParams();
URL url = (URL) component;
url.setIncludeParams(includeParams);
url.setScheme(scheme);
url.setValue(value);
url.setMethod(method);
url.setNamespace(namespace);
url.setAction(action);
url.setPortletMode(portletMode);
url.setPortletUrlType(portletUrlType);
url.setWindowState(windowState);
url.setAnchor(anchor);
if (encode != null) {
url.setEncode(Boolean.valueOf(encode).booleanValue());
}
if (includeContext != null) {
url.setIncludeContext(Boolean.valueOf(includeContext).booleanValue());
}
if (escapeAmp != null) {
url.setEscapeAmp(Boolean.valueOf(escapeAmp).booleanValue());
}
if (forceAddSchemeHostAndPort != null) {
url.setForceAddSchemeHostAndPort(Boolean.valueOf(forceAddSchemeHostAndPort).booleanValue());
}
}