Save This Page
Home » apache-tomcat-6.0.16-src » org.apache » jasper » compiler » [javadoc | source]
org.apache.jasper.compiler
class: TagFileProcessor [javadoc | source]
java.lang.Object
   org.apache.jasper.compiler.TagFileProcessor
1. Processes and extracts the directive info in a tag file. 2. Compiles and loads tag files used in a JSP file.
Method from org.apache.jasper.compiler.TagFileProcessor Summary:
loadTagFiles,   parseTagFileDirectives,   removeProtoTypeFiles
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.jasper.compiler.TagFileProcessor Detail:
 public  void loadTagFiles(Compiler compiler,
    Node.Nodes page) throws JasperException 
    Implements a phase of the translation that compiles (if necessary) the tag files used in a JSP files. The directives in the tag files are assumed to have been proccessed and encapsulated as TagFileInfo in the CustomTag nodes.
 public static TagInfo parseTagFileDirectives(ParserController pc,
    String name,
    String path,
    TagLibraryInfo tagLibInfo) throws JasperException 
    Parses the tag file, and collects information on the directives included in it. The method is used to obtain the info on the tag file, when the handler that it represents is referenced. The tag file is not compiled here.
 public  void removeProtoTypeFiles(String classFileName) 
    Removed the java and class files for the tag prototype generated from the current compilation.