Generate codesto evaluate value of a attribute in the custom tag
The codes is a Java expression.
Generate codes for the body of the custom tag
Compile the servlet from .java file to .class file
Compile the servlet from .java file to .class file
Compile the servlet from .java file to .class file
Generate a declaration in the of the generated class.
Generate an import statement
Compile the jsp file into equivalent servlet in .java file
Generate Java source codes
Generates an appropriate SMAP representing the current compilation
context.
Are Text strings to be generated as char arrays?
Indicates whether text strings are to be generated as char arrays.
Are Text strings to be generated as char arrays?
get() - method in class org.apache.jasper.util.
Queue Get the first object out of the queue.
Get an object from the pool, null if the pool is empty.
Gets the next available tag handler from this tag handler pool,
instantiating one if this tag handler pool is empty.
Gets the next available tag handler from this tag handler pool,
instantiating one if this tag handler pool is empty.
Return the specified context attribute, if any.
Return an enumeration of context attribute names.
Return the body text associated with this node (if any).
The web-application wide cache for the returned TreeNode
by parseXMLDocument in TagLibraryInfoImpl.parseTLD,
if isCaching returns true.
The web-application wide cache for the returned TreeNode
by parseXMLDocument in TagLibraryInfoImpl.parseTLD,
if isCaching returns true.
Compute the canonical name from a Class instance.
Background JSP compile thread check intervall
Background compilation check intervals in seconds
Background compile thread check interval in seconds
Should class files be compiled with debug information?
Should we include debug information in compiled class?
What class loader to use for loading classes while compiling
this JSP?
What classpath should I use while compiling the servlets
generated from JSP files?
The classpath that is passed off to the Java compiler.
The classpath that is passed off to the Java compiler.
What classpath should I use while compiling the servlets
generated from JSP files?
Get the SecurityManager Policy CodeSource for this web
applicaiton context.
The compiler target VM, e.g.
Get the content type of this JSP.
Get the value associated with a content-type attribute.
Return the servlet context for the specified path.
Convert a possibly relative resource path into a context-relative
resource path that starts with a '/'.
Get a list of files that the current page has source dependency on.
Returns a list of files names that the current page has a source
dependency on.
Is Jasper being used in development mode?
Is Jasper being used in development mode?
Is Jasper being used in development mode?
Autodetects the encoding of the XML document supplied by the given
input stream.
Gets the error dispatcher.
Gets the compilation error message.
Returns true if Jasper issues a compilation error instead of a runtime
Instantiation error if the class attribute specified in useBean action
is invalid.
Returns true if Jasper issues a compilation error instead of a runtime
Instantiation error if the class attribute specified in useBean action
is invalid.
Returns the exception associated with this page
context, if any.
Provides programmatic access to the ExpressionEvaluator.
Takes a potential expression and converts it into XML form
Returns the list of file extensions
that are treated as JSP files.
boolean flag to tell Ant whether to fork JSP page compilations.
boolean flag to tell Ant whether to fork JSP page compilations.
Returns the Java encoding name for the specified IANA encoding name.
Class ID for use in the plugin tag when the browser is IE.
Gets the class-id value that is sent to Internet Explorer when using
tags.
Class ID for use in the plugin tag when the browser is IE.
Return the specified context initialization parameter.
Return an enumeration of the names of context initialization
parameters.
Generated Servlet and Tag Handler implementations call this
method to retrieve an instance of the ProtectedFunctionMapper.
Returns the IANA encoding name for the specified Java encoding name.
Java platform encoding to generate the JSP
page servlet.
Returns the encoding to use for
java files.
Java platform encoding to generate the JSP
page servlet.
Gets the name of the Java source file in which the compilation error
occurred.
Gets the compilation error line number.
Path of the Java file relative to the work directory.
Gets the start line number (in the JSP file) of the JSP element
responsible for the compilation error.
Obtain JSP configuration informantion specified in web.xml.
Obtain JSP configuration informantion specified in web.xml.
Obtain JSP configuration informantion specified in web.xml.
Returns the number of JSPs for which JspServletWrappers exist, i.e.,
the number of JSPs that have been loaded into the webapp.
Returns the number of JSPs for which JspServletWrappers exist, i.e.,
the number of JSPs that have been loaded into the webapp with which
this JspServlet is associated.
Gets the extract of the JSP that corresponds to this message.
Gets the name of the JSP file from which the Java source file was
generated.
Gets the current value of the JSP reload counter.
Gets the number of JSPs that have been reloaded.
Are we keeping generated code around?
Are we keeping generated code around?
Gets the 'location' of the TLD associated with the given taglib 'uri'.
Return the Servlet API major version number.
Creates an instance for this class, and stores the Method for
the given EL function prefix and name.
Are we supporting HTML mapped servlets?
Are we supporting HTML mapped servlets?
Are we supporting HTML mapped servlets?
Return the size of the pool
Return the MIME type for the specified filename.
Return the Servlet API minor version number.
Modification test interval.
Modification test interval.
Modification test interval.
Return the name of this node.
Only makes sense if namedAttribute is true.
Return a request dispatcher for the specified servlet name.
Get hold of the Options object for this context.
The output directory to generate code into.
Gets the info about the page under compilation
Retrieves the parsed nodes of the JSP page, if they are available.
Get the parent URLClassLoader.
Get the PluginContext for the parent of this custom tag.
Get the SecurityManager PermissionCollection for this
web application context.
Get the Permissions for a CodeSource.
Get the value of an attribute in the current tagplugin context.
Returns the project: may be null if not running
inside an Ant project.
Represents a getProperty action
Return the value of this BodyJspWriter as a Reader.
Gets the actual path of a URI relative to the context of
the compilation.
Return the real path for the specified context-relative
virtual path.
Return a request dispatcher for the specified context-relative path.
Return a URL object of a resource that is mapped to the
specified context-relative path.
Gets a resource as a stream, relative to the meanings of this
context's implementation.
Return an InputStream allowing access to the resource at the
specified context-relative path.
Return the set of resource paths for the "directory" at the
specified context path.
Converts the given string description of a scope to the corresponding
PageContext constant.
Should errors be sent to client or thrown into stderr?
Should errors be sent to client or thrown into stderr?
Return descriptive information about this server.
Return a null reference for the specified servlet name.
Just the class name (does not include package name) of the
generated class.
Return the name of this servlet context.
Full path name of the Java file into which the servlet is being
generated.
Return an empty enumeration of servlet names.
Package name for the generated class is make up of the base package
name, which is user settable, and the derived package name.
Return an empty enumeration of servlets.
For the same reason as above, the source line information in the
contained TemplateText node should be used.
Returns the name of the stratum.
Return the value of the BodyJspWriter as a String.
Returns the given stratum as a String: a StratumSection,
followed by at least one FileSection and at least one LineSection.
Retrieves the current LineInfo as a String, print all values
only when appropriate (but LineInfoID if and only if it's been
specified, as its necessity is sensitive to context).
Returns the JAR file in which the tag file for which this
JspCompilationContext was created is packaged, or null if this
JspCompilationContext does not correspond to a tag file, or if the
corresponding tag file is not packaged in a JAR.
Returns the tag-file-name-to-JAR-file map of this compilation unit,
which maps tag file names to the JAR files in which the tag files are
packaged.
Gets the fully-qualified class name of the tag handler corresponding to
the given tag file path.
Obtain a Tag Plugin Manager
Obtain a Tag Plugin Manager
When this node was created from a JSP page in JSP syntax, its text
was stored as a String in the "text" field, whereas when this node
was created from a JSP document, its text was stored as one or more
TemplateText nodes in its body.
Returns the value of the javax.servlet.error.exception request
attribute value, if present, otherwise the value of the
javax.servlet.jsp.jspException request attribute value.
Gets the 'location' of the TLD associated with the given taglib 'uri'.
The cache for the location of the TLD's
for the various tag libraries 'exposed'
by the web application.
The cache for the location of the TLD's
for the various tag libraries 'exposed'
by the web application.
Should white spaces between directives or actions be trimmed?
Should white spaces between directives or actions be trimmed?
Only makes sense if namedAttribute is false.
Get an already existing JspServletWrapper.
Where is the servlet being generated?
Returns a wrapper around the JspWriter of the including page.
If - class org.apache.jasper.tagplugins.jstl.core.
If Import - class org.apache.jasper.tagplugins.jstl.core.
Import Wraps responses to allow us to retrieve results as Strings.
Servlet context and request attributes that the JSP engine
uses.
Perform a RequestDispatcher.include() operation, with optional flushing
of the response beforehand.
Represents an include action
Represents an include directive
Increments the JSP reload counter.
Produces a String representing a call to the EL interpreter.
Represents a tag file action
Returns true if our current URL is absolute,
false otherwise.
Returns true if this template text contains whitespace only.
Is caching enabled (used for precompilation).
Is caching enabled (used for precompilation).
Returns true if the specified character can be considered content.
Are we processing something that has been declared as an
errorpage?
Checks if the token is a runtime expression.
Returns true if the current entity being scanned is external.
Returns whether the given character is a high surrogate
Returns true if the specified character is invalid.
Test whether the argument is a Java keyword
To find out if an uri matches an url pattern in jsp config.
Returns whether the given character is a low surrogate
Returns true if the specified character can be considered markup.
Returns true if the specified character is a valid name
character as defined by production [4] in the XML 1.0
specification.
Returns true if the specified character is a valid name start
character as defined by production [5] in the XML 1.0
specification.
Returns true if the specified character is a valid NCName
character as defined by production [5] in Namespaces in XML
recommendation.
Returns true if the specified character is a valid NCName start
character as defined by production [4] in Namespaces in XML
recommendation.
This is a protected method intended to be overridden by
subclasses of Compiler.
Determine if a compilation is necessary by checking the time stamp
of the JSP page with that of the corresponding .class or .java file.
Return the SecurityManager
only if Security is enabled AND
package protection mechanism is enabled.
Returns true if tag handler pooling is enabled, false otherwise.
Returns true if tag handler pooling is enabled, false otherwise.
True if we are compiling a tag file in prototype mode.
Returns true if the specified character is a valid Pubid
character as defined by production [13] in the XML 1.0
specification.
Should SMAP info for JSR45 debugging be dumped to a file?
Should SMAP info for JSR45 debugging be dumped to a file?
Indicates whether SMAP info for JSR45 debugging should be dumped to a
file.
Is the generation of SMAP info for JSR45 debuggin suppressed?
Is the generation of SMAP info for JSR45 debuggin suppressed?
Is the generation of SMAP info for JSR45 debugging suppressed?
Returns true if the specified character is a space character
as defined by production [3] in the XML 1.0 specification.
Returns true if the specified character is a supplemental character.
Returns true if the specified character is valid.
Returns true if the encoding name is a valid IANA encoding.
Returns true if the encoding name is a valid Java encoding.
Check to see if a string is a valid Name according to [5]
in the XML 1.0 Recommendation
Check to see if a string is a valid NCName according to [4]
from the XML Namespaces 1.0 Recommendation
Check to see if a string is a valid Nmtoken according to [7]
in the XML 1.0 Recommendation
Is generation of X-Powered-By response header enabled/disabled?
Is generation of X-Powered-By response header enabled/disabled?
Base class for all exceptions generated by the JSP engine.
Creates a JasperException with the embedded exception and the reason for
throwing a JasperException
Creates a JasperException with the embedded exception
Class loader for loading servlet class files (corresponding to JSP files)
and tag handler class files (corresponding to tag files).
Processes the given javac compilation errors.
Processes the given javac error report and exception.
Class providing details about a javac compilation error.
FIXME
Request attribute for <jsp-file>
element of a
servlet definition.
The default package name for compiled jsp pages.
The base class of the generated servlets.
Represents attributes that can be request time expressions.
Represents a JspBody node (<jsp:body>)
Shell for the jspc compiler.
JspC() - constructor for class org.apache.jasper.
JspC Constructor.
A place holder for various things that are used through out the JSP
engine.
Handles the jsp-config element in WEB_INF/web.xml.
Implementation of a JSP Context Wrapper.
Simple ServletContext
implementation without
HTTP-specific methods.
Create a new instance of this ServletContext implementation.
Processes the given JSP parse error.
Processes the given JSP parse error.
Implementation of JspFactory.
Helper class from which all Jsp Fragment helper classes extend.
Represents the root of a Jsp document (XML syntax)
Class for tracking JSP compile time file dependencies when the
&060;%@include file="..."%&062; directive is used.
Create a JspRuntimeContext for a web application context.
Bunch of util methods that are used by code generated for useBean,
getProperty and setProperty.
The JSP engine (a.k.a Jasper).
The JSP engine (a.k.a Jasper).
Interface for tracking the source files dependencies, for the purpose
of compiling out of date pages.
Represents the body of a <jsp:text> element
This class has all the utility method(s).
Write text to a character-output stream, buffering characters so as
to provide for the efficient writing of single characters, arrays,
and strings.
Create a buffered character-output stream that uses a default-sized
output buffer.
Create a new buffered character-output stream that uses an output
buffer of the given size.
jsw - field in class org.apache.jasper.compiler.
Compiler Implementation of the PageContext class from the JSP spec.
Represents a page directive
Param - class org.apache.jasper.tagplugins.jstl.core.
Param Represents a param action
Represents a params action
The parent node of this node.
Parses the given error message into an array of javac compilation error
messages (one per javac compilation error line number).
XML parsing utilities for processing web application deployment
descriptor and tag library descriptor files.
Parse the specified XML document, and return a TreeNode
that corresponds to the root node of the document tree.
Parse the specified XML document, and return a TreeNode
that corresponds to the root node of the document tree.
Peek to see if something is available.
Returns the next character on the input.
Thread-local based pool of tag handlers that can be reused.
Constructs a tag handler pool with the default capacity.
Represents a plugin action
The query parameter that causes the JSP engine to just
pregenerated the servlet but not invoke it.
Print an array of characters.
Print a double-precision floating-point number.
Print a double-precision floating-point number.
Print a floating-point number.
Print a floating-point number.
Print an array of characters.
Print a standard comment for echo outputed chunk.
Prints the current indention, and then the string, and a '\n'.
Prints the current indention
Prints the current indention, followed by the given string
Terminate the current line by writing the line separator string.
Terminate the current line by writing the line separator string.
Print a boolean value and then terminate the line.
Print a boolean value and then terminate the line.
Print a character and then terminate the line.
Print a character and then terminate the line.
Print a double-precision floating-point number and then terminate the
line.
Print a double-precision floating-point number and then terminate the
line.
Print a floating-point number and then terminate the line.
Print a floating-point number and then terminate the line.
Print an integer and then terminate the line.
Print an integer and then terminate the line.
Print a long integer and then terminate the line.
Print a long integer and then terminate the line.
Print an Object and then terminate the line.
Print an Object and then terminate the line.
Print a String and then terminate the line.
Print a String and then terminate the line.
Prints the given string followed by '\n'
Print an array of characters and then terminate the line.
Print an array of characters and then terminate the line.
Proprietary method to evaluate EL expressions.
Maps EL functions to their Java method counterparts.
Pull the first object out of the queue.
Put the object into the queue.
Adds the given object to the pool, and does nothing if the pool is full
Adds an IANA to Java encoding name mapping.
Adds a Java to IANA encoding name mapping.
Read characters into a portion of an array.
Read characters into a portion of an array.
Read characters into a portion of an array.
Tell whether this stream is ready to be read.
Tell whether this stream is ready to be read.
Tell whether this stream is ready to be read.
Calls the release() method of all tag handlers in this tag handler pool.
Calls the release() method of all available tag handlers in this tag
handler pool.
Remove - class org.apache.jasper.tagplugins.jstl.core.
Remove Removes the given node from the list.
Remove the specified context attribute.
Remove any existing value for the specified attribute name.
Removes an IANA to Java encoding name mapping.
Removes a Java to IANA encoding name mapping.
Remove a child node from this node, if it is one.
Remove a JspServletWrapper.
Replaces any occurrences of the character replace with the
string with.
Clears the output buffer of the JspWriter associated with the including
page.
Resets the temporary variable name.
Resolves the relative or absolute pathname correctly
in both Ant and command-line situations.
Resolves the specified local name and prefix into a Java.lang.Method.
Get the full value of a URI relative to this compilations context
uses current file as the base.
Utility methods
taken from org.apache.taglibs.standard.tag.common.core.UrlSupport
VariableResolver interface
VariableResolver interface
Adds the given tag handler to this tag handler pool, unless this tag
handler pool has already reached its capacity, in which case the tag
handler's release() method is called.
Adds the given tag handler to this tag handler pool, unless this tag
handler pool has already reached its capacity, in which case the tag
handler's release() method is called.
Represents an EL expression: anything in ${ and }.
Represents the root of a Jsp page or Jsp document
Trim all whitespace from the right of the template text
The background thread that checks for changes to files
included by a JSP and flags that a recompile is required.
Returns the next character on the input.
Scans a range of character data up to the specified delimiter,
setting the fields of the XMLString structure, appropriately.
Locate all jsp files in the webapp.
Scans a range of attribute value data, setting the fields of the
XMLString structure, appropriately.
Returns a string matching the Name production appearing immediately
on the input as a symbol, or null if no Name string is present.
Scans a pseudo attribute.
Represents an expression, declaration, or scriptlet
Static class used to preload java classes when using the
Java SecurityManager so that the defineClassInPackage
RuntimePermission does not trigger an AccessControlException.
Util class for Security related operations.
Entry point into service.
_jspService is the name of the method that is called by
HttpJspBase.service().
FIXME
ServletContext attribute for class loader.
FIXME
ServletContext attribute for classpath.
Default servlet content type.
ServletResponseWrapper used by the JSP 'include' action.
This is what is used to generate servlets.
Set - class org.apache.jasper.tagplugins.jstl.core.
Set Set or replace the specified context attribute.
Set the body text associated with this node (if any).
Class name of the generated file ( without package ).
The classpath that is passed off to the Java compiler.
Sets the compilation exception for this JspServletWrapper.
Instructs the SmapGenerator whether to actually print any embedded
SMAPs or not.
Set the option that throws an exception in case of a compilation error.
Determines whether text strings are to be generated as char arrays,
which improves performance in some cases.
Sets the class-id value to be sent to Internet Explorer when using
tags.
Sets the encoding to use for
java files.
Parses comma-separated list of JSP files to be processed.
Resets the JSP reload counter.
Resets the JSP reload counter.
Sets the list of JARs that are known not to contain any TLDs.
Sets the filename (without path information) for the generated
source file.
Sets OutputLineIncrement.
Associate the attribute with a value in the current tagplugin context.
Represents a setProperty action
Sets the last-modified time of the servlet class file associated with
this JspServletWrapper.
The package name into which the servlet class is generated.
Start capturing thread's output.
Initializes the contents of the XMLString structure with the
specified values.
Initializes the contents of the XMLString structure with copies
of the given string structure.
Sets the verbosity level.
File where we generate a complete web.xml with the class definitions.
File where we generate a web.xml fragment with the class definitions.
How many elements are there in this queue?
Skips a character appearing immediately on the input.
Skips space characters appearing immediately on the input.
Skips the specified string appearing immediately on the input.
Represents a source map (SMAP), which serves to associate lines
of the input JSP file(s) to lines in the generated servlet in the
final .class file, according to the JSR-045 spec.
Represents the line and file mappings associated with a JSR-045
"stratum".
Constructs a new SmapStratum object for the given stratum name
(e.g., JSP).
Contains static utilities for generating SMAP data based on the
current version of Jasper.
These classes/packages are automatically imported by the
generated code.
Thread <-> PrintStream associations.
Strips a servlet session ID from url.
Returns true the supplemental character corresponding to the given
surrogates.
This class is a symbol table implementation that guarantees that
strings used as identifiers are unique references.
Constructs a symbol table with a default number of buckets.
Constructs a symbol table with a specified number of buckets.
Synchronize variables before fragment invokation
Synchronize variables at begin of tag file
Synchronize variables at end of tag file
This helper class may be used to do sophisticated redirection of
System.out and System.err.
Construct the handler to capture the output of the given steam.