Apache Struts API Documentation: Class InsertTag.DirectStringHandler

Apache Struts API


org.apache.struts.taglib.tiles Class InsertTag.DirectStringHandler

java.lang.Object
  |
  +--org.apache.struts.taglib.tiles.InsertTag.DirectStringHandler
All Implemented Interfaces:
InsertTag.TagHandler
Enclosing class:
InsertTag

protected class InsertTag.DirectStringHandler
extends java.lang.Object
implements InsertTag.TagHandler

Handle insert direct string.


Field Summary
private  java.lang.Object value
          Object to print as a direct string
 
Constructor Summary
InsertTag.DirectStringHandler(java.lang.Object value)
          Constructor.
 
Method Summary
 int doEndTag()
          Print String in page output stream.
 int doStartTag()
          Do nothing, there is no context for a direct string.
 void putAttribute(java.lang.String name, java.lang.Object value)
          Add attribute to sub context.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

value

private java.lang.Object value
Object to print as a direct string
Constructor Detail

InsertTag.DirectStringHandler

public InsertTag.DirectStringHandler(java.lang.Object value)
Constructor.
Method Detail

doStartTag

public int doStartTag()
               throws javax.servlet.jsp.JspException
Do nothing, there is no context for a direct string.
Specified by:
doStartTag in interface InsertTag.TagHandler

putAttribute

public void putAttribute(java.lang.String name,
                         java.lang.Object value)
Add attribute to sub context. Do nothing.
Specified by:
putAttribute in interface InsertTag.TagHandler

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Print String in page output stream.
Specified by:
doEndTag in interface InsertTag.TagHandler


Copyright © 2000-2005 - The Apache Software Foundation