org.apache.struts.taglib.tiles

Class InsertTag.DirectStringHandler

protected class InsertTag.DirectStringHandler extends Object implements InsertTag.TagHandler

Handle insert direct string.
Field Summary
Objectvalue
Object to print as a direct string
Constructor Summary
DirectStringHandler(Object value)
Constructor.
Method Summary
intdoEndTag()
Print String in page output stream.
intdoStartTag()
Do nothing, there is no context for a direct string.
voidputAttribute(String name, Object value)
Add attribute to sub context.

Field Detail

value

private Object value
Object to print as a direct string

Constructor Detail

DirectStringHandler

public DirectStringHandler(Object value)
Constructor.

Method Detail

doEndTag

public int doEndTag()
Print String in page output stream.

doStartTag

public int doStartTag()
Do nothing, there is no context for a direct string.

putAttribute

public void putAttribute(String name, Object value)
Add attribute to sub context. Do nothing.
Copyright © 2000-2008 - The Apache Software Foundation