public class WicketExtendInput extends FilterInput
WicketExtendInput.Include
allows import of markup, but they recommend it used for non-wicket based markup.
Modifier and Type | Class and Description |
---|---|
static class |
WicketExtendInput.Include |
static class |
WicketExtendInput.SpecialTag
These will parse for their associated regEx and have special significance.
The value (determined by the context the special tag is used for), is put in Map #bodyTags |
Constructor and Description |
---|
WicketExtendInput(String id) |
WicketExtendInput(String id,
org.apache.wicket.model.IModel<String> model) |
WicketExtendInput(String id,
String modelObject) |
Modifier and Type | Method and Description |
---|---|
void |
filter() |
protected String |
filter(String markupContent) |
String |
getContent() |
org.apache.commons.collections.Transformer |
getContentTransformer()
One can override
contentTransformer with a Chain or another Transformer .To use the default Transformer in a chain you can refer to getDefaultContentTransformer() . |
org.apache.commons.collections.Transformer |
getDefaultContentTransformer() |
String |
getHeader() |
Map<String,String> |
getSpecialTags()
{@literal get the Special Tags like tag value.
|
WicketExtendInput.Include |
getType() |
protected void |
onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream,
org.apache.wicket.markup.ComponentTag openTag)
This only gets executed during rendering
|
protected void |
parseForSpecialTags(String markupContent) |
void |
setContentTransformer(org.apache.commons.collections.Transformer contentTransformer)
One can override
contentTransformer with a Chain or another Transformer .To use the default Transformer in a chain you can refer to getDefaultContentTransformer() . |
void |
setType(WicketExtendInput.Include type) |
getCharset, importAsString, replaceFilter, setCharset
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findMarkupStream, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, internalOnModelChanged, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeforeRender, onBeginRequest, onComponentTag, onConfigure, onDetach, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModel, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMarkupStream, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, toString, toString, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
public WicketExtendInput(String id)
protected void onComponentTagBody(org.apache.wicket.markup.MarkupStream markupStream, org.apache.wicket.markup.ComponentTag openTag)
onComponentTagBody
in class FilterInput
public void filter()
protected void parseForSpecialTags(String markupContent)
public String getHeader()
public String getContent()
public WicketExtendInput.Include getType()
public void setType(WicketExtendInput.Include type)
public Map<String,String> getSpecialTags()
public org.apache.commons.collections.Transformer getDefaultContentTransformer()
public org.apache.commons.collections.Transformer getContentTransformer()
contentTransformer
with a Chain or another Transformer
.Transformer
in a chain you can refer to getDefaultContentTransformer()
. This is useful
if you wish do things like replace URL strings with CDN equivalent strings etc.
Transformer
is also Serializable
to avoid wicket from throwing warningspublic void setContentTransformer(org.apache.commons.collections.Transformer contentTransformer)
contentTransformer
with a Chain or another Transformer
.Transformer
in a chain you can refer to getDefaultContentTransformer()
. This is useful
if you wish do things like replace URL strings with CDN equivalent strings etc.
Transformer
is also Serializable
to avoid wicket from throwing warningsCopyright © 2018. All rights reserved.