org.apache.cocoon.portal.impl
Class LinkInfo
java.lang.Object
org.apache.cocoon.portal.impl.LinkInfo
- public class LinkInfo
- extends Object
Helper class containing the information about common parts for each link
that will be generated in the portal page.
- Version:
- $Id: LinkInfo.java 293351 2005-10-03 13:43:39Z cziegeler $
Constructor Summary |
LinkInfo(Request request,
int defaultPort,
int defaultSecurePort)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
httpLinkBase
protected final String httpLinkBase
- Link base contains the base url for the http protocol.
secureLinkBase
protected final String secureLinkBase
hasParameters
protected boolean hasParameters
comparableEvents
protected final ArrayList comparableEvents
url
protected final StringBuffer url
isSecure
protected final boolean isSecure
- Is the page called using https?
LinkInfo
public LinkInfo(Request request,
int defaultPort,
int defaultSecurePort)
getAbsoluteUrl
protected String getAbsoluteUrl(Request request,
boolean useSecure,
int port)
getBase
public String getBase(Boolean secure)
appendToBase
public LinkInfo appendToBase(String value)
appendToBase
public LinkInfo appendToBase(char c)
deleteParameterFromBase
public void deleteParameterFromBase(String parameterName)
addParameterToBase
public void addParameterToBase(String name,
String value)
hasParameters
public boolean hasParameters()
Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.