lumis.portal.presentation.perspective.admin
Class PortalStudioLayoutFileMarkupFilter

Package class diagram package PortalStudioLayoutFileMarkupFilter
java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
          extended by lumis.portal.presentation.tag.page.PageMarkupFilter
              extended by lumis.portal.presentation.perspective.user.UserPerspectiveMarkupFilter
                  extended by lumis.portal.presentation.perspective.admin.PortalStudioLayoutFileMarkupFilter
All Implemented Interfaces:
org.apache.wicket.markup.parser.IMarkupFilter
Direct Known Subclasses:
AdminPerspectiveMarkupFilter

public class PortalStudioLayoutFileMarkupFilter
extends UserPerspectiveMarkupFilter

Markup filter included when a page is rendered within the Portal Studio.

Injects the components and markup necessary for Portal Studio execution.

<head> <headScripts></headScripts> <portalStudioHead></portalStudioHead> </head> <body> <portalStudioFooterHeader></portalStudioFooterHeader> <workPane> <workPaneHeader></workPaneHeader> <workPaneBody> <workPaneBodyBg> <bodyHeader></bodyHeader> <!-- original layout file --> </workPaneBodyBg> </workPaneBody> <workPaneFooter></workPaneFooter> </workPane> <portalStudioFooter></portalStudioFooter> </body>

Since:
6.0.0

Constructor Summary
PortalStudioLayoutFileMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
          Creates a new markup filter for use when rendering a page inside the Portal Studio.
 
Method Summary
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  String getDefaultNamespacePrefix()
          Returns the default namespace prefix for the tags processed by this filter.
protected  String getGenerateIdPrefix()
          Returns the prefix to be used by AbstractLayoutFileMarkupFilter.generateId(String).
protected  String getNamespaceURI()
          Returns the namespace URI whose prefix will be determined to be returned by AbstractLayoutFileMarkupFilter.getNamespacePrefix().
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.tag.page.PageMarkupFilter
processTag
 
Methods inherited from class lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
createComponentTag, extractAttribute, generateId, getNamespacePrefix, isStripLayoutFileTagsAndAttributes, nextTag, pushTag
 
Methods inherited from class org.apache.wicket.markup.parser.AbstractMarkupFilter
getParent, nextComponentTag, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalStudioLayoutFileMarkupFilter

public PortalStudioLayoutFileMarkupFilter(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

getGenerateIdPrefix

protected String getGenerateIdPrefix()
Description copied from class: AbstractLayoutFileMarkupFilter
Returns the prefix to be used by AbstractLayoutFileMarkupFilter.generateId(String).

Overrides:
getGenerateIdPrefix in class PageMarkupFilter
Returns:
the prefix.

getNamespaceURI

protected String getNamespaceURI()
Description copied from class: AbstractLayoutFileMarkupFilter
Returns the namespace URI whose prefix will be determined to be returned by AbstractLayoutFileMarkupFilter.getNamespacePrefix().

Overrides:
getNamespaceURI in class PageMarkupFilter
Returns:
the namespace URI.

getDefaultNamespacePrefix

protected String getDefaultNamespacePrefix()
Description copied from class: AbstractLayoutFileMarkupFilter
Returns the default namespace prefix for the tags processed by this filter. This is the prefix that will be used if the namespace is not defined in the markup.

Overrides:
getDefaultNamespacePrefix in class PageMarkupFilter
Returns:
the default namespace prefix.
See Also:
AbstractLayoutFileMarkupFilter.getNamespacePrefix()

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 the AbstractLayoutFileMarkupFilter.processTag(ComponentTag) method.

Overrides:
beforeProcessTag in class UserPerspectiveMarkupFilter
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 the AbstractLayoutFileMarkupFilter.processTag(ComponentTag) method.

Overrides:
afterProcessTag in class UserPerspectiveMarkupFilter
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 class PageMarkupFilter
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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.