Class PortalSettingsLayoutFileMarkupFilter
- java.lang.Object
-
- org.apache.wicket.markup.parser.AbstractMarkupFilter
-
- lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
-
- lumis.portal.presentation.tag.page.PageMarkupFilter
-
- lumis.portal.presentation.mode.navigation.NavigationMarkupFilter
-
- lumis.portal.presentation.mode.portaladministration.PortalAdministrationMarkupFilter
-
- lumis.portal.presentation.mode.portaladministration.PortalSettingsLayoutFileMarkupFilter
-
- All Implemented Interfaces:
org.apache.wicket.markup.parser.IMarkupFilter
public class PortalSettingsLayoutFileMarkupFilter extends PortalAdministrationMarkupFilter
Markup filter included when a page is rendered within the Portal Settings.- Since:
- 7.1.0
- Version:
- $Revision: 16037 $ $Date: 2013-11-21 20:58:50 -0200 (Thu, 21 Nov 2013) $
-
-
Constructor Summary
Constructors Constructor Description PortalSettingsLayoutFileMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
Creates a new markup filter for use when rendering a page inside the Portal Studio.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
afterProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Allow to manipulate a tag after theAbstractLayoutFileMarkupFilter.processTag(ComponentTag)
method.protected org.apache.wicket.markup.ComponentTag
beforeProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Allow to manipulate a tag before theAbstractLayoutFileMarkupFilter.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.-
Methods inherited from class lumis.portal.presentation.mode.portaladministration.PortalAdministrationMarkupFilter
getDefaultNamespacePrefix, getGenerateIdPrefix, getNamespaceURI
-
Methods inherited from class lumis.portal.presentation.tag.page.PageMarkupFilter
processTag
-
Methods inherited from class lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
createComponentTag, extractAttribute, generateId, getNamespacePrefix, isStripLayoutFileTagsAndAttributes, nextTag, pushTag
-
-
-
-
Constructor Detail
-
PortalSettingsLayoutFileMarkupFilter
public PortalSettingsLayoutFileMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
Creates a new markup filter for use when rendering a page inside the Portal Studio.- Parameters:
stripLayoutFileTagsAndAttributes
- indicates whether layout file built-in tags and attributes are to be removed from the output.- Since:
- 6.0.0
-
-
Method Detail
-
beforeProcessTag
protected org.apache.wicket.markup.ComponentTag beforeProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Description copied from class:AbstractLayoutFileMarkupFilter
Allow to manipulate a tag before theAbstractLayoutFileMarkupFilter.processTag(ComponentTag)
method.- Overrides:
beforeProcessTag
in classPortalAdministrationMarkupFilter
- Parameters:
componentTag
- the tag to be processed.- Returns:
- the tag that will actually be processed.
- See Also:
AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
,AbstractLayoutFileMarkupFilter.afterProcessTag(ComponentTag)
-
afterProcessTag
protected void afterProcessTag(org.apache.wicket.markup.ComponentTag componentTag)
Description copied from class:AbstractLayoutFileMarkupFilter
Allow to manipulate a tag after theAbstractLayoutFileMarkupFilter.processTag(ComponentTag)
method.- Overrides:
afterProcessTag
in classPortalAdministrationMarkupFilter
- Parameters:
componentTag
- the tag processed.- See Also:
AbstractLayoutFileMarkupFilter.beforeProcessTag(ComponentTag)
,AbstractLayoutFileMarkupFilter.processTag(ComponentTag)
-
isHTMLElement
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.The element name is compared case insensitively.
- Overrides:
isHTMLElement
in classPageMarkupFilter
- Parameters:
tag
- the given tag.elementName
- the given element name.- Returns:
- true if the given tag corresponds to the given element name and has no name space.
- Since:
- 6.0.0
-
-