class TagFileProcessor
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
TagFileProcessor.TagFileDirectiveVisitor
A visitor the tag file
|
private class |
TagFileProcessor.TagFileLoaderVisitor |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<Compiler> |
tempVector |
Constructor and Description |
---|
TagFileProcessor() |
Modifier and Type | Method and Description |
---|---|
private java.lang.Class |
loadTagFile(Compiler compiler,
java.lang.String tagFilePath,
javax.servlet.jsp.tagext.TagInfo tagInfo,
PageInfo parentPageInfo)
Compiles and loads a tagfile.
|
void |
loadTagFiles(Compiler compiler,
Node.Nodes page)
Implements a phase of the translation that compiles (if necessary)
the tag files used in a JSP files.
|
static javax.servlet.jsp.tagext.TagInfo |
parseTagFileDirectives(ParserController pc,
java.lang.String name,
java.lang.String path,
javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo)
Parses the tag file, and collects information on the directives included
in it.
|
void |
removeProtoTypeFiles(java.lang.String classFileName)
Removed the java and class files for the tag prototype
generated from the current compilation.
|
private java.util.ArrayList<Compiler> tempVector
public static javax.servlet.jsp.tagext.TagInfo parseTagFileDirectives(ParserController pc, java.lang.String name, java.lang.String path, javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo) throws JasperException
pc
- the current ParserController used in this compilationname
- the tag name as specified in the TLDtagfile
- the path for the tagfiletagLibInfo
- the TagLibraryInfo object associated with this TagInfoJasperException
private java.lang.Class loadTagFile(Compiler compiler, java.lang.String tagFilePath, javax.servlet.jsp.tagext.TagInfo tagInfo, PageInfo parentPageInfo) throws JasperException
JasperException
public void loadTagFiles(Compiler compiler, Node.Nodes page) throws JasperException
JasperException
public void removeProtoTypeFiles(java.lang.String classFileName)
classFileName
- If non-null, remove only the class file with
with this name.