|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CachingSerializer
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 |
|---|
boolean startCaching()
throws java.io.IOException
false if the serializer is already caching.
java.io.IOException
boolean stopCaching()
throws java.io.IOException
false if the serializer was NOT caching.
java.io.IOException
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
void printRawCharacters(java.lang.String text)
throws java.io.IOException
String of characters directly to the output stream.
text - a String value
java.io.IOExceptionvoid setDocumentStarted(boolean setting)
setting - a boolean value
void flush()
throws java.io.IOException
java.io.IOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||