|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.XMLOutput
org.kohsuke.stapler.jelly.HTMLWriterOutput
public class HTMLWriterOutput
Wrapper for XMLOutput using HTMLWriter that can turn off its HTML handling (if the Content-Type gets set to something other than text/html).
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.jelly.XMLOutput |
|---|
LEXICAL_HANDLER_NAMES |
| Method Summary | |
|---|---|
void |
close()
|
static HTMLWriterOutput |
create(OutputStream out)
|
static HTMLWriterOutput |
create(Writer out,
boolean escapeText)
|
void |
useHTML(boolean enabled)
False to turn off HTML handling and reenable "/>" for any empty XML element. |
| Methods inherited from class org.apache.commons.jelly.XMLOutput |
|---|
asWriter, characters, comment, createDummyXMLOutput, createXMLOutput, createXMLOutput, createXMLOutput, createXMLOutput, createXMLOutput, createXMLOutput, endCDATA, endDocument, endDTD, endElement, endElement, endEntity, endPrefixMapping, flush, getContentHandler, getLexicalHandler, ignorableWhitespace, objectData, processingInstruction, setContentHandler, setDocumentLocator, setLexicalHandler, skippedEntity, startCDATA, startDocument, startDTD, startElement, startElement, startElement, startEntity, startPrefixMapping, toString, write, writeCDATA, writeComment |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public static HTMLWriterOutput create(OutputStream out)
throws UnsupportedEncodingException
UnsupportedEncodingException
public static HTMLWriterOutput create(Writer out,
boolean escapeText)
public void close()
throws IOException
close in class org.apache.commons.jelly.XMLOutputIOExceptionpublic void useHTML(boolean enabled)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||