RenderURLWrapper provides a convenient
implementation of the RenderURL interface
that can be subclassed by developers.
This class implements the Wrapper or Decorator pattern.
Methods default to calling through to the wrapped request object.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFragmentIdentifier()
Implements javax.
Gets the fragment identifier previously set on the URL.
|
| public RenderURL | Returns: the wrapped object.Overrides javax. |
| public void | setFragmentIdentifier(String
The fragment identifier to be added to the URL fragment)Implements javax.
Sets a fragment identifier on the URL.
|
| public void |
| RenderURLWrapper | back to summary |
|---|---|
public RenderURLWrapper(RenderURL wrapped)
| |
| getFragmentIdentifier | back to summary |
|---|---|
| public String getFragmentIdentifier() Implements javax. Doc from javax.
Gets the fragment identifier previously set on the URL.
A fragment identifier may have been set by the portlet
using the | |
| getWrapped | back to summary |
|---|---|
| public RenderURL getWrapped() Overrides javax. Gets the wrapped object.
| |
| setFragmentIdentifier | back to summary |
|---|---|
| public void setFragmentIdentifier(String fragment) Implements javax. Doc from javax.
Sets a fragment identifier on the URL.
Any previously set fragment identifier will be replaced. The fragment identifier consists of additional information appended to the URL after a '#' character. A URL can have only a single fragment identifier. The fragment identifier must be formed according to rfc3986.
The fragment identifier is often used to address a named anchor such as
The fragment identifier will not be namespaced. The portlet is responsible for performing any required namespacing. However, the fragment identifier string will be escaped as required.
Setting the fragment identifier to | |
| setWrapped | back to summary |
|---|---|
| public void setWrapped(RenderURL wrapped) Sets the wrapped object.
| |