public SanitizedContentKind getMostAppropriateContentKind ( ) { SanitizedContentKind kind = STATE_TO_CONTENT_KIND . get ( state ) ; if ( kind != null && isValidStartContextForContentKindLoose ( kind ) ) { return kind ; } return SanitizedContentKind . TEXT ; }
Returns the most sensible content kind for a context .