|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.servlet.jsp.tagext.TagExtraInfo
org.opencms.jsp.CmsJspTagIncludeTEI
This is a TagExtraInfo evaluation class that checks the attibutes of
the <cms:include />
tag.
Constructor Summary | |
CmsJspTagIncludeTEI()
|
Method Summary | |
static boolean |
isSpecified(javax.servlet.jsp.tagext.TagData data,
java.lang.String attributeName)
Returns true if the given attribute name is specified, false otherwise. |
boolean |
isValid(javax.servlet.jsp.tagext.TagData data)
Checks the validity of the <cms:include /> attributes. |
Methods inherited from class javax.servlet.jsp.tagext.TagExtraInfo |
getTagInfo, getVariableInfo, setTagInfo |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CmsJspTagIncludeTEI()
Method Detail |
public static boolean isSpecified(javax.servlet.jsp.tagext.TagData data, java.lang.String attributeName)
data
- the tag dataattributeName
- the attribute name
public boolean isValid(javax.servlet.jsp.tagext.TagData data)
<cms:include />
attributes.The logic used is:
if (hasFile && (hasSuffix || hasProperty || hasAttribute)) return false; if (hasProperty && hasAttribute) return false; if (hasSuffix && !(hasProperty || hasAttribute)) return false;
data
- the tag data
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |