177178179180181182183184
public void flush() { serializer.flush(); try { writer.flush(); } catch (IOException e) { throw new TxwException(e); } }
949596979899100101
public void startDocument() { try { writer.startDocument(); } catch (SAXException e) { throw new TxwException(e); } }
154155156157158159160161
getQName(prefix, localName), attrs); attrs.clear(); } catch (SAXException e) { throw new TxwException(e); } }
165166167168169170171172
writer.endElement(elementBindings.pop(), // uri elementBindings.pop(), // localName elementBindings.pop() // qname ); } catch (SAXException e) { throw new TxwException(e); } }
173174175176177178179180
public void text(StringBuilder text) { try { writer.characters(text.toString().toCharArray(), 0, text.length()); } catch (SAXException e) { throw new TxwException(e); } }
186187188189190191192193
try { lexical.startCDATA(); text(text); lexical.endCDATA(); } catch (SAXException e) { throw new TxwException(e); } }
197198199200201202203204
if(lexical==null) throw new UnsupportedOperationException("LexicalHandler is needed to write comments"); else lexical.comment(comment.toString().toCharArray(), 0, comment.length() ); } catch (SAXException e) { throw new TxwException(e); } }
205206207208209210211212
public void endDocument() { try { writer.endDocument(); } catch (SAXException e) { throw new TxwException(e); } }
6869707172737475
public void startDocument() { try { out.writeStartDocument(); } catch (XMLStreamException e) { throw new TxwException(e); } }
7677787980818283
public void beginStartTag(String uri, String localName, String prefix) { try { out.writeStartElement(prefix, localName, uri); } catch (XMLStreamException e) { throw new TxwException(e); } }