bundles/org.apache.jasper.glassfish/src/org/apache/jasper/compiler/ImplicitTagLibraryInfo.java
public TagFileInfo getTagFile(String shortName) {

	TagFileInfo tagFile = super.getTagFile(shortName);
	if (tagFile == null) {
	    String path = tagFileMap.get(shortName);
	    if (path == null) {
		return null;
	    }

	    TagInfo tagInfo = null;
	    try {
		tagInfo = TagFileProcessor.parseTagFileDirectives(pc,
								  shortName,
								  path,
								  this);
	    } catch (JasperException je) {
		throw new RuntimeException(je.toString());
	    }

	    tagFile = new TagFileInfo(shortName, path, tagInfo);
	    vec.add(tagFile);

            this.tagFiles = vec.toArray(new TagFileInfo[vec.size()]);
	}

	return tagFile;
    }
public TagFileInfo getTagFile(String shortName) {

	TagFileInfo tagFile = super.getTagFile(shortName);
	if (tagFile == null) {
	    String path = tagFileMap.get(shortName);
	    if (path == null) {
		return null;
	    }

	    TagInfo tagInfo = null;
	    try {
		tagInfo = TagFileProcessor.parseTagFileDirectives(pc,
								  shortName,
								  path,
								  this);
	    } catch (JasperException je) {
		throw new RuntimeException(je.toString());
	    }

	    tagFile = new TagFileInfo(shortName, path, tagInfo);
	    vec.add(tagFile);

            this.tagFiles = vec.toArray(new TagFileInfo[vec.size()]);
	}

	return tagFile;
    }
public TagFileInfo getTagFile ( String shortName ) { TagFileInfo tagFile = super . getTagFile ( shortName ) ; if ( tagFile == null ) { String path = tagFileMap . get ( shortName ) ; if ( path == null ) { return null ; } TagInfo tagInfo = null ; try { tagInfo = TagFileProcessor . parseTagFileDirectives ( pc , shortName , path , this ) ; } catch ( JasperException je ) { throw new RuntimeException ( je . toString ( ) ) ; } tagFile = new TagFileInfo ( shortName , path , tagInfo ) ; vec . add ( tagFile ) ; this . tagFiles = vec . toArray ( new TagFileInfo [ vec . size ( ) ] ) ; } return tagFile ; }
Checks to see if the given tag name maps to a tag file path,
and if so, parses the corresponding tag file.

@return The TagFileInfo corresponding to the given tag name, or null if
the given tag name is not implemented as a tag file
Checks to see if the given tag name maps to a tag file path and if so parses the corresponding tag file .