|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.servlet.jsp.tagext.TagSupport
|
+--javax.servlet.jsp.tagext.BodyTagSupport
|
+--com.devsphere.xml.taglib.support.tag.CommonSupport
|
+--com.devsphere.xml.taglib.output.tag.OutputSupport
|
+--com.devsphere.xml.taglib.output.tag.Element
Handler for the <o:element> tag that outputs an XML element.
| Field Summary | |
static java.util.List |
ALLOWED_ANCESTORS
|
| Fields inherited from class com.devsphere.xml.taglib.output.tag.OutputSupport |
ancestor, previousOut, serializer |
| Fields inherited from class com.devsphere.xml.taglib.support.tag.CommonSupport |
cachedDebug, cachedLogger, DEBUG_ATTR, DEFAULT_DEBUG, DEFAULT_RESTORE_VALUE, DEFAULT_SCOPE, LOGGER_ATTR, originalValues |
| Fields inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
bodyContent |
| Fields inherited from class javax.servlet.jsp.tagext.TagSupport |
id, pageContext |
| Fields inherited from interface javax.servlet.jsp.tagext.BodyTag |
EVAL_BODY_BUFFERED, EVAL_BODY_TAG |
| Fields inherited from interface javax.servlet.jsp.tagext.IterationTag |
EVAL_BODY_AGAIN |
| Fields inherited from interface javax.servlet.jsp.tagext.Tag |
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE |
| Constructor Summary | |
Element()
|
|
| Method Summary | |
protected void |
endOutput()
Outputs the end tag of the element. |
protected java.util.List |
getAllowedAncestors()
Returns the list of names of the tags that may contain the tag that is handled by this class. |
java.lang.String |
getTagName()
Returns the name of the handled tag |
protected void |
init()
Initializes the fields of this tag handler. |
void |
setAttr(java.lang.String attrExpr)
Sets the attributes of the element. |
void |
setEmpty(java.lang.String emptyExpr)
Sets a flag indicating if the produced element must be empty. |
void |
setName(java.lang.String nameExpr)
Sets the name of the element. |
void |
setUri(java.lang.String uriExpr)
Sets the namespace URI of the element, which will be the value of a XMLNS attribute. |
protected boolean |
shouldIgnoreContent()
Returns the value of the empty flag. |
protected void |
startOutput()
Outputs the start tag of the element. |
| Methods inherited from class com.devsphere.xml.taglib.output.tag.OutputSupport |
doEndTag, doStartTag, emptyComment, initOutput, shouldBufferContent |
| Methods inherited from class com.devsphere.xml.taglib.support.tag.CommonSupport |
checkVarName, checkVarScope, doCatch, doFinally, eval, evalBoolean, evalDouble, evalInt, evalString, export, export, getDebug, getLogger, log, log, log, restore, validate |
| Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport |
doAfterBody, doInitBody, getBodyContent, getPreviousOut, release, setBodyContent |
| Methods inherited from class javax.servlet.jsp.tagext.TagSupport |
findAncestorWithClass, getId, getParent, getValue, getValues, removeValue, setId, setPageContext, setParent, setValue |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.jsp.tagext.Tag |
getParent, setPageContext, setParent |
| Field Detail |
public static final java.util.List ALLOWED_ANCESTORS
| Constructor Detail |
public Element()
| Method Detail |
protected void init()
init in class OutputSupportpublic java.lang.String getTagName()
getTagName in class CommonSupportprotected java.util.List getAllowedAncestors()
getAllowedAncestors in class CommonSupportnull if the tag context doesn't matter.
public void setUri(java.lang.String uriExpr)
throws javax.servlet.jsp.JspException
XMLNS attribute.
uriExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setName(java.lang.String nameExpr)
throws javax.servlet.jsp.JspException
nameExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setAttr(java.lang.String attrExpr)
throws javax.servlet.jsp.JspException
org.xml.sax.helpers.AttributesImpl object
or a list of names of variables. In the latter case, the
attributes will have the names and values of the variables.
attrExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setEmpty(java.lang.String emptyExpr)
throws javax.servlet.jsp.JspException
emptyExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occurprotected boolean shouldIgnoreContent()
empty flag.
shouldIgnoreContent in class OutputSupport
protected void startOutput()
throws javax.servlet.jsp.JspException,
org.xml.sax.SAXException
startOutput in class OutputSupportjavax.servlet.jsp.JspException - to signal an error
org.xml.sax.SAXException - to signal an error
protected void endOutput()
throws javax.servlet.jsp.JspException,
org.xml.sax.SAXException
endOutput in class OutputSupportjavax.servlet.jsp.JspException - to signal an error
org.xml.sax.SAXException - to signal an error
|
Devsphere.com |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||