Class LayoutFileMarkupResourceStream

  • All Implemented Interfaces:
    Closeable, Serializable, AutoCloseable, org.apache.wicket.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
    • Constructor Detail

      • LayoutFileMarkupResourceStream

        public LayoutFileMarkupResourceStream​(org.apache.wicket.util.resource.IResourceStream resourceStream,
                                              org.apache.wicket.markup.ContainerInfo containerInfo,
                                              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,
                                              Class<?> markupClass,
                                              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,
                                              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 Class<? extends AbstractLayoutFileMarkupFilter> getMarkupFilterClass()
        Returns the Markup Filter Class.
        Returns:
        the Markup Filter Class
        Since:
        7.1.0