lumis.portal.presentation.perspective.publisher
Class PublisherPerspectiveMarkupFilter

Package class diagram package PublisherPerspectiveMarkupFilter
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.publisher.PublisherPerspectiveMarkupFilter
All Implemented Interfaces:
org.apache.wicket.markup.parser.IMarkupFilter

public class PublisherPerspectiveMarkupFilter
extends UserPerspectiveMarkupFilter

Filters the perspective for the Publisher mode.

Since:
6.0.0

Constructor Summary
PublisherPerspectiveMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
          The class constructor.
 
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

PublisherPerspectiveMarkupFilter

public PublisherPerspectiveMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
The class constructor.

Parameters:
stripLayoutFileTagsAndAttributes - is true if must removes the layout file tags and attributes else is false.
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.