question: public static String BooleanToString ( Boolean bool ) { if ( bool == null ) { return "" ; } return bool . booleanValue ( ) ? "1" : "0" ; }
target:  Converts a Boolean object to a String representing XML boolean.