java.lang.Object
javax.servlet.jsp.tagext.SimpleTagSupport
com.semanticcms.core.taglib.LinkTag
- All Implemented Interfaces:
ParamsAttribute
,DynamicAttributes
,JspTag
,SimpleTag
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Adds a dynamic attribute.void
void
doTag()
getClazz()
void
setAbsolute
(boolean absolute) void
setAllowGeneratedElement
(boolean allowGeneratedElement) void
setAnchor
(ValueExpression anchor) void
setBook
(ValueExpression book) void
setCanonical
(boolean canonical) void
setClazz
(ValueExpression clazz) void
setDynamicAttribute
(String uri, String localName, Object value) Deprecated.void
setElement
(ValueExpression element) void
setPage
(ValueExpression page) void
setSmall
(boolean small) void
setView
(ValueExpression view) 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
Methods inherited from interface com.aoapps.taglib.ParamsAttribute
addParam
-
Constructor Details
-
LinkTag
public LinkTag()
-
-
Method Details
-
addParam
- Specified by:
addParam
in interfaceParamsAttribute
-
getClazz
-
setClazz
-
setBook
-
setPage
-
setElement
-
setAllowGeneratedElement
public void setAllowGeneratedElement(boolean allowGeneratedElement) -
setAnchor
-
setView
-
setSmall
public void setSmall(boolean small) -
setAbsolute
public void setAbsolute(boolean absolute) -
setCanonical
public void setCanonical(boolean canonical) -
addDynamicAttribute
protected boolean addDynamicAttribute(String uri, String localName, Object value, List<String> expectedPatterns) throws JspTagException Adds a dynamic attribute.- Returns:
true
when added, orfalse
when attribute not expected and has not been added.- Throws:
JspTagException
- See Also:
-
setDynamicAttribute
@Deprecated(forRemoval=false) public void setDynamicAttribute(String uri, String localName, Object value) throws JspException Deprecated.You should probably be implementing inaddDynamicAttribute(java.lang.String, java.lang.String, java.lang.Object, java.util.List)
Sets a dynamic attribute.- Specified by:
setDynamicAttribute
in interfaceDynamicAttributes
- Throws:
JspException
- See Also:
-
doTag
- Specified by:
doTag
in interfaceSimpleTag
- Overrides:
doTag
in classSimpleTagSupport
- Throws:
JspException
IOException
-
addDynamicAttribute(java.lang.String, java.lang.String, java.lang.Object, java.util.List)