InsertTag.DirectStringHandler (Apache Struts API Documentation)
Keywords: org.apache.struts.taglib.tiles.InsertTag.DirectStringHandler,InsertTag.DirectStringHandler class

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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, 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`
    `javax.servlet.jsp.JspException`

### 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`
    `javax.servlet.jsp.JspException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2000-2003 - Apache Software Foundation