info.magnolia.templating.jsp
Class AbstractTag<C extends TemplatingElement>
java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
info.magnolia.templating.jsp.AbstractTag<C>
- Type Parameters:
C
- the templating element the tag is operating on
- All Implemented Interfaces:
- javax.servlet.jsp.tagext.JspTag, javax.servlet.jsp.tagext.SimpleTag
public abstract class AbstractTag<C extends TemplatingElement>
- extends javax.servlet.jsp.tagext.SimpleTagSupport
Base class for jsp tags.
- Version:
- $Id$
Methods inherited from class javax.servlet.jsp.tagext.SimpleTagSupport |
findAncestorWithClass, getJspBody, getJspContext, getParent, setJspBody, setJspContext, setParent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractTag
public AbstractTag()
doTag
public void doTag()
throws javax.servlet.jsp.JspException,
IOException
- Specified by:
doTag
in interface javax.servlet.jsp.tagext.SimpleTag
- Overrides:
doTag
in class javax.servlet.jsp.tagext.SimpleTagSupport
- Throws:
javax.servlet.jsp.JspException
IOException
doBody
protected void doBody()
throws javax.servlet.jsp.JspException,
IOException
- Throws:
javax.servlet.jsp.JspException
IOException
createTemplatingElement
protected C createTemplatingElement()
getTemplatingElementClass
protected Class<C> getTemplatingElementClass()
mandatoryStringList
protected List<String> mandatoryStringList(Object attrValue,
String attributeName)
throws javax.servlet.jsp.JspException
- Converts (split) a single comma-separated string, or returns a copy of the given collection or String array.
- Throws:
javax.servlet.jsp.JspException
split
protected List<String> split(String s)
Copyright © 2003-2012 Magnolia International Ltd.. All Rights Reserved.