public void onCDATA ( @ Nullable final String sText ) { if ( StringHelper . hasText ( sText ) ) { if ( sText . indexOf ( CDATA_END ) >= 0 ) { // Split CDATA sections if they contain the illegal "]]>" marker final ICommonsList < String > aParts = StringHelper . getExploded ( CDATA_END , sText ) ; final int nParts = aParts . size ( ) ; for ( int i = 0 ; i < nParts ; ++ i ) { _append ( CDATA_START ) ; if ( i > 0 ) _append ( ' ' ) ; _appendMasked ( EXMLCharMode . CDATA , aParts . get ( i ) ) ; if ( i < nParts - 1 ) _append ( "]]" ) ; _append ( CDATA_END ) ; } } else { // No special handling required _append ( CDATA_START ) . _appendMasked ( EXMLCharMode . CDATA , sText ) . _append ( CDATA_END ) ; } } }
CDATA node .