Class PortalStudioMarkupResourceStream

  • All Implemented Interfaces:
    java.io.Closeable, java.io.Serializable, java.lang.AutoCloseable, org.apache.wicket.util.io.IClusterable, org.apache.wicket.util.resource.IFixedLocationResourceStream, org.apache.wicket.util.resource.IResourceStream, org.apache.wicket.util.watch.IModifiable

    public class PortalStudioMarkupResourceStream
    extends LayoutFileMarkupResourceStream
    MarkupResourceStream implementation used to tag a markup resource stream as being used for the Portal Studio.
    Since:
    6.0.0
    Version:
    $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
    See Also:
    Serialized Form
    • Field Summary

      • Fields inherited from class org.apache.wicket.markup.MarkupResourceStream

        WICKET_XHTML_DTD
    • Constructor Summary

      Constructors 
      Constructor Description
      PortalStudioMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.MarkupContainer container, java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
      Creates a new PortalStudioMarkupResourceStream wrapping an existing resource stream.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      java.io.InputStream getInputStream()  
      • Methods inherited from class org.apache.wicket.markup.MarkupResourceStream

        getBaseMarkup, getBaseMarkupResourceStream, getCacheKey, getContainerInfo, getContentType, getDoctype, getEncoding, getLocale, getMarkupClass, getResource, getStyle, getVariation, getWicketId, getWicketNamespace, isHtml5, lastModifiedTime, length, locationAsString, setBaseMarkup, setCacheKey, setDoctype, setLocale, setStyle, setVariation, setWicketNamespace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • PortalStudioMarkupResourceStream

        public PortalStudioMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                                org.apache.wicket.MarkupContainer container,
                                                java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
        Creates a new PortalStudioMarkupResourceStream wrapping an existing resource stream.
        Parameters:
        resourceStream - the resource stream.
        Since:
        7.1.0
    • Method Detail

      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Specified by:
        close in interface org.apache.wicket.util.resource.IResourceStream
        Overrides:
        close in class org.apache.wicket.markup.MarkupResourceStream
        Throws:
        java.io.IOException
      • getInputStream

        public java.io.InputStream getInputStream()
                                           throws org.apache.wicket.util.resource.ResourceStreamNotFoundException
        Specified by:
        getInputStream in interface org.apache.wicket.util.resource.IResourceStream
        Overrides:
        getInputStream in class org.apache.wicket.markup.MarkupResourceStream
        Throws:
        org.apache.wicket.util.resource.ResourceStreamNotFoundException