org.apache.wicket.markup.loader
Class SimpleMarkupLoader

java.lang.Object
  extended by org.apache.wicket.markup.loader.SimpleMarkupLoader
All Implemented Interfaces:
IMarkupLoader

public class SimpleMarkupLoader
extends java.lang.Object
implements IMarkupLoader

Load the markup via the MarkupParser, not more, not less. Caching is provided separately as well as Inherited-Markup merging.

Author:
Juergen Donnerstag

Constructor Summary
SimpleMarkupLoader()
          Constructor.
 
Method Summary
 Markup loadMarkup(MarkupContainer container, MarkupResourceStream markupResourceStream, IMarkupLoader baseLoader, boolean enforceReload)
          Loads markup from a resource stream.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleMarkupLoader

public SimpleMarkupLoader()
Constructor.

Method Detail

loadMarkup

public final Markup loadMarkup(MarkupContainer container,
                               MarkupResourceStream markupResourceStream,
                               IMarkupLoader baseLoader,
                               boolean enforceReload)
                        throws java.io.IOException,
                               ResourceStreamNotFoundException
Description copied from interface: IMarkupLoader
Loads markup from a resource stream.

Specified by:
loadMarkup in interface IMarkupLoader
Parameters:
container - The original requesting markup container
markupResourceStream - The markup resource stream to load
baseLoader - This parameter can be use to chain IMarkupLoaders
enforceReload - The cache will be ignored and all, including inherited markup files, will be reloaded. Whatever is in the cache, it will be ignored
Returns:
The markup
Throws:
java.io.IOException
ResourceStreamNotFoundException
See Also:
IMarkupLoader.loadMarkup(org.apache.wicket.MarkupContainer, org.apache.wicket.markup.MarkupResourceStream, org.apache.wicket.markup.loader.IMarkupLoader, boolean)


Copyright © 2004-2010 Apache Software Foundation. All Rights Reserved.