public void writeStartDocument ( String encoding , String version ) throws FilterException { try { this . writer . writeStartDocument ( encoding , version ) ; } catch ( XMLStreamException e ) { throw new FilterException ( "Failed to write start document" , e ) ; } }
Write the XML Declaration .