Package | Description |
---|---|
org.apache.wicket |
The core Wicket package.
|
org.apache.wicket.markup |
Base package for markup.
|
org.apache.wicket.markup.loader | |
org.apache.wicket.markup.parser |
The default parsing engine of Wicket.
|
org.apache.wicket.markup.parser.filter |
Default parsing extensions.
|
Modifier and Type | Method and Description |
---|---|
Markup |
MarkupContainer.getAssociatedMarkup()
Gets a fresh markup stream that contains the (immutable) markup resource for this class.
|
Modifier and Type | Class and Description |
---|---|
class |
MergedMarkup
A Markup class which represents merged markup, as it is required for markup inheritance.
|
Modifier and Type | Field and Description |
---|---|
static Markup |
Markup.NO_MARKUP
Placeholder that indicates no markup
|
Modifier and Type | Method and Description |
---|---|
Markup |
MarkupResourceStream.getBaseMarkup()
In case of markup inheritance, the base markup resource.
|
Markup |
MarkupFactory.getMarkup(MarkupContainer container,
boolean enforceReload)
Get the markup associated with the container.
|
Markup |
MarkupCache.getMarkup(MarkupContainer container,
Class<?> clazz,
boolean enforceReload) |
Markup |
MarkupFactory.getMarkup(MarkupContainer container,
Class<?> clazz,
boolean enforceReload)
Get the markup associated with the container.
|
Markup |
IMarkupCache.getMarkup(MarkupContainer container,
Class<?> clazz,
boolean enforceReload)
Gets any (immutable) markup resource for the container or any of its parent classes (markup
inheritance)
|
protected Markup |
MarkupCache.getMarkupFromCache(String cacheKey,
MarkupContainer container)
Wicket's default implementation just uses the cacheKey to retrieve the markup from the cache.
|
Markup |
MarkupFragment.getRootMarkup() |
Markup |
MarkupFactory.loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
boolean enforceReload)
Loads markup from a resource stream.
|
static Markup |
Markup.of(String markup)
Take the markup string, parse it and return the Markup (list of MarkupElements).
|
static Markup |
Markup.of(String markup,
String wicketNamespace)
Take the markup string, parse it and return the Markup (list of MarkupElements).
|
protected Markup |
MarkupCache.onMarkupNotFound(String cacheKey,
MarkupContainer container,
Markup markup)
Will be called if the markup was not in the cache yet and could not be found either.
|
Markup |
AbstractMarkupParser.parse()
Reads and parses markup from a file.
|
protected Markup |
MarkupCache.putIntoCache(String locationString,
MarkupContainer container,
Markup markup)
Put the markup into the cache if cacheKey is not null and the cache does not yet contain the
cacheKey.
|
Modifier and Type | Method and Description |
---|---|
MarkupCache.ICache<String,Markup> |
MarkupCache.getMarkupCache()
Get a unmodifiable map which contains the cached data.
|
Modifier and Type | Method and Description |
---|---|
protected abstract List<IMarkupFilter> |
AbstractMarkupParser.initializeMarkupFilters(Markup markup)
Create a new markup filter chain and initialize with all default filters required.
|
protected MarkupParser.MarkupFilterList |
MarkupParser.initializeMarkupFilters(Markup markup)
Initialize Wicket's MarkupParser with all necessary markup filters.
|
protected Markup |
MarkupCache.onMarkupNotFound(String cacheKey,
MarkupContainer container,
Markup markup)
Will be called if the markup was not in the cache yet and could not be found either.
|
protected void |
AbstractMarkupParser.postProcess(Markup markup) |
protected Markup |
MarkupCache.putIntoCache(String locationString,
MarkupContainer container,
Markup markup)
Put the markup into the cache if cacheKey is not null and the cache does not yet contain the
cacheKey.
|
void |
MarkupResourceStream.setBaseMarkup(Markup baseMarkup)
In case of markup inheritance, the base markup.
|
Constructor and Description |
---|
MarkupException(Markup markup,
String message,
Throwable cause)
Construct.
|
MergedMarkup(Markup markup,
Markup baseMarkup,
int extendIndex)
Merge inherited and base markup.
|
Modifier and Type | Method and Description |
---|---|
Markup |
InheritedMarkupMarkupLoader.loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Load the markup from the resource stream with the base MarkupLoader provided, than check if
markup inheritance must be applied.
|
Markup |
DefaultMarkupLoader.loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Uses
SimpleMarkupLoader to load the resource(s), read it and check if markup
inheritance applies. |
Markup |
SimpleMarkupLoader.loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Uses
MarkupFactory.newMarkupParser(MarkupResourceStream) and
AbstractMarkupParser.parse() to load the Markup. |
Markup |
IMarkupLoader.loadMarkup(MarkupContainer container,
MarkupResourceStream markupResourceStream,
IMarkupLoader baseLoader,
boolean enforceReload)
Loads markup from a resource stream.
|
Modifier and Type | Method and Description |
---|---|
void |
IMarkupFilter.postProcess(Markup markup)
Called after all filters have been processed.
|
void |
AbstractMarkupFilter.postProcess(Markup markup) |
Modifier and Type | Method and Description |
---|---|
void |
RootMarkupFilter.postProcess(Markup markup)
Noop
|
void |
StyleAndScriptIdentifier.postProcess(Markup markup) |
void |
RelativePathPrefixHandler.postProcess(Markup markup) |
void |
ConditionalCommentFilter.postProcess(Markup markup)
Deprecated.
Post-process the markup if necessary
|
void |
HtmlHandler.postProcess(Markup markup) |
Constructor and Description |
---|
HtmlHeaderSectionHandler(Markup markup)
Construct.
|
Copyright © 2006–2021 Apache Software Foundation. All rights reserved.