|
||||||||||
| 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 |
String |
getCache()
Asks serializer for an accumulated cache content. |
void |
printRawCharacters(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. |
| Methods inherited from interface org.xml.sax.ContentHandler |
|---|
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping |
| Methods inherited from interface org.xml.sax.DocumentHandler |
|---|
characters, endDocument, endElement, ignorableWhitespace, processingInstruction, setDocumentLocator, startDocument, startElement |
| Methods inherited from interface org.xml.sax.ext.LexicalHandler |
|---|
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity |
| Methods inherited from interface org.xml.sax.DTDHandler |
|---|
notationDecl, unparsedEntityDecl |
| Methods inherited from interface org.xml.sax.ext.DeclHandler |
|---|
attributeDecl, elementDecl, externalEntityDecl, internalEntityDecl |
| Methods inherited from interface org.jasig.portal.serialize.DOMSerializer |
|---|
serialize, serialize, serialize |
| Methods inherited from interface org.jasig.portal.serialize.Serializer |
|---|
asContentHandler, asDocumentHandler, asDOMSerializer, setOutputByteStream, setOutputCharStream, setOutputFormat |
| Methods inherited from interface org.jasig.portal.IAnchoringSerializer |
|---|
startAnchoring, stopAnchoring |
| Method Detail |
|---|
boolean startCaching()
throws IOException
false if the serializer is already caching.
IOException
boolean stopCaching()
throws IOException
false if the serializer was NOT caching.
IOException
String getCache()
throws UnsupportedEncodingException,
IOException
String cache.
UnsupportedEncodingException - if the OutputFormat specified unsupported encoding
IOException
void printRawCharacters(String text)
throws IOException
String of characters directly to the output stream.
text - a String value
IOExceptionvoid setDocumentStarted(boolean setting)
setting - a boolean value
void flush()
throws IOException
flush in interface MarkupSerializerIOException - if an error occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||