public class PortalSettingsLayoutFileMarkupFilter extends PortalAdministrationMarkupFilter
Constructor and Description |
---|
PortalSettingsLayoutFileMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
Creates a new markup filter for use when rendering a page inside the
Portal Studio.
|
Modifier and Type | Method and Description |
---|---|
protected void |
afterProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Allow to manipulate a tag after the
AbstractLayoutFileMarkupFilter.processTag(ComponentTag) method. |
protected org.apache.wicket.markup.ComponentTag |
beforeProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Allow to manipulate a tag before the
AbstractLayoutFileMarkupFilter.processTag(ComponentTag) method. |
protected boolean |
isHTMLElement(org.apache.wicket.markup.ComponentTag tag,
String elementName)
Returns true if the given tag corresponds to the given element name and
has no namespace.
|
getDefaultNamespacePrefix, getGenerateIdPrefix, getNamespaceURI
processTag
createComponentTag, extractAttribute, generateId, getNamespacePrefix, isStripLayoutFileTagsAndAttributes, nextTag, pushTag
public PortalSettingsLayoutFileMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
stripLayoutFileTagsAndAttributes
- indicates whether layout file
built-in tags and attributes are to be removed from the output.protected org.apache.wicket.markup.ComponentTag beforeProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
AbstractLayoutFileMarkupFilter
AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
method.beforeProcessTag
in class PortalAdministrationMarkupFilter
componentTag
- the tag to be processed.AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
,
AbstractLayoutFileMarkupFilter.afterProcessTag(ComponentTag)
protected void afterProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
AbstractLayoutFileMarkupFilter
AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
method.afterProcessTag
in class PortalAdministrationMarkupFilter
componentTag
- the tag processed.AbstractLayoutFileMarkupFilter.beforeProcessTag(ComponentTag)
,
AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
protected boolean isHTMLElement(org.apache.wicket.markup.ComponentTag tag, String elementName)
The element name is compared case insensitively.
isHTMLElement
in class PageMarkupFilter
tag
- the given tag.elementName
- the given element name.Lumisportal 8.2.2.160411 - Copyright © 2006â??2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.