public static boolean isCData ( String string ) { if ( string != null ) { for ( int i = 0 ; i < string . length ( ) ; i ++ ) { char chChar = string . charAt ( i ) ; if ( ( chChar == 0x9 ) || ( chChar == 0xD ) || ( chChar == 0xA ) ) return true ; // Carriage return/Line feed/newline } } return false ; }
Is this a CData string?