com.lotus.xsl
Interface Formatter
- All Known Implementing Classes:
- XMLParserLiaisonDefault
- public abstract interface Formatter
Method Summary |
FormatterListener |
getFormatterListener()
Get an instance of the formatter listener that is associated
with this formatter. |
void |
setFormatterListener(FormatterListener fl)
Set an instance of the formatter listener that is associated
with this formatter. |
void |
setFormatterListener(java.io.PrintWriter pw,
java.lang.String resultns,
boolean format)
Set an instance of the formatter listener that is associated
with this formatter. |
void |
toMarkup(com.lotus.xsl.Document doc,
java.io.PrintWriter pw,
java.lang.String resultns,
boolean format)
Print the result tree. |
toMarkup
public void toMarkup(com.lotus.xsl.Document doc,
java.io.PrintWriter pw,
java.lang.String resultns,
boolean format)
throws java.lang.Exception
- Print the result tree.
- Parameters:
doc
- The result tree.pw
- The PrintWriter to print the contents to.resultns
- the value of the resultns attribute.format
- Tells if it should be pretty-printed.- Throws:
- java.lang.Exception - thrown if the result tree is corrupted.
getFormatterListener
public FormatterListener getFormatterListener()
- Get an instance of the formatter listener that is associated
with this formatter.
setFormatterListener
public void setFormatterListener(java.io.PrintWriter pw,
java.lang.String resultns,
boolean format)
- Set an instance of the formatter listener that is associated
with this formatter.
setFormatterListener
public void setFormatterListener(FormatterListener fl)
- Set an instance of the formatter listener that is associated
with this formatter.