com.liferay.faces.bridge.context.url
Class BaseURLRelativeStringImpl

java.lang.Object
  extended by com.liferay.faces.bridge.context.url.BaseURLNonEncodedStringImpl
      extended by com.liferay.faces.bridge.context.url.BaseURLRelativeStringImpl
All Implemented Interfaces:
javax.portlet.BaseURL

public class BaseURLRelativeStringImpl
extends BaseURLNonEncodedStringImpl

This class represents a relative BaseURL, meaning an implementation that simply wraps a String based URL that starts with "../" and does not require encoding. The only methods that are meant to be called is toString() and BaseURLNonEncodedStringImpl.write(Writer, boolean). All other methods throw an UnsupportedOperationException.

Author:
Neil Griffin

Constructor Summary
BaseURLRelativeStringImpl(String url, Map<String,String[]> parameterMap, BridgeContext bridgeContext)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.liferay.faces.bridge.context.url.BaseURLNonEncodedStringImpl
addProperty, getMain, getParameterMap, getQuery, setParameter, setParameter, setParameters, setProperty, setSecure, write, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseURLRelativeStringImpl

public BaseURLRelativeStringImpl(String url,
                                 Map<String,String[]> parameterMap,
                                 BridgeContext bridgeContext)
Method Detail

toString

public String toString()
Specified by:
toString in interface javax.portlet.BaseURL
Overrides:
toString in class BaseURLNonEncodedStringImpl


Copyright © 2014 Liferay, Inc.. All Rights Reserved.