1 23 24 package org.enhydra.xml.io; 25 26 import java.io.IOException ; 27 import java.io.Writer ; 28 29 import org.w3c.dom.Node ; 30 31 35 public interface Formatter { 36 40 public String getMIMEEncoding(); 41 42 46 public boolean usedPreFormattedText(); 47 48 51 public int getPreFormattedTextCount(); 52 53 57 public int getDynamicFormattedTextCount(); 58 59 64 public boolean usedPreFormattedElements(); 65 66 69 public int getPreFormattedElementCount(); 70 71 75 public int getDynamicFormattedElementCount(); 76 77 82 public String preFormatNode(Node node); 83 84 87 public void write(Node node, 88 Writer writer) throws IOException ; 89 } 90 | Popular Tags |