private void writeStartElement ( final String qName , final Attributes atts ) throws IOException { final int attsLen = atts . getLength ( ) ; output . write ( LESS_THAN + qName ) ; for ( int i = 0 ; i < attsLen ; i ++ ) { final String attQName = atts . getQName ( i ) ; final String attValue = escapeXML ( atts . getValue ( i ) ) ; output . write ( STRING_BLANK + attQName + EQUAL + QUOTATION + attValue + QUOTATION ) ; } output . write ( GREATER_THAN ) ; }
SAX serializer methods