Package | Description |
---|---|
org.apache.jasper | |
org.apache.jasper.compiler | |
org.apache.jasper.runtime | |
org.apache.jasper.servlet | |
org.apache.jasper.xmlparser |
Modifier and Type | Field and Description |
---|---|
private java.util.HashMap<java.lang.String,JasperException> |
JspC.jspErrors |
Modifier and Type | Method and Description |
---|---|
java.util.List<JasperException> |
JspC.getJSPCompilationErrors()
Gets the list of JSP compilation errors caught during the most recent
invocation of this instance's
execute method when
failOnError has been set to FALSE. |
Modifier and Type | Method and Description |
---|---|
private static java.lang.String |
JspCompilationContext.canonicalURI(java.lang.String s) |
void |
JspCompilationContext.compile() |
Compiler |
JspCompilationContext.createCompiler(boolean jspcMode)
Create a "Compiler" object.
|
Compiler |
JspCompilationContext.createParser()
Create a compiler object for parsing only.
|
void |
JspC.execute() |
java.io.InputStream |
JspCompilationContext.getResourceAsStream(java.lang.String res)
Gets a resource as a stream, relative to the meanings of this
context's implementation.
|
java.util.Set<java.lang.String> |
JspCompilationContext.getResourcePaths(java.lang.String path) |
java.lang.String[] |
JspCompilationContext.getTldLocation(java.lang.String uri)
Gets the 'location' of the TLD associated with the given taglib 'uri'.
|
java.lang.Class |
JspCompilationContext.load() |
private void |
JspC.processFile(java.lang.String file) |
void |
JspC.scanFiles(java.io.File base)
Locate all jsp files in the webapp.
|
void |
JspC.setArgs(java.lang.String[] arg) |
Constructor and Description |
---|
JspCompilationContext(java.lang.String jspUri,
boolean isErrPage,
Options options,
javax.servlet.ServletContext context,
JspServletWrapper jsw,
JspRuntimeContext rctxt) |
JspCompilationContext(java.lang.String tagfile,
javax.servlet.jsp.tagext.TagInfo tagInfo,
Options options,
javax.servlet.ServletContext context,
JspServletWrapper jsw,
JspRuntimeContext rctxt,
java.net.URL tagFileJarUrl) |
Modifier and Type | Method and Description |
---|---|
void |
ErrorDispatcher.throwException(Mark where,
JasperException je)
Creates and throws a new exception from the given JasperException,
by prepending the given location information (containing file name,
line number, and column number) to the message of the given exception,
and copying the stacktrace of the given exception to the new exception.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
ELNode.accept(ELNode.Visitor v) |
void |
ELNode.Root.accept(ELNode.Visitor v) |
void |
ELNode.Text.accept(ELNode.Visitor v) |
void |
ELNode.ELText.accept(ELNode.Visitor v) |
void |
ELNode.Function.accept(ELNode.Visitor v) |
(package private) abstract void |
Node.accept(Node.Visitor v)
Selects and invokes a method in the visitor class based on the node
type.
|
void |
Node.Root.accept(Node.Visitor v) |
void |
Node.JspRoot.accept(Node.Visitor v) |
void |
Node.PageDirective.accept(Node.Visitor v) |
void |
Node.IncludeDirective.accept(Node.Visitor v) |
void |
Node.TaglibDirective.accept(Node.Visitor v) |
void |
Node.TagDirective.accept(Node.Visitor v) |
void |
Node.AttributeDirective.accept(Node.Visitor v) |
void |
Node.VariableDirective.accept(Node.Visitor v) |
void |
Node.InvokeAction.accept(Node.Visitor v) |
void |
Node.DoBodyAction.accept(Node.Visitor v) |
void |
Node.Comment.accept(Node.Visitor v) |
void |
Node.Declaration.accept(Node.Visitor v) |
void |
Node.Expression.accept(Node.Visitor v) |
void |
Node.Scriptlet.accept(Node.Visitor v) |
void |
Node.ELExpression.accept(Node.Visitor v) |
void |
Node.ParamAction.accept(Node.Visitor v) |
void |
Node.ParamsAction.accept(Node.Visitor v) |
void |
Node.FallBackAction.accept(Node.Visitor v) |
void |
Node.IncludeAction.accept(Node.Visitor v) |
void |
Node.ForwardAction.accept(Node.Visitor v) |
void |
Node.GetProperty.accept(Node.Visitor v) |
void |
Node.SetProperty.accept(Node.Visitor v) |
void |
Node.UseBean.accept(Node.Visitor v) |
void |
Node.PlugIn.accept(Node.Visitor v) |
void |
Node.UninterpretedTag.accept(Node.Visitor v) |
void |
Node.JspElement.accept(Node.Visitor v) |
void |
Node.JspOutput.accept(Node.Visitor v) |
void |
Node.CustomTag.accept(Node.Visitor v) |
void |
Node.AttributeGenerator.accept(Node.Visitor v) |
void |
Node.JspText.accept(Node.Visitor v) |
void |
Node.NamedAttribute.accept(Node.Visitor v) |
void |
Node.JspBody.accept(Node.Visitor v) |
void |
Node.TemplateText.accept(Node.Visitor v) |
void |
BeanRepository.addBean(Node.UseBean n,
java.lang.String s,
java.lang.String type,
java.lang.String scope) |
private void |
Parser.addInclude(Node parent,
java.util.List files)
Add a list of files.
|
private void |
PageDataImpl.FirstPassVisitor.addRootAttributes(org.xml.sax.Attributes attrs) |
private void |
JspDocumentParser.addTaglibInfo(java.lang.String prefix,
java.lang.String uri) |
private void |
PageDataImpl.SecondPassVisitor.appendTag(Node n) |
private void |
PageDataImpl.SecondPassVisitor.appendTag(Node n,
boolean addDefaultNS) |
private void |
PageDataImpl.SecondPassVisitor.appendTagDirective(Node.TagDirective n) |
void |
TagPluginManager.apply(Node.Nodes page,
ErrorDispatcher err,
PageInfo pageInfo) |
static void |
JspUtil.checkAttributes(java.lang.String typeOfTag,
Node n,
JspUtil.ValidAttribute[] validAttributes,
ErrorDispatcher err)
Checks if all mandatory attributes are present and if all attributes
present have valid names.
|
private java.lang.String |
TagFileProcessor.TagFileDirectiveVisitor.checkConflict(Node n,
java.lang.String oldAttrValue,
java.lang.String attr) |
private void |
Validator.ValidateVisitor.checkNamedAttributes(Node.CustomTag n,
Node.JspAttribute[] jspAttrs,
int start,
java.util.Hashtable<java.lang.String,java.lang.Object> tagDataAttrs) |
static void |
JspUtil.checkScope(java.lang.String scope,
Node n,
ErrorDispatcher err)
Checks to see if the given scope is valid.
|
private void |
Collector.CollectVisitor.checkSeen(Node.ChildInfo ci,
Node n)
Check all child nodes for various elements and update the given
ChildInfo object accordingly.
|
private void |
Validator.ValidateVisitor.checkSetter(Node.CustomTag n,
javax.servlet.jsp.tagext.TagAttributeInfo tldattr) |
private void |
Parser.checkUnbalancedEndTag() |
private void |
TagFileProcessor.TagFileDirectiveVisitor.checkUniqueName(java.lang.String name,
TagFileProcessor.TagFileDirectiveVisitor.Name type,
Node n)
Reports a translation error if names specified in attributes of
directives are not unique in this translation unit.
|
private void |
TagFileProcessor.TagFileDirectiveVisitor.checkUniqueName(java.lang.String name,
TagFileProcessor.TagFileDirectiveVisitor.Name type,
Node n,
javax.servlet.jsp.tagext.TagAttributeInfo attr) |
private void |
Validator.ValidateVisitor.checkXmlAttributes(Node.CustomTag n,
Node.JspAttribute[] jspAttrs,
java.util.Hashtable<java.lang.String,java.lang.Object> tagDataAttrs) |
static void |
Collector.collect(Compiler compiler,
Node.Nodes page) |
private void |
ParserController.comparePageEncodings(java.lang.String jspConfigPageEnc) |
private void |
Validator.DirectiveVisitor.comparePageEncodings(java.lang.String pageDirEnc,
Node.PageDirective pageDir) |
void |
Compiler.compile(boolean compileClass)
Compile the jsp file from the current engine context.
|
JavacErrorDetail[] |
AntJavaCompiler.compile(java.lang.String className,
Node.Nodes pageNodes) |
JavacErrorDetail[] |
JDTJavaCompiler.compile(java.lang.String targetClassName,
Node.Nodes pageNodes) |
JavacErrorDetail[] |
JavaCompiler.compile(java.lang.String className,
Node.Nodes pageNodes)
Start Java compilation
|
JavacErrorDetail[] |
Jsr199JavaCompiler.compile(java.lang.String className,
Node.Nodes pageNodes) |
JavacErrorDetail[] |
NullJavaCompiler.compile(java.lang.String className,
Node.Nodes pageNodes) |
private void |
Generator.compileTagHandlerPoolList(Node.Nodes page)
Compiles list of tag handler pool names.
|
static void |
TextOptimizer.concatenate(Compiler compiler,
Node.Nodes page) |
private java.lang.String |
Generator.GenerateVisitor.convertString(java.lang.Class<?> c,
java.lang.String s,
java.lang.String attrName,
java.lang.Class<?> propEditorClass,
boolean isNamedAttribute) |
private javax.servlet.jsp.tagext.TagAttributeInfo |
TagLibraryInfoImpl.createAttribute(TreeNode elem,
java.lang.String jspVersion) |
private javax.servlet.jsp.tagext.FunctionInfo |
TagLibraryInfoImpl.createFunctionInfo(TreeNode elem) |
private java.lang.String[] |
TagLibraryInfoImpl.createInitParam(TreeNode elem) |
static JavacErrorDetail |
ErrorDispatcher.createJavacError(java.lang.String fname,
Node.Nodes page,
java.lang.StringBuilder errMsgBuf,
int lineNum) |
private javax.servlet.jsp.tagext.TagFileInfo |
TagLibraryInfoImpl.createTagFileInfo(TreeNode elem,
java.lang.String uri,
java.net.URL jarFileUrl) |
private javax.servlet.jsp.tagext.TagInfo |
TagLibraryInfoImpl.createTagInfo(TreeNode elem,
java.lang.String jspVersion) |
private javax.servlet.jsp.tagext.TagLibraryValidator |
TagLibraryInfoImpl.createValidator(TreeNode elem) |
private javax.servlet.jsp.tagext.TagVariableInfo |
TagLibraryInfoImpl.createVariable(TreeNode elem) |
private void |
ParserController.determineSyntaxAndEncoding(java.lang.String absFileName,
java.util.jar.JarFile jarFile,
java.lang.String jspConfigPageEnc)
Determines the syntax (standard or XML) and page encoding properties
for the given file, and stores them in the 'isXml' and 'sourceEnc'
instance variables, respectively.
|
private void |
ErrorDispatcher.dispatch(Mark where,
java.lang.String errCode,
java.lang.Object[] args,
java.lang.Exception e) |
void |
JavaCompiler.doJavaFile(boolean keep)
Remove/save the generated Java File from/to disk
|
void |
Jsr199JavaCompiler.doJavaFile(boolean keep) |
private void |
ELFunctionMapper.ELFunctionVisitor.doMap(ELNode.Nodes el)
Creates function mappers, if needed, from ELNodes
|
private void |
ELFunctionMapper.ELFunctionVisitor.doMap(Node.JspAttribute attr) |
private Node.Nodes |
ParserController.doParse(java.lang.String inFileName,
Node parent,
java.net.URL jarFileUrl)
Parses the JSP page or tag file with the given path name.
|
void |
ErrorDispatcher.ErrorVisitor.doVisit(Node n) |
protected void |
Node.Visitor.doVisit(Node n)
This method provides a place to put actions that are common to
all nodes.
|
void |
TextOptimizer.TextCatVisitor.doVisit(Node n) |
void |
Validator.ValidateVisitor.NamedAttributeVisitor.doVisit(Node n) |
private void |
Dumper.DumpVisitor.dumpBody(Node n) |
private java.lang.String |
Generator.GenerateVisitor.evaluateAttribute(Generator.TagHandlerInfo handlerInfo,
Node.JspAttribute attr,
Node.CustomTag n,
java.lang.String tagHandlerVar) |
private Node.JspBody |
Generator.GenerateVisitor.findJspBody(Node parent)
Finds the
|
JspProperty |
JspConfig.findJspProperty(java.lang.String uri)
Find a property that best matches the supplied resource.
|
static void |
Generator.generate(ServletWriter out,
Compiler compiler,
Node.Nodes page)
The main entry for Generator.
|
private java.lang.String |
Generator.GenerateVisitor.generateAliasMap(Node.CustomTag n,
java.lang.String tagHandlerVar)
Generate code to create a map for the alias variables
|
private void |
Compiler.generateClass()
Compile the servlet from .java file to .class file
|
private void |
Generator.GenerateVisitor.generateCustomDoTag(Node.CustomTag n,
Generator.TagHandlerInfo handlerInfo,
java.lang.String tagHandlerVar) |
private void |
Generator.GenerateVisitor.generateCustomStart(Node.CustomTag n,
Generator.TagHandlerInfo handlerInfo,
java.lang.String tagHandlerVar,
java.lang.String tagEvalVar,
java.lang.String tagPushBodyCountVar) |
private void |
Generator.generateDeclarations(Node.Nodes page)
Generates declarations.
|
private void |
Generator.GenerateVisitor.generateJspFragment(Node n,
java.lang.String tagHandlerVar)
Generates anonymous JspFragment inner class which is passed as an
argument to SimpleTag.setJspBody().
|
private static void |
Generator.generateLocalVariables(ServletWriter out,
Node n,
boolean genBytes) |
java.lang.String |
Generator.GenerateVisitor.generateNamedAttributeJspFragment(Node.NamedAttribute n,
java.lang.String tagHandlerVar)
Similar to generateNamedAttributeValue, but create a JspFragment
instead.
|
java.lang.String |
Generator.GenerateVisitor.generateNamedAttributeValue(Node.NamedAttribute n)
Generate the code required to obtain the runtime value of the
given named attribute.
|
private void |
Generator.generatePreamble(Node.Nodes page)
Generates the beginning of the static portion of the servlet.
|
private void |
Generator.GenerateVisitor.generateSetters(Node.CustomTag n,
java.lang.String tagHandlerVar,
Generator.TagHandlerInfo handlerInfo,
boolean simpleTag) |
private void |
Generator.generateTagHandlerAttributes(javax.servlet.jsp.tagext.TagInfo tagInfo)
Generates declarations for tag handler attributes, and defines the
getter and setter methods for each.
|
private void |
Generator.generateTagHandlerPreamble(JasperTagInfo tagInfo,
Node.Nodes tag) |
private void |
Generator.GenerateVisitor.generateTagPlugin(Node.CustomTag n) |
private java.lang.String[] |
TagLibraryInfoImpl.generateTLDLocation(java.lang.String uri,
JspCompilationContext ctxt) |
private void |
Generator.genPreambleClassVariableDeclarations(java.lang.String className)
Declare tag handler pools (tags of the same type and with the same
attribute set share the same tag handler pool)
(shared by servlet and tag handler preamble generation)
|
private void |
Generator.genPreambleImports()
Generate preamble imports
(shared by servlet and tag handler preamble generation)
|
private void |
Generator.genPreambleMethods()
Declare general-purpose methods
(shared by servlet and tag handler preamble generation)
|
private void |
Generator.genPreamblePackage(java.lang.String packageName)
Generate preamble package name
(shared by servlet and tag handler preamble generation)
|
private void |
Generator.genPreambleStaticInitializers()
Generation of static initializers in preamble.
|
java.lang.Class |
BeanRepository.getBeanType(java.lang.String bean) |
private javax.el.FunctionMapper |
Validator.ValidateVisitor.getFunctionMapper(ELNode.Nodes el) |
static java.io.InputStream |
JspUtil.getInputStream(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err) |
java.io.Writer |
AntJavaCompiler.getJavaWriter(java.lang.String javaFileName,
java.lang.String javaEncoding) |
java.io.Writer |
JDTJavaCompiler.getJavaWriter(java.lang.String javaFileName,
java.lang.String javaEncoding) |
java.io.Writer |
JavaCompiler.getJavaWriter(java.lang.String javaFileName,
java.lang.String javaEncoding)
Get a Writer for the Java file.
|
java.io.Writer |
NullJavaCompiler.getJavaWriter(java.lang.String javaFileName,
java.lang.String javaEncoding) |
private Node.JspAttribute |
Validator.ValidateVisitor.getJspAttribute(java.lang.String qName,
java.lang.String uri,
java.lang.String localName,
java.lang.String value,
Node n,
boolean dynamic,
javax.servlet.jsp.tagext.TagAttributeInfo tagAttr)
Preprocess attributes that can be expressions.
|
private java.lang.String |
ParserController.getJspConfigPageEncoding(java.lang.String absFileName) |
private java.lang.String |
Validator.ValidateVisitor.getMethod(java.lang.String signature)
Get the method name from the signature.
|
private java.lang.String |
ParserController.getPageEncodingForJspSyntax(JspReader jspReader,
Mark startMark) |
private java.lang.String[] |
Validator.ValidateVisitor.getParameters(java.lang.String signature)
Get the parameters types from the function signature.
|
(package private) static java.io.InputStreamReader |
JspUtil.getReader(java.lang.String fname,
java.lang.String encoding,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err) |
private java.io.InputStream |
TagLibraryInfoImpl.getResourceAsStream(java.lang.String uri) |
private java.lang.String |
Validator.ValidateVisitor.getReturnType(java.lang.String signature)
Get the return type from the signature.
|
static java.lang.String |
JspUtil.getTagHandlerClassName(java.lang.String path,
ErrorDispatcher err)
Gets the fully-qualified class name of the tag handler corresponding to
the given tag file path.
|
private Generator.TagHandlerInfo |
Generator.GenerateVisitor.getTagHandlerInfo(Node.CustomTag n) |
javax.servlet.jsp.tagext.TagInfo |
TagFileProcessor.TagFileDirectiveVisitor.getTagInfo() |
(package private) java.lang.String |
JspReader.getText(Mark start,
Mark stop) |
private boolean |
ParserController.hasJspRoot(JspReader reader) |
(package private) boolean |
JspReader.hasMoreInput() |
private void |
JspConfig.init() |
private void |
TagPluginManager.init(ErrorDispatcher err) |
private void |
Compiler.initJavaCompiler()
Get an instance of JavaCompiler.
|
private boolean |
JspReader.isDelimiter()
Parse utils - Is current character a token delimiter ?
Delimiters are currently defined to be =, >, <, ", and ' or any
any space character as defined by
isSpace . |
boolean |
JspConfig.isJspPage(java.lang.String uri)
To find out if an uri matches an url pattern in jsp config.
|
(package private) boolean |
JspReader.isSpace() |
void |
DefaultErrorHandler.javacError(JavacErrorDetail[] details) |
void |
ErrorDispatcher.javacError(JavacErrorDetail[] javacErrors) |
void |
ErrorHandler.javacError(JavacErrorDetail[] details)
Processes the given javac compilation errors.
|
void |
DefaultErrorHandler.javacError(java.lang.String errorReport,
java.lang.Exception exception)
Processes the given javac error report and exception.
|
void |
ErrorDispatcher.javacError(java.lang.String errorReport,
java.lang.Exception e) |
void |
ErrorHandler.javacError(java.lang.String errorReport,
java.lang.Exception exception)
Processes the given javac error report and exception.
|
void |
ErrorDispatcher.jspError(java.lang.Exception e) |
void |
ErrorDispatcher.jspError(Mark where,
java.lang.Exception e) |
void |
ErrorDispatcher.jspError(Mark where,
java.lang.String errCode) |
void |
ErrorDispatcher.jspError(Mark where,
java.lang.String errCode,
java.lang.String... args) |
void |
ErrorDispatcher.jspError(Node n,
java.lang.String errCode) |
void |
ErrorDispatcher.jspError(Node n,
java.lang.String errCode,
java.lang.String... args) |
void |
ErrorDispatcher.jspError(Node n,
java.lang.String errCode,
java.lang.String arg,
java.lang.Exception e) |
void |
ErrorDispatcher.jspError(java.lang.String errCode) |
void |
DefaultErrorHandler.jspError(java.lang.String errMsg,
java.lang.Exception ex) |
void |
ErrorHandler.jspError(java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error.
|
void |
DefaultErrorHandler.jspError(java.lang.String fname,
int line,
int column,
java.lang.String errMsg,
java.lang.Exception ex) |
void |
ErrorHandler.jspError(java.lang.String fname,
int line,
int column,
java.lang.String msg,
java.lang.Exception exception)
Processes the given JSP parse error.
|
void |
ErrorDispatcher.jspError(java.lang.String errCode,
java.lang.String... args) |
void |
ErrorDispatcher.jspError(java.lang.String errCode,
java.lang.String arg,
java.lang.Exception e) |
private java.lang.Class |
TagFileProcessor.loadTagFile(Compiler compiler,
java.lang.String tagFilePath,
javax.servlet.jsp.tagext.TagInfo tagInfo,
PageInfo parentPageInfo)
Compiles and loads a tagfile.
|
void |
TagFileProcessor.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 void |
ELFunctionMapper.map(Compiler compiler,
Node.Nodes page)
Creates the functions mappers for all EL expressions in the JSP page.
|
(package private) boolean |
JspReader.matches(java.lang.String string)
search the stream for a match to a string
|
(package private) boolean |
JspReader.matchesETag(java.lang.String tagName) |
(package private) boolean |
JspReader.matchesETagWithoutLessThan(java.lang.String tagName) |
(package private) boolean |
JspReader.matchesIgnoreCase(java.lang.String string) |
(package private) boolean |
JspReader.matchesOptionalSpacesFollowedBy(java.lang.String s)
Looks ahead to see if there are optional spaces followed by
the given String.
|
(package private) int |
JspReader.nextChar() |
Generator.FragmentHelperClass.Fragment |
Generator.FragmentHelperClass.openFragment(Node parent,
java.lang.String tagHandlerVar,
int methodNesting) |
static Node.Nodes |
JspDocumentParser.parse(ParserController pc,
java.lang.String path,
java.util.jar.JarFile jarFile,
Node parent,
boolean isTagFile,
boolean directivesOnly,
java.lang.String pageEnc,
java.lang.String jspConfigPageEnc,
boolean isEncodingSpecifiedInProlog) |
static Node.Nodes |
Parser.parse(ParserController pc,
java.lang.String path,
JspReader reader,
Node parent,
boolean isTagFile,
boolean directivesOnly,
java.net.URL jarFileUrl,
java.lang.String pageEnc,
java.lang.String jspConfigPageEnc,
boolean isDefaultPageEncoding,
boolean hasBom)
The main entry for Parser
|
Node.Nodes |
ParserController.parse(java.lang.String inFileName)
Parses a JSP page or tag file.
|
Node.Nodes |
ParserController.parse(java.lang.String inFileName,
Node parent,
java.net.URL jarFileUrl)
Processes an include directive with the given path.
|
private boolean |
Parser.parseAttribute(org.xml.sax.helpers.AttributesImpl attrs)
Attribute ::= Name S? Eq S?
( '"<%=' RTAttributeValueDouble
| '"' AttributeValueDouble
| "'<%=" RTAttributeValueSingle
| "'" AttributeValueSingle
}
Note: JSP and XML spec does not allow while spaces around Eq.
|
private void |
Parser.parseAttributeDirective(Node parent) |
(package private) org.xml.sax.Attributes |
Parser.parseAttributes()
Attributes ::= (S Attribute)* S?
|
static org.xml.sax.Attributes |
Parser.parseAttributes(ParserController pc,
JspReader reader)
Parse Attributes for a reader, provided for external use
|
private java.lang.String |
Parser.parseAttributeValue(java.lang.String watch)
AttributeValueDouble ::= (QuotedChar - '"')*
('"' |
|
private void |
Parser.parseBody(Node parent,
java.lang.String tag,
java.lang.String bodyType) |
private void |
Parser.parseComment(Node parent) |
private boolean |
Parser.parseCustomTag(Node parent) |
private void |
Parser.parseDeclaration(Node parent) |
private void |
Parser.parseDirective(Node parent) |
private void |
Parser.parseDoBody(Node parent) |
private void |
Parser.parseElement(Node parent) |
private void |
Parser.parseElements(Node parent) |
private void |
Parser.parseElementsScriptless(Node parent) |
private void |
Parser.parseElementsTemplateText(Node parent) |
private void |
Parser.parseELExpression(Node parent,
java.lang.String typeEL) |
private void |
Parser.parseEmptyBody(Node parent,
java.lang.String tag) |
private void |
Parser.parseExpression(Node parent) |
private void |
Parser.parseFallBack(Node parent) |
private void |
Parser.parseForward(Node parent) |
private void |
Parser.parseGetProperty(Node parent) |
private void |
ImplicitTagLibraryInfo.parseImplicitTld(JspCompilationContext ctxt,
java.lang.String path)
Parses the JSP version and tlib-version from the implicit.tld at the
given path.
|
private void |
Parser.parseInclude(Node parent) |
private void |
Parser.parseIncludeDirective(Node parent) |
private void |
Parser.parseInvoke(Node parent) |
static JavacErrorDetail[] |
ErrorDispatcher.parseJavacMessage(Node.Nodes pageNodes,
java.lang.String errMsg,
java.lang.String fname) |
private boolean |
Parser.parseJspAttributeAndBody(Node parent,
java.lang.String tag,
java.lang.String bodyType)
Attempts to parse 'JspAttributeAndBody' production.
|
private void |
Parser.parseJspBody(Node parent,
java.lang.String bodyType) |
private void |
Parser.parseJspParams(Node parent) |
private java.lang.String |
Parser.parseName()
Name ::= (Letter | '_' | ':') (Letter | Digit | '.' | '_' | '-' | ':')*
|
private void |
Parser.parseNamedAttributes(Node parent) |
private void |
Parser.parseOptionalBody(Node parent,
java.lang.String tag,
java.lang.String bodyType) |
private void |
Parser.parsePageDirective(Node parent) |
private void |
Parser.parseParam(Node parent)
Param ::= ' |
private void |
Parser.parsePlugin(Node parent) |
private void |
Parser.parsePluginTags(Node parent) |
private void |
Parser.parseScriptlet(Node parent) |
private void |
Parser.parseSetProperty(Node parent) |
private void |
Parser.parseStandardAction(Node parent) |
private void |
Parser.parseTagDependentBody(Node parent,
java.lang.String tag)
TagDependentBody :=
|
private void |
Parser.parseTagDirective(Node parent) |
private void |
Parser.parseTagFileDirectives(Node parent) |
static javax.servlet.jsp.tagext.TagInfo |
TagFileProcessor.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.
|
Node.Nodes |
ParserController.parseTagFileDirectives(java.lang.String inFileName)
Extracts tag file directive information from the tag file with the
given name.
|
private void |
Parser.parseTaglibDirective(Node parent) |
private void |
Parser.parseTemplateText(Node parent) |
private void |
TagLibraryInfoImpl.parseTLD(JspCompilationContext ctxt,
java.lang.String uri,
java.io.InputStream in,
java.net.URL jarFileUrl) |
(package private) java.lang.String |
JspReader.parseToken(boolean quoted)
Parse a space delimited token.
|
private void |
Parser.parseUseBean(Node parent) |
private void |
Parser.parseVariableDirective(Node parent) |
private void |
Parser.parseXMLDeclaration(Node parent) |
private void |
Parser.parseXMLDirective(Node parent) |
private void |
Parser.parseXMLExpression(Node parent) |
private void |
Parser.parseXMLScriptlet(Node parent) |
private void |
Parser.parseXMLTemplateText(Node parent) |
(package private) int |
JspReader.peekChar() |
private boolean |
JspReader.popFile()
Pop a file from the file stack.
|
(package private) void |
TagFileProcessor.TagFileDirectiveVisitor.postCheck()
Perform miscelleaneous checks after the nodes are visited.
|
private void |
Generator.GenerateVisitor.prepareParams(Node parent)
Scans through all child nodes of the given parent for
subelements.
|
private void |
Generator.GenerateVisitor.printParams(Node n,
java.lang.String pageParam,
boolean literal)
Prints the attribute value specified in the param action, in the
form of name=value string.
|
private void |
Parser.processIncludeDirective(java.lang.String file,
Node parent) |
private void |
Validator.ValidateVisitor.processSignature(ELNode.Function func) |
private void |
JspConfig.processWebDotXml(javax.servlet.ServletContext ctxt) |
private void |
JspReader.pushFile(java.lang.String file,
java.lang.String encoding,
java.io.InputStreamReader reader)
Push a file (and its associated Stream) on the file stack.
|
static void |
ScriptingVariabler.set(Node.Nodes page,
ErrorDispatcher err) |
void |
PageInfo.setAutoFlush(java.lang.String value,
Node n,
ErrorDispatcher err) |
void |
PageInfo.setBufferValue(java.lang.String value,
Node n,
ErrorDispatcher err) |
void |
PageInfo.setDeferredSyntaxAllowedAsLiteral(java.lang.String value,
Node n,
ErrorDispatcher err,
boolean pagedir) |
void |
PageInfo.setIsELIgnored(java.lang.String value,
Node n,
ErrorDispatcher err,
boolean pagedir) |
void |
PageInfo.setIsErrorPage(java.lang.String value,
Node n,
ErrorDispatcher err) |
void |
PageInfo.setIsThreadSafe(java.lang.String value,
Node n,
ErrorDispatcher err) |
void |
PageInfo.setLanguage(java.lang.String value,
Node n,
ErrorDispatcher err,
boolean pagedir) |
private void |
ScriptingVariabler.ScriptingVariableVisitor.setScriptingVars(Node.CustomTag n,
int scope) |
void |
PageInfo.setSession(java.lang.String value,
Node n,
ErrorDispatcher err) |
void |
PageInfo.setTrimDirectiveWhitespaces(java.lang.String value,
Node n,
ErrorDispatcher err,
boolean pagedir) |
(package private) int |
JspReader.skipSpaces() |
(package private) Mark |
JspReader.skipUntil(java.lang.String limit)
Skip until the given string is matched in the stream.
|
(package private) Mark |
JspReader.skipUntilETag(java.lang.String tag)
Skip until the given end tag is matched in the stream.
|
(package private) Mark |
JspReader.skipUntilIgnoreEsc(java.lang.String limit)
Skip until the given string is matched in the stream, but ignoring
chars initially escaped by a '\'.
|
private void |
Validator.ValidateVisitor.throwErrorIfExpression(Node n,
java.lang.String attrName,
java.lang.String actionName) |
void |
ErrorDispatcher.throwException(Mark where,
JasperException je)
Creates and throws a new exception from the given JasperException,
by prepending the given location information (containing file name,
line number, and column number) to the message of the given exception,
and copying the stacktrace of the given exception to the new exception.
|
static void |
Validator.validate(Compiler compiler,
Node.Nodes page) |
static void |
JspUtil.validateExpressions(Mark where,
java.lang.String expressions,
javax.el.FunctionMapper functionMapper,
ErrorDispatcher err)
Validates the syntax of all EL expressions within the given string.
|
private void |
Validator.ValidateVisitor.validateFunctions(ELNode.Nodes el,
Node n)
Validate functions in EL expressions
|
private static void |
Validator.validateXmlView(javax.servlet.jsp.tagext.PageData xmlView,
Compiler compiler)
Validate XML view against the TagLibraryValidator classes of all
imported tag libraries.
|
void |
ELNode.Visitor.visit(ELNode.ELText n) |
void |
ELNode.Visitor.visit(ELNode.Function n) |
void |
ELNode.Visitor.visit(ELNode.Root n) |
void |
ELNode.Visitor.visit(ELNode.Text n) |
void |
ELNode.Nodes.visit(ELNode.Visitor v)
Visit the nodes in the list with the supplied visitor
|
void |
Node.Visitor.visit(Node.AttributeDirective n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.AttributeDirective n) |
void |
TagFileProcessor.TagFileDirectiveVisitor.visit(Node.AttributeDirective n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.AttributeDirective n) |
void |
Validator.DirectiveVisitor.visit(Node.AttributeDirective n) |
void |
Generator.GenerateVisitor.visit(Node.AttributeGenerator n) |
void |
Node.Visitor.visit(Node.AttributeGenerator n) |
void |
Dumper.DumpVisitor.visit(Node.Comment n) |
void |
Node.Visitor.visit(Node.Comment n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.Comment n) |
void |
Collector.CollectVisitor.visit(Node.CustomTag n) |
void |
Dumper.DumpVisitor.visit(Node.CustomTag n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.CustomTag n) |
void |
Generator.GenerateVisitor.visit(Node.CustomTag n) |
void |
Node.Visitor.visit(Node.CustomTag n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.CustomTag n) |
void |
ScriptingVariabler.CustomTagCounter.visit(Node.CustomTag n) |
void |
ScriptingVariabler.ScriptingVariableVisitor.visit(Node.CustomTag n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.CustomTag n) |
void |
TagFileProcessor.TagFileLoaderVisitor.visit(Node.CustomTag n) |
void |
Validator.ValidateVisitor.visit(Node.CustomTag n) |
void |
Validator.TagExtraInfoVisitor.visit(Node.CustomTag n) |
void |
Collector.CollectVisitor.visit(Node.Declaration n) |
void |
Dumper.DumpVisitor.visit(Node.Declaration n) |
void |
Node.Visitor.visit(Node.Declaration n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.Declaration n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.Declaration n) |
void |
Validator.ValidateVisitor.visit(Node.Declaration n) |
void |
Generator.GenerateVisitor.visit(Node.DoBodyAction n) |
void |
Node.Visitor.visit(Node.DoBodyAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.DoBodyAction n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.DoBodyAction n) |
void |
Validator.ValidateVisitor.visit(Node.DoBodyAction n) |
void |
Dumper.DumpVisitor.visit(Node.ELExpression n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.ELExpression n) |
void |
Generator.GenerateVisitor.visit(Node.ELExpression n) |
void |
Node.Visitor.visit(Node.ELExpression n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.ELExpression n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.ELExpression n) |
void |
Validator.ValidateVisitor.visit(Node.ELExpression n) |
void |
Collector.CollectVisitor.visit(Node.Expression n) |
void |
Dumper.DumpVisitor.visit(Node.Expression n) |
void |
Generator.GenerateVisitor.visit(Node.Expression n) |
void |
Node.Visitor.visit(Node.Expression n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.Expression n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.Expression n) |
void |
Validator.ValidateVisitor.visit(Node.Expression n) |
void |
Node.Visitor.visit(Node.FallBackAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.FallBackAction n) |
void |
Collector.CollectVisitor.visit(Node.ForwardAction n) |
void |
Dumper.DumpVisitor.visit(Node.ForwardAction n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.ForwardAction n) |
void |
Generator.GenerateVisitor.visit(Node.ForwardAction n) |
void |
Node.Visitor.visit(Node.ForwardAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.ForwardAction n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.ForwardAction n) |
void |
Validator.ValidateVisitor.visit(Node.ForwardAction n) |
void |
Dumper.DumpVisitor.visit(Node.GetProperty n) |
void |
Generator.GenerateVisitor.visit(Node.GetProperty n) |
void |
Node.Visitor.visit(Node.GetProperty n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.GetProperty n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.GetProperty n) |
void |
Validator.ValidateVisitor.visit(Node.GetProperty n) |
void |
Collector.CollectVisitor.visit(Node.IncludeAction n) |
void |
Dumper.DumpVisitor.visit(Node.IncludeAction n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.IncludeAction n) |
void |
Generator.GenerateVisitor.visit(Node.IncludeAction n) |
void |
Node.Visitor.visit(Node.IncludeAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.IncludeAction n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.IncludeAction n) |
void |
Validator.ValidateVisitor.visit(Node.IncludeAction n) |
void |
Dumper.DumpVisitor.visit(Node.IncludeDirective n) |
void |
Node.Visitor.visit(Node.IncludeDirective n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.IncludeDirective n) |
void |
Validator.DirectiveVisitor.visit(Node.IncludeDirective n) |
void |
Validator.ValidateVisitor.visit(Node.IncludeDirective n) |
void |
Generator.GenerateVisitor.visit(Node.InvokeAction n) |
void |
Node.Visitor.visit(Node.InvokeAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.InvokeAction n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.InvokeAction n) |
void |
Validator.ValidateVisitor.visit(Node.InvokeAction n) |
void |
Collector.CollectVisitor.visit(Node.JspBody n) |
void |
Dumper.DumpVisitor.visit(Node.JspBody n) |
void |
Generator.GenerateVisitor.visit(Node.JspBody n) |
void |
Node.Visitor.visit(Node.JspBody n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.JspBody n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.JspBody n) |
void |
Validator.ValidateVisitor.visit(Node.JspBody n) |
void |
Collector.CollectVisitor.visit(Node.JspElement n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.JspElement n) |
void |
Generator.GenerateVisitor.visit(Node.JspElement n) |
void |
Node.Visitor.visit(Node.JspElement n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.JspElement n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.JspElement n) |
void |
Validator.ValidateVisitor.visit(Node.JspElement n) |
void |
Node.Visitor.visit(Node.JspOutput n) |
void |
Validator.ValidateVisitor.visit(Node.JspOutput n) |
void |
Node.Visitor.visit(Node.JspRoot n) |
void |
PageDataImpl.FirstPassVisitor.visit(Node.JspRoot n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.JspRoot n) |
void |
TagFileProcessor.TagFileDirectiveVisitor.visit(Node.JspRoot n) |
void |
Validator.ValidateVisitor.visit(Node.JspRoot n) |
void |
Node.Visitor.visit(Node.JspText n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.JspText n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.JspText n) |
void |
Collector.CollectVisitor.visit(Node.NamedAttribute n) |
void |
Dumper.DumpVisitor.visit(Node.NamedAttribute n) |
void |
Generator.GenerateVisitor.visit(Node.NamedAttribute n) |
void |
Node.Visitor.visit(Node.NamedAttribute n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.NamedAttribute n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.NamedAttribute n) |
void |
Validator.ValidateVisitor.visit(Node.NamedAttribute n) |
void |
Dumper.DumpVisitor.visit(Node.PageDirective n) |
void |
Node.Visitor.visit(Node.PageDirective n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.PageDirective n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.PageDirective n) |
void |
Validator.DirectiveVisitor.visit(Node.PageDirective n) |
void |
Collector.CollectVisitor.visit(Node.ParamAction n) |
void |
Dumper.DumpVisitor.visit(Node.ParamAction n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.ParamAction n) |
void |
Node.Visitor.visit(Node.ParamAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.ParamAction n) |
void |
Validator.ValidateVisitor.visit(Node.ParamAction n) |
void |
Dumper.DumpVisitor.visit(Node.ParamsAction n) |
void |
Node.Visitor.visit(Node.ParamsAction n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.ParamsAction n) |
void |
Validator.ValidateVisitor.visit(Node.ParamsAction n) |
void |
Collector.CollectVisitor.visit(Node.PlugIn n) |
void |
Dumper.DumpVisitor.visit(Node.PlugIn n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.PlugIn n) |
void |
Generator.GenerateVisitor.visit(Node.PlugIn n) |
void |
Node.Visitor.visit(Node.PlugIn n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.PlugIn n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.PlugIn n) |
void |
Validator.ValidateVisitor.visit(Node.PlugIn n) |
void |
Node.Visitor.visit(Node.Root n) |
void |
PageDataImpl.FirstPassVisitor.visit(Node.Root n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.Root n) |
void |
Collector.CollectVisitor.visit(Node.Scriptlet n) |
void |
Dumper.DumpVisitor.visit(Node.Scriptlet n) |
void |
Generator.GenerateVisitor.visit(Node.Scriptlet n) |
void |
Node.Visitor.visit(Node.Scriptlet n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.Scriptlet n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.Scriptlet n) |
void |
Validator.ValidateVisitor.visit(Node.Scriptlet n) |
void |
Collector.CollectVisitor.visit(Node.SetProperty n) |
void |
Dumper.DumpVisitor.visit(Node.SetProperty n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.SetProperty n) |
void |
Generator.GenerateVisitor.visit(Node.SetProperty n) |
void |
Node.Visitor.visit(Node.SetProperty n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.SetProperty n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.SetProperty n) |
void |
Validator.ValidateVisitor.visit(Node.SetProperty n) |
void |
Node.Visitor.visit(Node.TagDirective n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.TagDirective n) |
void |
TagFileProcessor.TagFileDirectiveVisitor.visit(Node.TagDirective n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.TagDirective n) |
void |
Validator.DirectiveVisitor.visit(Node.TagDirective n) |
void |
Dumper.DumpVisitor.visit(Node.TaglibDirective n) |
void |
Node.Visitor.visit(Node.TaglibDirective n) |
void |
PageDataImpl.FirstPassVisitor.visit(Node.TaglibDirective n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.TaglibDirective n) |
void |
Validator.ValidateVisitor.visit(Node.TaglibDirective n) |
void |
Dumper.DumpVisitor.visit(Node.TemplateText n) |
void |
Generator.GenerateVisitor.visit(Node.TemplateText n) |
void |
Node.Visitor.visit(Node.TemplateText n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.TemplateText n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.TemplateText n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.TemplateText n) |
void |
Dumper.DumpVisitor.visit(Node.UninterpretedTag n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.UninterpretedTag n) |
void |
Generator.GenerateVisitor.visit(Node.UninterpretedTag n) |
void |
Node.Visitor.visit(Node.UninterpretedTag n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.UninterpretedTag n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.UninterpretedTag n) |
void |
Validator.ValidateVisitor.visit(Node.UninterpretedTag n) |
void |
Collector.CollectVisitor.visit(Node.UseBean n) |
void |
Dumper.DumpVisitor.visit(Node.UseBean n) |
void |
ELFunctionMapper.ELFunctionVisitor.visit(Node.UseBean n) |
void |
Generator.GenerateVisitor.visit(Node.UseBean n) |
void |
Node.Visitor.visit(Node.UseBean n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.UseBean n) |
void |
SmapUtil.SmapGenVisitor.visit(Node.UseBean n) |
void |
Validator.ValidateVisitor.visit(Node.UseBean n) |
void |
Node.Visitor.visit(Node.VariableDirective n) |
void |
PageDataImpl.SecondPassVisitor.visit(Node.VariableDirective n) |
void |
TagFileProcessor.TagFileDirectiveVisitor.visit(Node.VariableDirective n) |
void |
TextOptimizer.TextCatVisitor.visit(Node.VariableDirective n) |
void |
Validator.DirectiveVisitor.visit(Node.VariableDirective n) |
void |
Node.Nodes.visit(Node.Visitor v)
Visit the nodes in the list with the supplied visitor
|
protected void |
Node.Visitor.visitBody(Node n)
Visit the body of a node, using the current visitor
|
void |
SmapUtil.SmapGenVisitor.visitBody(Node n) |
void |
TextOptimizer.TextCatVisitor.visitBody(Node n) |
Constructor and Description |
---|
Compiler(JspCompilationContext ctxt,
JspServletWrapper jsw,
boolean jspcMode) |
DirectiveVisitor(Compiler compiler) |
ImplicitTagLibraryInfo(JspCompilationContext ctxt,
ParserController pc,
java.lang.String prefix,
java.lang.String tagdir,
ErrorDispatcher err)
Constructor.
|
JspReader(JspCompilationContext ctxt,
java.lang.String fname,
java.lang.String encoding,
java.io.InputStreamReader reader,
ErrorDispatcher err) |
JspReader(JspCompilationContext ctxt,
java.lang.String fname,
java.lang.String encoding,
java.util.jar.JarFile jarFile,
ErrorDispatcher err) |
PageDataImpl(Node.Nodes page,
Compiler compiler)
Constructor.
|
TagHandlerInfo(Node n,
java.lang.Class tagHandlerClass,
ErrorDispatcher err)
Constructor.
|
TagLibraryInfoImpl(JspCompilationContext ctxt,
ParserController pc,
java.lang.String prefix,
java.lang.String uriIn,
java.lang.String[] location,
ErrorDispatcher err)
Constructor which builds a TagLibraryInfoImpl by parsing a TLD.
|
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
JspRuntimeLibrary.convert(java.lang.String propertyName,
java.lang.String s,
java.lang.Class t,
java.lang.Class propertyEditorClass) |
static void |
JspRuntimeLibrary.createTypedArray(java.lang.String propertyName,
java.lang.Object bean,
java.lang.reflect.Method method,
java.lang.String[] values,
java.lang.Class t,
java.lang.Class propertyEditorClass)
Create a typed array.
|
java.lang.String[] |
TldScanner.getLocation(java.lang.String uri)
Gets the 'location' of the TLD associated with the given taglib 'uri'.
|
static java.lang.reflect.Method |
JspRuntimeLibrary.getReadMethod(java.lang.Class beanClass,
java.lang.String prop) |
static java.lang.Object |
JspRuntimeLibrary.getValueFromBeanInfoPropertyEditor(java.lang.Class attrClass,
java.lang.String attrName,
java.lang.String attrValue,
java.lang.Class propertyEditorClass) |
static java.lang.Object |
JspRuntimeLibrary.getValueFromPropertyEditorManager(java.lang.Class attrClass,
java.lang.String attrName,
java.lang.String attrValue) |
static java.lang.reflect.Method |
JspRuntimeLibrary.getWriteMethod(java.lang.Class beanClass,
java.lang.String prop) |
static java.lang.Object |
JspRuntimeLibrary.handleGetProperty(java.lang.Object o,
java.lang.String prop) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
boolean value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
byte value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
char value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
double value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
float value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
int value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
long value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
java.lang.Object value) |
static void |
JspRuntimeLibrary.handleSetProperty(java.lang.Object bean,
java.lang.String prop,
short value) |
static void |
JspRuntimeLibrary.handleSetPropertyExpression(java.lang.Object bean,
java.lang.String prop,
java.lang.String expression,
javax.servlet.jsp.PageContext pageContext,
ProtectedFunctionMapper functionMapper)
Use proprietaryEvaluate
public static void handleSetPropertyExpression(Object bean,
String prop, String expression, PageContext pageContext,
VariableResolver variableResolver, FunctionMapper functionMapper )
throws JasperException
{
try {
Method method = getWriteMethod(bean.getClass(), prop);
method.invoke(bean, new Object[] {
pageContext.getExpressionEvaluator().evaluate(
expression,
method.getParameterTypes()[0],
variableResolver,
functionMapper,
null )
});
} catch (Exception ex) {
throw new JasperException(ex);
}
}
|
static void |
JspRuntimeLibrary.introspect(java.lang.Object bean,
javax.servlet.ServletRequest request) |
static void |
JspRuntimeLibrary.introspecthelper(java.lang.Object bean,
java.lang.String prop,
java.lang.String value,
javax.servlet.ServletRequest request,
java.lang.String param,
boolean ignoreMethodNF) |
private void |
TldScanner.processTldsInFileSystem(java.lang.String startPath) |
private void |
TldScanner.scanJar(java.net.JarURLConnection conn,
java.util.List<java.lang.String> tldNames,
boolean isLocal)
Scans the given JarURLConnection for TLD files located in META-INF
(or a subdirectory of it).
|
private TldScanner.TldInfo |
TldScanner.scanTld(java.lang.String resourcePath,
java.lang.String entryName,
java.io.InputStream stream)
Scan the given TLD for uri and listeners elements.
|
private void |
TldScanner.scanTlds()
Scan the all the tlds accessible in the web app.
|
Modifier and Type | Field and Description |
---|---|
private JasperException |
JspServletWrapper.compileException |
Modifier and Type | Method and Description |
---|---|
void |
JspServletWrapper.setCompilationException(JasperException je)
Sets the compilation exception for this JspServletWrapper.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Class |
JspServletWrapper.loadTagFile()
Compile (if needed) and load a tag file
|
java.lang.Class |
JspServletWrapper.loadTagFilePrototype()
Compile and load a prototype for the Tag file.
|
Constructor and Description |
---|
JspServletWrapper(javax.servlet.ServletConfig config,
Options options,
java.lang.String jspUri,
boolean isErrorPage,
JspRuntimeContext rctxt) |
JspServletWrapper(javax.servlet.ServletContext servletContext,
Options options,
java.lang.String tagFilePath,
javax.servlet.jsp.tagext.TagInfo tagInfo,
JspRuntimeContext rctxt,
java.net.URL tagFileJarUrl) |
Modifier and Type | Method and Description |
---|---|
private void |
XMLEncodingDetector.createInitialReader() |
private java.io.Reader |
XMLEncodingDetector.createReader(java.io.InputStream inputStream,
java.lang.String encoding,
java.lang.Boolean isBigEndian)
Creates a reader capable of reading the given input stream in
the specified encoding.
|
private java.lang.Object[] |
XMLEncodingDetector.getEncoding(java.io.InputStream in,
ErrorDispatcher err) |
static java.lang.Object[] |
XMLEncodingDetector.getEncoding(java.lang.String fname,
java.util.jar.JarFile jarFile,
JspCompilationContext ctxt,
ErrorDispatcher err)
Autodetects the encoding of the XML document supplied by the given
input stream.
|
private static javax.xml.validation.Schema |
ParserUtils.getSchema(org.w3c.dom.Document document) |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
org.xml.sax.InputSource is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
org.xml.sax.InputSource is,
boolean validate)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
java.io.InputStream is)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
TreeNode |
ParserUtils.parseXMLDocument(java.lang.String uri,
java.io.InputStream is,
boolean validate)
Parse the specified XML document, and return a
TreeNode
that corresponds to the root node of the document tree. |
private void |
XMLEncodingDetector.reportFatalError(java.lang.String msgId,
java.lang.String arg)
Convenience function used in all XML scanners.
|
private void |
XMLEncodingDetector.scanPIData(java.lang.String target,
XMLString data)
Scans a processing data.
|
java.lang.String |
XMLEncodingDetector.scanPseudoAttribute(boolean scanningTextDecl,
XMLString value)
Scans a pseudo attribute.
|
private boolean |
XMLEncodingDetector.scanSurrogates(XMLStringBuffer buf)
Scans surrogates and append them to the specified buffer.
|
private void |
XMLEncodingDetector.scanXMLDecl() |
private void |
XMLEncodingDetector.scanXMLDeclOrTextDecl(boolean scanningTextDecl)
Scans an XML or text declaration.
|
private void |
XMLEncodingDetector.scanXMLDeclOrTextDecl(boolean scanningTextDecl,
java.lang.String[] pseudoAttributeValues)
Scans an XML or text declaration.
|