private boolean isStyle ( String style ) { for ( int i = 0 ; i < style . length ( ) ; ++ i ) { char c = style . charAt ( i ) ; if ( ! Character . isWhitespace ( c ) ) { return ( c == ' ' ) ; } } return false ; }
Checks if the given String contains the serialized XML representation of a style