| org.apache.cocoon.portal.impl.DefaultLinkService
All known Subclasses: org.apache.cocoon.portal.impl.PageLabelLinkService,
DefaultLinkService | public class DefaultLinkService extends AbstractLogEnabled implements LinkService,ThreadSafe,Serviceable,Disposable,Contextualizable,Parameterizable(Code) | | author: Carsten Ziegeler author: Volker Schmitt version: $Id: DefaultLinkService.java 433543 2006-08-22 06:22:54Z crossley $ |
Method Summary | |
protected boolean | addEvent(StringBuffer buffer, Event event, boolean hasParams) | public void | addEventToLink(Event event) | public void | addParameterToLink(String name, String value) | public void | addUniqueParameterToLink(String name, String value) | public void | contextualize(Context context) | public void | dispose() | public String | encodeURL(String url) | protected LinkInfo | getInfo() Return the current info for the request. | public String | getLinkURI(Event event) | public String | getLinkURI(Event event, Boolean secure) | public String | getLinkURI(List events) | public String | getLinkURI(List events, Boolean secure) | public String | getRefreshLinkURI() | public String | getRefreshLinkURI(Boolean secure) | protected String | initBuffer(LinkInfo info, Event event, Boolean secure) | protected String | initBuffer(LinkInfo info, List events, Boolean secure) | public boolean | isSecure() | public void | parameterize(Parameters params) | protected String | processEvent(Event event, StringBuffer value) | public void | service(ServiceManager manager) |
context | protected Context context(Code) | | The cocoon context
|
converter | protected EventConverter converter(Code) | | The converter used to convert an event into a request parameter
|
defaultPort | protected int defaultPort(Code) | | Default port used for http.
|
defaultSecurePort | protected int defaultSecurePort(Code) | | Default port used for https.
|
manager | protected ServiceManager manager(Code) | | The service manager
|
addEvent | protected boolean addEvent(StringBuffer buffer, Event event, boolean hasParams)(Code) | | Add one event to the buffer
Returns true, if the link contains a parameter |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | See Also: org.apache.avalon.framework.context.Contextualizable.contextualize(org.apache.avalon.framework.context.Context) |
dispose | public void dispose()(Code) | | See Also: org.apache.avalon.framework.activity.Disposable.dispose |
getInfo | protected LinkInfo getInfo()(Code) | | Return the current info for the request.
A LinkInfo object. |
parameterize | public void parameterize(Parameters params) throws ParameterException(Code) | | See Also: org.apache.avalon.framework.parameters.Parameterizable.parameterize(org.apache.avalon.framework.parameters.Parameters) |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | See Also: org.apache.avalon.framework.service.Serviceable.service(org.apache.avalon.framework.service.ServiceManager) |
|
|