public void endDocument() throws IOException { state.endDocument(); }
public void endElement(String name) throws IOException { state.endElement(name); }
public void startDocument() throws IOException { state.startDocument(); }
public void writeText(Object text, String property) throws IOException { state.writeText(text, property); }
public void writeComment(Object comment) throws IOException { state.writeComment(comment); }
public void startElement(String name, UIComponent component) throws IOException { state.startElement(name, component); }
public void writeAttribute(String name, Object value, String property) throws IOException { state.writeAttribute(name, value, property); }
public void writeURIAttribute(String name, Object value, String property) throws IOException { state.writeURIAttribute(name, value, property); }
void endDocument() throws IOException { try { xmlConsumer.endDocument(); } catch (SAXException e) { throw new IOException("Sax exceptions in endDocument" + e.getMessage()); } finally { // after endDocument all events disabled ... state = new XMLResponseWriterState(); } } }
public void writeText(char[] text, int off, int len) throws IOException { state.writeText(text, off, len); }
void writeComment(Object comment) throws IOException { flushCDATA(); state = inDocumentState; state.writeComment(comment); }
public void write(char[] cbuf, int off, int len) throws IOException { state.writeText(cbuf, off, len); }
void writeComment(Object comment) throws IOException { // TODO Auto-generated method stub flushElement(); state = inDocumentState; state.writeComment(comment); }
void endElement(String name) throws IOException { flushCDATA(); state = inDocumentState; state.endElement(name); }
void endDocument() throws IOException { flushCDATA(); state = inDocumentState; state.endDocument(); }
void writeText(char[] text, int off, int len) throws IOException { // TODO Auto-generated method stub flushElement(); state = cdataState; state.writeText(text, off, len); }
void endElement(String name) throws IOException { // flushElement(); state = inDocumentState; state.endElement(name); }
void writeText(Object text, String property) throws IOException { // TODO Auto-generated method stub flushElement(); state = cdataState; state.writeText(text, property); } }
void writeText(char[] text, int start, int lenght) throws IOException { // try { // xmlConsumer.startCDATA(); // } catch (SAXException e) { // throw new IOException("Sax exceptions in writeText: "+ // e.getMessage()); // } finally { state = cdataState; // } state.writeText(text, start, lenght); }