Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

oracle.cabo.ui.io
Class FlushOnEndElementOutputMethod

java.lang.Object
  |
  +--oracle.cabo.ui.io.WrappingOutputMethod
        |
        +--oracle.cabo.ui.io.FlushOnEndElementOutputMethod
All Implemented Interfaces:
CloneWithPrintWriter, OutputMethod

public class FlushOnEndElementOutputMethod
extends WrappingOutputMethod

Output method that wraps another and automatically flushes output every time an element finishes; useful for debugging.


Constructor Summary
FlushOnEndElementOutputMethod(OutputMethod wrapped, java.io.PrintWriter writer, java.io.OutputStream stream)
          Creates a FlushOnEndElementOutputMethod.
 
Method Summary
 OutputMethod cloneWithPrintWriter(java.io.PrintWriter writer)
          Creates a new instance of this FlushOnEndElementOutputMethod, using a different PrintWriter.
 void endElement(java.lang.String name)
          Outputs an end element tag.
 
Methods inherited from class oracle.cabo.ui.io.WrappingOutputMethod
cloneWrappedOutputMethod, endDocument, flush, getContentType, startDocument, startElement, supportsCloneWithPrintWriter, writeAttribute, writeAttribute, writeComment, writeRawText, writeRawText, writeRawText, writeText, writeText, writeText, writeText, writeURIAttribute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FlushOnEndElementOutputMethod

public FlushOnEndElementOutputMethod(OutputMethod wrapped,
                                     java.io.PrintWriter writer,
                                     java.io.OutputStream stream)
Creates a FlushOnEndElementOutputMethod.
Method Detail

cloneWithPrintWriter

public OutputMethod cloneWithPrintWriter(java.io.PrintWriter writer)
Creates a new instance of this FlushOnEndElementOutputMethod, using a different PrintWriter.
Overrides:
cloneWithPrintWriter in class WrappingOutputMethod

endElement

public void endElement(java.lang.String name)
                throws java.io.IOException
Description copied from interface: OutputMethod
Outputs an end element tag. This should be called once all the contents of the element have been renderered - it is not used to close the start-element-tag.
Overrides:
endElement in class WrappingOutputMethod

Oracle UIX API Reference
Release 2.1.22.0.0
B12196-01

Copyright © 2002,2003, Oracle. All Rights Reserved.