question: public String toXML ( ) { StringBuffer str = new StringBuffer ( ) ; str . append ( "<" ) ; str . append ( XML_ROOT_ELEMENT ) ; str . append ( ">" ) ; str . append ( "<" ) ; str . append ( XML_ELEMENT_QUALITY_CODE ) ; str . append ( ">" ) ; str . append ( qualityCode ) ; str . append ( "</" ) ; str . append ( XML_ELEMENT_QUALITY_CODE ) ; str . append ( ">" ) ; if ( description != null ) { str . append ( "<" ) ; str . append ( XML_ELEMENT_QUALITY_DESC ) ; str . append ( "><![CDATA[" ) ; str . append ( description ) ; str . append ( "]]></" ) ; str . append ( XML_ELEMENT_QUALITY_DESC ) ; str . append ( ">" ) ; } str . append ( "</" ) ; str . append ( XML_ROOT_ELEMENT ) ; str . append ( ">\n" ) ; return str . toString ( ) ; }
target:  Create an XML representation of a SourceDataQuality object. The resulting XML can be used to create a SourceDataQuality object using the class's fromXML method.