1 package javax.xml.stream; 2 3 import javax.xml.stream.events.*; 4 import javax.xml.stream.util.XMLEventConsumer; 5 import javax.xml.namespace.NamespaceContext ; 6 7 24 public interface XMLEventWriter extends XMLEventConsumer { 25 26 30 public void flush() throws XMLStreamException; 31 32 36 public void close() throws XMLStreamException; 37 38 164 public void add(XMLEvent event) throws XMLStreamException; 165 166 176 177 public void add(XMLEventReader reader) throws XMLStreamException; 178 179 184 public String getPrefix(String uri) throws XMLStreamException; 185 186 195 public void setPrefix(String prefix, String uri) throws XMLStreamException; 196 197 206 public void setDefaultNamespace(String uri) throws XMLStreamException; 207 208 218 public void setNamespaceContext(NamespaceContext context) 219 throws XMLStreamException; 220 221 225 public NamespaceContext getNamespaceContext(); 226 227 228 } 229 230 | Popular Tags |