|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for document-type specific formatters. Instances are single-threaded.
Method Summary | |
int |
getDynamicFormattedElementCount()
Get the count of element open tags that were written not using preformatted text. |
int |
getDynamicFormattedTextCount()
Get the count of text nodes that were written not using preformatted text. |
String |
getMIMEEncoding()
Get the MIME-preferred encoding, determined from the OutputOptions and the formatter type. |
int |
getPreFormattedElementCount()
Get the count of preformatted element open tags that were written. |
int |
getPreFormattedTextCount()
Get the count of preformatted text nodes that were written. |
String |
preFormatNode(Node node)
Format the contents of a node that can later be returned by a node implementing FormattedText. |
boolean |
usedPreFormattedElements()
Determine if preformatted element open tags were used for the last document formatted. |
boolean |
usedPreFormattedText()
Determine if preformatted text was used for the last document formatted. |
void |
write(Node node,
Writer writer)
Format any Node to the specified writer. |
Method Detail |
public String getMIMEEncoding()
public boolean usedPreFormattedText()
public int getPreFormattedTextCount()
public int getDynamicFormattedTextCount()
public boolean usedPreFormattedElements()
public int getPreFormattedElementCount()
public int getDynamicFormattedElementCount()
public String preFormatNode(Node node)
public void write(Node node, Writer writer) throws IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |