|
Enhydra 3.1b2 API | ||||||||
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. |
java.lang.String |
getJavaEncoding()
Get the Java 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. |
java.lang.String |
getXmlEncoding()
Get the XML encoding, determined from the OutputOptions and the formatter type. |
java.lang.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,
java.io.Writer writer)
Format any Node to the specified writer. |
Method Detail |
public java.lang.String getJavaEncoding()
public java.lang.String getXmlEncoding()
public boolean usedPreFormattedText()
public int getPreFormattedTextCount()
public int getDynamicFormattedTextCount()
public boolean usedPreFormattedElements()
public int getPreFormattedElementCount()
public int getDynamicFormattedElementCount()
public java.lang.String preFormatNode(Node node)
public void write(Node node, java.io.Writer writer) throws java.io.IOException
|
Enhydra 3.1b2 API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |