185186187188189190191192
public void endDocument() { try { writer.endDocument(); } catch (SAXException e) { throw new TxwException(e); } }
4849505152535455
public void startDocument() { try { out.writeStartDocument(); } catch (XMLStreamException e) { throw new TxwException(e); } }
5657585960616263
public void beginStartTag(String uri, String localName, String prefix) { try { out.writeStartElement(prefix, localName, uri); } catch (XMLStreamException e) { throw new TxwException(e); } }
6465666768697071
public void writeAttribute(String uri, String localName, String prefix, StringBuilder value) { try { out.writeAttribute(prefix, uri, localName, value.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
7980818283848586
} // this method handles "", null, and "xmlns" prefixes properly out.writeNamespace(prefix, uri); } catch (XMLStreamException e) { throw new TxwException(e); } }
9192939495969798
public void endTag() { try { out.writeEndElement(); } catch (XMLStreamException e) { throw new TxwException(e); } }
99100101102103104105106
public void text(StringBuilder text) { try { out.writeCharacters(text.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
107108109110111112113114
public void cdata(StringBuilder text) { try { out.writeCData(text.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
115116117118119120121122
public void comment(StringBuilder comment) { try { out.writeComment(comment.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
124125126127128129130131
public void endDocument() { try { out.writeEndDocument(); out.flush(); } catch (XMLStreamException e) { throw new TxwException(e); } }