oracle.cabo.ui.io
Class DebugHTMLOutputMethod
java.lang.Object
|
+--oracle.cabo.ui.io.WrappingOutputMethod
|
+--oracle.cabo.ui.io.DebugHTMLOutputMethod
- All Implemented Interfaces:
- CloneWithPrintWriter, OutputMethod
- public class DebugHTMLOutputMethod
- extends WrappingOutputMethod
Output method that wraps another and checks for common
HTML mistakes, like form tags inside other form tags,
or misplaced td and tr elements.
Method Summary |
OutputMethod |
cloneWithPrintWriter(java.io.PrintWriter writer)
Creates a new instance of this DebugHTMLOutputMethod, using a different
PrintWriter. |
void |
endElement(java.lang.String name)
Outputs an end element tag. |
void |
startElement(java.lang.String name)
Outputs a start element tag. |
void |
writeAttribute(java.lang.String name,
java.lang.Object value)
Writes an attribute with the given name and value. |
Methods inherited from class oracle.cabo.ui.io.WrappingOutputMethod |
cloneWrappedOutputMethod, endDocument, flush, getContentType, startDocument, supportsCloneWithPrintWriter, 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 |
DebugHTMLOutputMethod
public DebugHTMLOutputMethod(OutputMethod wrapped)
- Creates a DebugHTMLOutputMethod.
DebugHTMLOutputMethod
public DebugHTMLOutputMethod(OutputMethod wrapped,
ErrorLog log)
- Creates a DebugHTMLOutputMethod.
cloneWithPrintWriter
public OutputMethod cloneWithPrintWriter(java.io.PrintWriter writer)
- Creates a new instance of this DebugHTMLOutputMethod, using a different
PrintWriter.
- Overrides:
cloneWithPrintWriter
in class WrappingOutputMethod
startElement
public void startElement(java.lang.String name)
throws java.io.IOException
- Description copied from interface:
OutputMethod
- Outputs a start element tag. Once this method has been alled,
clients can begin calling
writeAttribute()
.
- Overrides:
startElement
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
writeAttribute
public void writeAttribute(java.lang.String name,
java.lang.Object value)
throws java.io.IOException
- Description copied from interface:
OutputMethod
- Writes an attribute with the given name and value.
It is an error to call this method if the previous call
to the output method was not either
startElement()
or another writeAttribute
.
- Overrides:
writeAttribute
in class WrappingOutputMethod