Class LayoutFileMarkupResourceStream

  • 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
    Direct Known Subclasses:
    PortalStudioMarkupResourceStream, SharedMarkupResourceStream

    public class LayoutFileMarkupResourceStream
    extends org.apache.wicket.markup.MarkupResourceStream
    Base markup resource stream for layout file. The use of this base class enables some layout file specific features in LayoutFileApplication.
    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
      LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream, java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
      Creates a new markup resource stream with a custom markup filter.
      LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream, IPortalMode portalMode)
      Creates a new markup resource stream based on the Portal Mode.
      LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.markup.ContainerInfo containerInfo, java.lang.Class<?> markupClass, java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
      Creates a new markup resource stream with a custom markup filter.
      LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream, org.apache.wicket.markup.ContainerInfo containerInfo, java.lang.Class<?> markupClass, IPortalMode portalMode)
      Creates a new markup resource stream based on the Portal Mode.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
      Returns the Markup Filter Class.
      PageDocType getPageDocType()
      Returns the DOCTYPE for the markup of this resource stream.
      • Methods inherited from class org.apache.wicket.markup.MarkupResourceStream

        close, getBaseMarkup, getBaseMarkupResourceStream, getCacheKey, getContainerInfo, getContentType, getDoctype, getEncoding, getInputStream, 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

      • LayoutFileMarkupResourceStream

        public LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                              org.apache.wicket.markup.ContainerInfo containerInfo,
                                              java.lang.Class<?> markupClass,
                                              IPortalMode portalMode)
        Creates a new markup resource stream based on the Portal Mode.
        Since:
        7.1.0
      • LayoutFileMarkupResourceStream

        public LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                              org.apache.wicket.markup.ContainerInfo containerInfo,
                                              java.lang.Class<?> markupClass,
                                              java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
        Creates a new markup resource stream with a custom markup filter.
        Since:
        7.1.0
      • LayoutFileMarkupResourceStream

        public LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                              IPortalMode portalMode)
        Creates a new markup resource stream based on the Portal Mode.
        Since:
        7.1.0
      • LayoutFileMarkupResourceStream

        public LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                              java.lang.Class<? extends AbstractLayoutFileMarkupFilter> markupFilterClass)
        Creates a new markup resource stream with a custom markup filter.
        Since:
        7.1.0
    • Method Detail

      • getPageDocType

        public PageDocType getPageDocType()
        Returns the DOCTYPE for the markup of this resource stream.
        Returns:
        the DOCTYPE.
        Since:
        6.0.0
      • getMarkupFilterClass

        public java.lang.Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
        Returns the Markup Filter Class.
        Returns:
        the Markup Filter Class
        Since:
        7.1.0