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

java.lang.Object
  extended by com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
      extended by com.liferay.faces.bridge.context.url.BridgeResourceURLCompatImpl
All Implemented Interfaces:
BridgeResourceURL, BridgeURL
Direct Known Subclasses:
BridgeResourceURLImpl

public abstract class BridgeResourceURLCompatImpl
extends BridgeURLBaseImpl
implements BridgeResourceURL

This class provides a compatibility layer that isolates differences between JSF1 and JSF2.

Author:
Neil Griffin

Field Summary
 
Fields inherited from class com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
bridgeConfig, bridgeContext, PORTLET_ACTION, PORTLET_RENDER, PORTLET_RESOURCE, RELATIVE_PATH_PREFIX, url
 
Constructor Summary
BridgeResourceURLCompatImpl(String url, String currentFacesViewId, BridgeContext bridgeContext)
           
 
Method Summary
 boolean isEncodedFaces2ResourceURL()
          Flag indicating whether or not the URL has already been encoded as a JSF2 resource URL.
 boolean isFaces2ResourceURL()
          Flag indicating whether or not the URL is a JSF2 resource URL.
 
Methods inherited from class com.liferay.faces.bridge.context.url.BridgeURLBaseImpl
_toString, _toString, getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, getSchemeSpecificPart, getURI, getViewIdParameterName, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isRelative, isSecure, isSelfReferencing, matchPathAndExtension, removeParameter, setParameter, setParameter, setPortletModeParameter, setRenderParameters, setSecure, setSecureParameter, setSelfReferencing, setWindowStateParameter, toBaseURL, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeResourceURL
replaceBackLinkParameter, setInProtocol, setViewLink
 
Methods inherited from interface com.liferay.faces.bridge.context.url.BridgeURL
getContextRelativePath, getParameter, getParameterMap, getParameterNames, getPortletPhase, isAbsolute, isEscaped, isExternal, isFacesViewTarget, isHierarchical, isOpaque, isPathRelative, isPortletScheme, isSecure, isSelfReferencing, removeParameter, setParameter, setParameter, setSecure, setSelfReferencing, toString
 

Constructor Detail

BridgeResourceURLCompatImpl

public BridgeResourceURLCompatImpl(String url,
                                   String currentFacesViewId,
                                   BridgeContext bridgeContext)
Method Detail

isEncodedFaces2ResourceURL

public boolean isEncodedFaces2ResourceURL()
Description copied from interface: BridgeResourceURL
Flag indicating whether or not the URL has already been encoded as a JSF2 resource URL.

Specified by:
isEncodedFaces2ResourceURL in interface BridgeResourceURL

isFaces2ResourceURL

public boolean isFaces2ResourceURL()
Description copied from interface: BridgeResourceURL
Flag indicating whether or not the URL is a JSF2 resource URL.

Specified by:
isFaces2ResourceURL in interface BridgeResourceURL


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