dbXML API

com.dbxml.db.enterprise.jsp
Class SetDocumentTag

java.lang.Object
  extended byjavax.servlet.jsp.tagext.TagSupport
      extended byjavax.servlet.jsp.tagext.BodyTagSupport
          extended bycom.dbxml.db.enterprise.jsp.SetDocumentTag
All Implemented Interfaces:
javax.servlet.jsp.tagext.BodyTag, javax.servlet.jsp.tagext.IterationTag, java.io.Serializable, javax.servlet.jsp.tagext.Tag

public class SetDocumentTag
extends javax.servlet.jsp.tagext.BodyTagSupport

SetDocumentTag updates the tag's BodyContent into the specified CollectionClient using the specified key.

Example:

   <dbxml:set collection="myCol" key="myDoc.xml">
      <newdoc>
         Some new value
      </newdoc>
   </dbxml:set>

See Also:
Serialized Form

Field Summary
 
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
SetDocumentTag()
           
 
Method Summary
 int doEndTag()
           
 java.lang.String getCollection()
           
 java.lang.String getKey()
           
 void setCollection(java.lang.String collection)
           
 void setKey(java.lang.String key)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doAfterBody, doInitBody, doStartTag, 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
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.servlet.jsp.tagext.Tag
getParent, setPageContext, setParent
 

Constructor Detail

SetDocumentTag

public SetDocumentTag()
Method Detail

getCollection

public java.lang.String getCollection()

setCollection

public void setCollection(java.lang.String collection)

getKey

public java.lang.String getKey()

setKey

public void setKey(java.lang.String key)

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

dbXML API

Copyright (c) 2004 The dbXML Group