|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
CachingSerializer
interface allows low-level character interaction with a serializer.
Method Summary | |
void |
flush()
Flushes all the buffers |
java.lang.String |
getCache()
Asks serializer for an accumulated cache content. |
void |
printRawCharacters(java.lang.String text)
Allows one to print a String of characters directly to the output stream. |
void |
setDocumentStarted(boolean setting)
Let the serializer know if the document has already been started. |
boolean |
startCaching()
Commands serializer to start caching. |
boolean |
stopCaching()
Commands serializer to stop caching. |
Method Detail |
public boolean startCaching() throws java.io.IOException
false
if the serializer is already caching.
java.io.IOException
public boolean stopCaching() throws java.io.IOException
false
if the serializer was NOT caching.
java.io.IOException
public java.lang.String getCache() throws java.io.UnsupportedEncodingException, java.io.IOException
String
cache.
java.io.UnsupportedEncodingException
- if the OutputFormat specified unsupported encoding
java.io.IOException
public void printRawCharacters(java.lang.String text) throws java.io.IOException
String
of characters directly to the output stream.
text
- a String
value
java.io.IOException
public void setDocumentStarted(boolean setting)
setting
- a boolean
valuepublic void flush() throws java.io.IOException
java.io.IOException
- if an error occurs
|
uPortal 2.4.1 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |