public TagInfo getTag ( String shortname ) { TagInfo tags [ ] = getTags ( ) ; if ( tags == null || tags . length == 0 ) { return null ; } for ( int i = 0 ; i < tags . length ; i ++ ) { if ( tags [ i ] . getTagName ( ) . equals ( shortname ) ) { return tags [ i ] ; } } return null ; }
Get the TagInfo for a given tag name looking through all the tags in this tag library .