|
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.Fragment
|
+--com.devsphere.xml.taglib.output.tag.Document
Handler for the <o:document> tag that outputs a DOM tree or just sets the context for generating an XML document dynamically.
| Field Summary |
| Fields inherited from class com.devsphere.xml.taglib.output.tag.Fragment |
dom, domExpr |
| 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 | |
Document()
|
|
| Method Summary | |
protected void |
endOutput()
Ends the output of the document. |
protected java.util.List |
getAllowedAncestors()
Returns the list of names of the tags that may contain the tag that is handled by this class. |
protected java.util.Properties |
getOutputProperties()
Returns the output properties. |
java.lang.String |
getTagName()
Returns the name of the handled tag |
protected void |
init()
Initializes the fields of this tag handler. |
protected void |
initOutput()
Initializes this tag handler for output, creating the serializer object. |
void |
setEncoding(java.lang.String encodingExpr)
Sets the XML encoding. |
void |
setPublicId(java.lang.String publicIdExpr)
Sets the public doctype identifier of the produced XML document. |
void |
setStandalone(java.lang.String standaloneExpr)
Sets a flag indicating if the document should be declared standalone. |
void |
setSystemId(java.lang.String systemIdExpr)
Sets the system doctype identifier of the produced XML document. |
void |
setVersion(java.lang.String versionExpr)
Sets the XML version. |
void |
setXmldecl(java.lang.String xmldeclExpr)
Sets a flag indicating if the XML declaration should be included at the beginning of the produced XML document. |
protected void |
startOutput()
Serializes the DOM tree, if the dom attribute is present. |
| Methods inherited from class com.devsphere.xml.taglib.output.tag.Fragment |
setDom, setIndent, setMethod, shouldIgnoreContent |
| Methods inherited from class com.devsphere.xml.taglib.output.tag.OutputSupport |
doEndTag, doStartTag, emptyComment, 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 |
| Constructor Detail |
public Document()
| Method Detail |
protected void init()
init in class Fragmentpublic java.lang.String getTagName()
getTagName in class Fragmentprotected java.util.List getAllowedAncestors()
getAllowedAncestors in class Fragmentnull if the tag context doesn't matter.
public void setXmldecl(java.lang.String xmldeclExpr)
throws javax.servlet.jsp.JspException
javax.servlet.jsp.JspException - to signal any error that might occur
public void setStandalone(java.lang.String standaloneExpr)
throws javax.servlet.jsp.JspException
standaloneExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setVersion(java.lang.String versionExpr)
throws javax.servlet.jsp.JspException
versionExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setEncoding(java.lang.String encodingExpr)
throws javax.servlet.jsp.JspException
encodingExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setPublicId(java.lang.String publicIdExpr)
throws javax.servlet.jsp.JspException
publicIdExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
public void setSystemId(java.lang.String systemIdExpr)
throws javax.servlet.jsp.JspException
systemIdExpr - the expression that will be evaluated
javax.servlet.jsp.JspException - to signal any error that might occur
protected java.util.Properties getOutputProperties()
throws javax.servlet.jsp.JspException
getOutputProperties in class Fragmentjavax.servlet.jsp.JspException - to signal any error that might occur
protected void initOutput()
throws javax.servlet.jsp.JspException
initOutput in class OutputSupportjavax.servlet.jsp.JspException - to signal a tag validation error
protected void startOutput()
throws javax.servlet.jsp.JspException,
org.xml.sax.SAXException
dom attribute is present.
Otherwise, it starts a document whose content can be produced by
tags of this library.
startOutput in class Fragmentjavax.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 Fragmentjavax.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 | |||||||||