private static String createTagletPattern ( String tagNames ) { final StringBuilder regex = new StringBuilder ( ) ; final int size = STR_TAGS_REGEX_LIST . size ( ) ; for ( int regexIdx = 0 ; regexIdx < size ; regexIdx ++ ) { final String tagRegex = STR_TAGS_REGEX_LIST . get ( regexIdx ) ; final String argsRex = STR_ARGS_REGEX_LIST . get ( regexIdx ) ; if ( regexIdx > 0 ) { regex . append ( ' ' ) ; } regex . append ( tagRegex ) . append ( tagNames ) . append ( STR_TAG_ARG_REGEX_SEPARATOR ) . append ( argsRex ) ; } return regex . toString ( ) ; }
Creates the taglet pattern from tagNames .