lumis.portal.presentation.core
Class SharedMarkupResourceStream

Package class diagram package SharedMarkupResourceStream
java.lang.Object
  extended by org.apache.wicket.markup.MarkupResourceStream
      extended by lumis.portal.presentation.core.LayoutFileMarkupResourceStream
          extended by lumis.portal.presentation.core.SharedMarkupResourceStream
All Implemented Interfaces:
Closeable, Serializable, org.apache.wicket.IClusterable, org.apache.wicket.util.resource.IFixedLocationResourceStream, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.watch.IModifiable

public class SharedMarkupResourceStream
extends LayoutFileMarkupResourceStream

Markup resource stream that allows a IFixedLocationResourceStream to be shared. This implementation prevents MarkupCache from using the same markup for the resource stream even if the cacheKey differs.

Since:
6.0.0
See Also:
Serialized Form

Constructor Summary
SharedMarkupResourceStream(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.MarkupContainer container, IPortalMode portalMode)
           
 
Method Summary
 String locationAsString()
           
 
Methods inherited from class lumis.portal.presentation.core.LayoutFileMarkupResourceStream
getPageDocType, getPortalMode
 
Methods inherited from class org.apache.wicket.markup.MarkupResourceStream
close, getCacheKey, getContainerInfo, getContentType, getInputStream, getLocale, getMarkupClass, lastModifiedTime, length, setCacheKey, setLocale, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SharedMarkupResourceStream

public SharedMarkupResourceStream(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                  org.apache.wicket.MarkupContainer container,
                                  IPortalMode portalMode)
Method Detail

locationAsString

public String locationAsString()
Specified by:
locationAsString in interface org.apache.wicket.util.resource.IFixedLocationResourceStream
Overrides:
locationAsString in class org.apache.wicket.markup.MarkupResourceStream


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.