lumis.portal.presentation.tag.el
Class ELMarkupFilter

Package class diagram package ELMarkupFilter
java.lang.Object
  extended by org.apache.wicket.markup.parser.AbstractMarkupFilter
      extended by lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
          extended by lumis.portal.presentation.tag.el.ELMarkupFilter
All Implemented Interfaces:
org.apache.wicket.markup.parser.IMarkupFilter

public class ELMarkupFilter
extends AbstractLayoutFileMarkupFilter

Markup filter that processes layout file tags for the EL namespace.

Since:
6.0.0

Constructor Summary
ELMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
          Creates a new markup filter for processing layout file EL tags.
 
Method Summary
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  org.apache.wicket.markup.ComponentTag processTag(org.apache.wicket.markup.ComponentTag tag)
          Processes the tag.
 
Methods inherited from class lumis.portal.presentation.core.AbstractLayoutFileMarkupFilter
afterProcessTag, beforeProcessTag, 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

ELMarkupFilter

public ELMarkupFilter(boolean stripLayoutFileTagsAndAttributes)
Creates a new markup filter for processing layout file EL tags.

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).

Specified by:
getGenerateIdPrefix in class AbstractLayoutFileMarkupFilter
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().

Specified by:
getNamespaceURI in class AbstractLayoutFileMarkupFilter
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.

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

processTag

protected org.apache.wicket.markup.ComponentTag processTag(org.apache.wicket.markup.ComponentTag tag)
                                                    throws ParseException
Description copied from class: AbstractLayoutFileMarkupFilter
Processes the tag.

Overrides:
processTag in class AbstractLayoutFileMarkupFilter
Parameters:
tag - the tag to process.
Returns:
the resulting tag.
Throws:
ParseException - if a invalid situation was detected at the markup.
See Also:
AbstractLayoutFileMarkupFilter.beforeProcessTag(ComponentTag), AbstractLayoutFileMarkupFilter.afterProcessTag(ComponentTag)


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