@Override public void startElement(String name, UIComponent component) throws IOException { currentRecord = currentRecord.addRecord(new ElementRecord(name,component)); }
@Override public void startElement(String name, UIComponent component) throws IOException { currentRecord = currentRecord.addRecord(new ElementRecord(name,component)); }
@Override public void writeComment(Object comment) throws IOException { currentRecord.addRecord(new CommentRecord(comment)); }
@Override public void writeText(char[] text, int off, int len) throws IOException { currentRecord.addRecord(new TextRecord(String.copyValueOf(text, off, len),null)); }
@Override public void writeComment(Object comment) throws IOException { currentRecord.addRecord(new CommentRecord(comment)); }
@Override public void startCDATA() throws IOException { currentRecord = currentRecord.addRecord(new CDATARecord()); }
@Override public void writeText(Object text, String property) throws IOException { currentRecord.addRecord(new TextRecord(text,property)); }
@Override public void startCDATA() throws IOException { currentRecord = currentRecord.addRecord(new CDATARecord()); }
@Override public void writeText(Object text, String property) throws IOException { currentRecord.addRecord(new TextRecord(text,property)); }
@Override public void write(char[] cbuf, int off, int len) throws IOException { currentRecord.addRecord(new TextRecord(String.copyValueOf(cbuf, off, len),null)); }
@Override public void writeText(char[] text, int off, int len) throws IOException { currentRecord.addRecord(new TextRecord(String.copyValueOf(text, off, len),null)); }
@Override public void write(char[] cbuf, int off, int len) throws IOException { currentRecord.addRecord(new TextRecord(String.copyValueOf(cbuf, off, len),null)); }
@Override public void startDocument() throws IOException { if(currentRecord != content){ throw new FacesTestException("Start document call not at the root level"); } currentRecord = content.addRecord(new DocumentRecord()); }
@Override public void startDocument() throws IOException { if(currentRecord != content){ throw new FacesTestException("Start document call not at the root level"); } currentRecord = content.addRecord(new DocumentRecord()); }