1 19 20 package edu.umd.cs.findbugs.xml; 21 22 import java.io.IOException ; 23 24 31 public interface XMLOutput { 32 35 public void beginDocument() throws IOException ; 36 37 42 public void openTag(String tagName) throws IOException ; 43 44 50 public void openTag(String tagName, XMLAttributeList attributeList) throws IOException ; 51 52 59 public void startTag(String tagName) throws IOException ; 60 61 68 public void addAttribute(String name, String value) throws IOException ; 69 70 76 public void stopTag(boolean close) throws IOException ; 77 78 83 public void openCloseTag(String tagName) throws IOException ; 84 85 91 public void openCloseTag(String tagName, XMLAttributeList attributeList) throws IOException ; 92 93 98 public void closeTag(String tagName) throws IOException ; 99 100 106 public void writeText(String text) throws IOException ; 107 108 114 public void writeCDATA(String cdata) throws IOException ; 115 116 124 public void finish() throws IOException ; 125 } 126 127 | Popular Tags |