public class CmsJspTagContentCheck
extends javax.servlet.jsp.tagext.TagSupport
| 构造器和说明 |
|---|
CmsJspTagContentCheck() |
| 限定符和类型 | 方法和说明 |
|---|---|
static boolean |
contentCheckTagAction(java.lang.String elementList,
java.lang.String prefix,
boolean checkall,
boolean checknone,
I_CmsXmlDocument content,
java.util.Locale locale)
Internal action method to check the elements from the provided XML content item.
|
int |
doEndTag() |
int |
doStartTag() |
java.lang.String |
getIfexists()
Returns the list of elements to check.
|
java.lang.String |
getIfexistsall()
Returns the list of elements to check.
|
java.lang.String |
getIfexistsnone()
Returns the list of elements to check.
|
java.lang.String |
getIfexistsone()
Returns the list of elements to check.
|
java.lang.String |
getLocale()
Returns the locale used for checking.
|
void |
release() |
void |
setIfexists(java.lang.String elementList)
Sets the list of elements to check for.
|
void |
setIfexistsall(java.lang.String elementList)
Sets the list of elements to check for.
|
void |
setIfexistsnone(java.lang.String elementList)
Sets the list of elements to check for.
|
void |
setIfexistsone(java.lang.String elementList)
Sets the list of elements to check for.
|
void |
setLocale(java.lang.String locale)
Sets the locale used for checking.
|
public static boolean contentCheckTagAction(java.lang.String elementList,
java.lang.String prefix,
boolean checkall,
boolean checknone,
I_CmsXmlDocument content,
java.util.Locale locale)
elementList - the list of elements to check forprefix - the Xpath prefix to append the elements to (in case of nested schemas)checkall - flag to indicate that all elements should be checkedchecknone - flag to indicate that the check is done for nonexisting elementscontent - the XML content document to check the elements fromlocale - the locale to check the element forpublic int doEndTag()
doEndTag 在接口中 javax.servlet.jsp.tagext.TagdoEndTag 在类中 javax.servlet.jsp.tagext.TagSupportTag.doEndTag()public int doStartTag()
throws javax.servlet.jsp.JspException
doStartTag 在接口中 javax.servlet.jsp.tagext.TagdoStartTag 在类中 javax.servlet.jsp.tagext.TagSupportjavax.servlet.jsp.JspExceptionTag.doStartTag()public java.lang.String getIfexists()
public java.lang.String getIfexistsall()
public java.lang.String getIfexistsnone()
public java.lang.String getIfexistsone()
public java.lang.String getLocale()
public void release()
release 在接口中 javax.servlet.jsp.tagext.Tagrelease 在类中 javax.servlet.jsp.tagext.TagSupportTag.release()public void setIfexists(java.lang.String elementList)
elementList - the list of elements to check forpublic void setIfexistsall(java.lang.String elementList)
elementList - the list of elements to check forpublic void setIfexistsnone(java.lang.String elementList)
elementList - the list of elements to check forpublic void setIfexistsone(java.lang.String elementList)
elementList - the list of elements to check forpublic void setLocale(java.lang.String locale)
locale - the locale to set