org.ow2.jonas.webapp.taglib
Class XmlFileTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by javax.servlet.jsp.tagext.BodyTagSupport
          extended by org.ow2.jonas.webapp.taglib.XmlFileTag
All Implemented Interfaces:
Serializable, BodyTag, IterationTag, JspTag, Tag

public class XmlFileTag
extends BodyTagSupport

Author:
Michel-Ange ANTON
See Also:
Serialized Form

Field Summary
protected  boolean comment
           
protected  String m_Body
           
protected  int m_Indent
           
protected  int m_LastPrint
           
 
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
XmlFileTag()
           
 
Method Summary
 int doAfterBody()
           
 int doEndTag()
          Render this instant actions control.
protected  String getNameElement(String p_ElementWithAttr)
           
protected  void printComment(JspWriter p_Out, String p_Print)
           
protected  void printElement(JspWriter p_Out, String p_Print)
           
protected  void printElementAutoClose(JspWriter p_Out, String p_Print)
           
protected  void printElementClose(JspWriter p_Out, String p_Print)
           
protected  void printHeader(JspWriter p_Out, String p_Print)
           
protected  void printIndent(JspWriter p_Out, int p_Indent)
           
protected  void printText(JspWriter p_Out, String p_Print)
           
 void release()
          Release all state information set by this tag.
protected  void render(JspWriter p_Out, String p_Xml, int p_Begin, int p_End)
           
protected  void setComment(boolean value)
           
 
Methods inherited from class javax.servlet.jsp.tagext.BodyTagSupport
doInitBody, doStartTag, getBodyContent, getPreviousOut, 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

m_Body

protected String m_Body

m_LastPrint

protected int m_LastPrint

m_Indent

protected int m_Indent

comment

protected boolean comment
Constructor Detail

XmlFileTag

public XmlFileTag()
Method Detail

doEndTag

public int doEndTag()
             throws JspException
Render this instant actions control.

Specified by:
doEndTag in interface Tag
Overrides:
doEndTag in class BodyTagSupport
Throws:
JspException - if a processing error occurs

doAfterBody

public int doAfterBody()
                throws JspException
Specified by:
doAfterBody in interface IterationTag
Overrides:
doAfterBody in class BodyTagSupport
Throws:
JspException

release

public void release()
Release all state information set by this tag.

Specified by:
release in interface Tag
Overrides:
release in class BodyTagSupport

render

protected void render(JspWriter p_Out,
                      String p_Xml,
                      int p_Begin,
                      int p_End)
               throws IOException,
                      JspException
Throws:
IOException
JspException

printElement

protected void printElement(JspWriter p_Out,
                            String p_Print)
                     throws IOException,
                            JspException
Throws:
IOException
JspException

printElementAutoClose

protected void printElementAutoClose(JspWriter p_Out,
                                     String p_Print)
                              throws IOException,
                                     JspException
Throws:
IOException
JspException

printElementClose

protected void printElementClose(JspWriter p_Out,
                                 String p_Print)
                          throws IOException,
                                 JspException
Throws:
IOException
JspException

printComment

protected void printComment(JspWriter p_Out,
                            String p_Print)
                     throws IOException,
                            JspException
Throws:
IOException
JspException

printHeader

protected void printHeader(JspWriter p_Out,
                           String p_Print)
                    throws IOException,
                           JspException
Throws:
IOException
JspException

printText

protected void printText(JspWriter p_Out,
                         String p_Print)
                  throws IOException,
                         JspException
Throws:
IOException
JspException

printIndent

protected void printIndent(JspWriter p_Out,
                           int p_Indent)
                    throws IOException,
                           JspException
Throws:
IOException
JspException

getNameElement

protected String getNameElement(String p_ElementWithAttr)

setComment

protected void setComment(boolean value)


Copyright © 2010 OW2 Consortium. All Rights Reserved.