|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- the Writer class being used, usually a JspWriterpublic interface WriterWrapper<T extends java.io.Writer>
Wrapper around the JspWriter class
Method Summary | |
---|---|
WriterWrapper<T> |
end(java.lang.String tag)
Ends a HTML tag |
WriterWrapper<T> |
endJavascript()
Write a javascript end tag |
void |
flush()
Flush the written contents |
java.io.Writer |
getWriter()
|
WriterWrapper<T> |
print(java.lang.CharSequence s)
Print a String |
WriterWrapper<T> |
print(java.lang.Object o)
Print ant Object, invoking its toString() method |
WriterWrapper<T> |
printAttribute(java.lang.String name,
java.lang.Object value)
Prints a tag attribute and value, if not null |
WriterWrapper<T> |
printHiddenField(java.lang.String name,
java.lang.Object value)
Prints a hidden form field if its value is not null |
WriterWrapper<T> |
start(java.lang.String tag,
java.lang.Object... attributes)
Start an HTML tag. |
WriterWrapper<T> |
startEnd(java.lang.String tag,
java.lang.Object... attributes)
Start and end a bodyless HTML tag. |
WriterWrapper<T> |
startJavascript()
Write a javascript start tag |
Method Detail |
---|
WriterWrapper<T> printAttribute(java.lang.String name, java.lang.Object value) throws java.io.IOException
name
- name of the attributevalue
- value of the attribute. If null, nothing will be written
java.io.IOException
WriterWrapper<T> print(java.lang.CharSequence s) throws java.io.IOException
s
- the text to be written
java.io.IOException
WriterWrapper<T> print(java.lang.Object o) throws java.io.IOException
o
- the object to be written
java.io.IOException
java.io.Writer getWriter()
WriterWrapper<T> printHiddenField(java.lang.String name, java.lang.Object value) throws java.io.IOException
name
- name of the fieldvalue
- value of the field. If null, nothing will be written
java.io.IOException
WriterWrapper<T> startJavascript() throws java.io.IOException
java.io.IOException
WriterWrapper<T> endJavascript() throws java.io.IOException
java.io.IOException
void flush() throws java.io.IOException
java.io.IOException
WriterWrapper<T> start(java.lang.String tag, java.lang.Object... attributes) throws java.io.IOException
java.lang.IllegalArgumentException
- if the number of attribute names and values do
not match.
java.io.IOException
WriterWrapper<T> startEnd(java.lang.String tag, java.lang.Object... attributes) throws java.io.IOException
java.lang.IllegalArgumentException
- if the number of attribute names and values do
not match.
java.io.IOException
WriterWrapper<T> end(java.lang.String tag) throws java.io.IOException
tag
-
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |