190191192193194195196197
public void endDocument() { try { writer.endDocument(); } catch (SAXException e) { throw new TxwException(e); } }
5354555657585960
public void startDocument() { try { out.writeStartDocument(); } catch (XMLStreamException e) { throw new TxwException(e); } }
6162636465666768
public void beginStartTag(String uri, String localName, String prefix) { try { out.writeStartElement(prefix, localName, uri); } catch (XMLStreamException e) { throw new TxwException(e); } }
6970717273747576
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); } }
8485868788899091
} // this method handles "", null, and "xmlns" prefixes properly out.writeNamespace(prefix, uri); } catch (XMLStreamException e) { throw new TxwException(e); } }
96979899100101102103
public void endTag() { try { out.writeEndElement(); } catch (XMLStreamException e) { throw new TxwException(e); } }
104105106107108109110111
public void text(StringBuilder text) { try { out.writeCharacters(text.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
112113114115116117118119
public void cdata(StringBuilder text) { try { out.writeCData(text.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
120121122123124125126127
public void comment(StringBuilder comment) { try { out.writeComment(comment.toString()); } catch (XMLStreamException e) { throw new TxwException(e); } }
129130131132133134135136
public void endDocument() { try { out.writeEndDocument(); out.flush(); } catch (XMLStreamException e) { throw new TxwException(e); } }