public Style getStyleForScanValue ( int code ) { Style s = _tokenStyles . get ( new Integer ( code ) ) ; if ( s == null ) { s = getStyle ( DEFAULT_STYLE ) ; } return s ; }
Fetches the attribute set to use for the given scan code . The set is stored in a table to facilitate relatively fast access to use in conjunction with the scanner .