Uses of Class
org.apache.jasper.JasperException
Packages that use JasperException
Package
Description
-
Uses of JasperException in org.apache.jasper
Fields in org.apache.jasper with type parameters of type JasperExceptionMethods in org.apache.jasper that return types with arguments of type JasperExceptionModifier and TypeMethodDescriptionJspC.getJSPCompilationErrors()Gets the list of JSP compilation errors caught during the most recent invocation of this instance'sexecutemethod when failOnError has been set to FALSE.Methods in org.apache.jasper that throw JasperExceptionModifier and TypeMethodDescriptionprivate static final StringJspCompilationContext.canonicalURI(String s) voidJspCompilationContext.compile()JspCompilationContext.createCompiler(boolean jspcMode) Create a "Compiler" object.JspCompilationContext.createParser()Create a compiler object for parsing only.voidJspC.execute()JspCompilationContext.getResourceAsStream(String res) Gets a resource as a stream, relative to the meanings of this context's implementation.JspCompilationContext.getResourcePaths(String path) String[]JspCompilationContext.getTldLocation(String uri) Gets the 'location' of the TLD associated with the given taglib 'uri'.JspCompilationContext.load()private voidJspC.processFile(String file) voidLocate all jsp files in the webapp.voidConstructors in org.apache.jasper that throw JasperExceptionModifierConstructorDescriptionJspCompilationContext(String jspUri, boolean isErrPage, Options options, javax.servlet.ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt) JspCompilationContext(String tagfile, javax.servlet.jsp.tagext.TagInfo tagInfo, Options options, javax.servlet.ServletContext context, JspServletWrapper jsw, JspRuntimeContext rctxt, URL tagFileJarUrl) -
Uses of JasperException in org.apache.jasper.compiler
Methods in org.apache.jasper.compiler with parameters of type JasperExceptionModifier and TypeMethodDescriptionvoidErrorDispatcher.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.Methods in org.apache.jasper.compiler that throw JasperExceptionModifier and TypeMethodDescriptionabstract voidELNode.accept(ELNode.Visitor v) voidELNode.ELText.accept(ELNode.Visitor v) voidELNode.Function.accept(ELNode.Visitor v) voidELNode.Root.accept(ELNode.Visitor v) voidELNode.Text.accept(ELNode.Visitor v) (package private) abstract voidNode.accept(Node.Visitor v) Selects and invokes a method in the visitor class based on the node type.voidNode.AttributeDirective.accept(Node.Visitor v) voidNode.AttributeGenerator.accept(Node.Visitor v) voidNode.Comment.accept(Node.Visitor v) voidNode.CustomTag.accept(Node.Visitor v) voidNode.Declaration.accept(Node.Visitor v) voidNode.DoBodyAction.accept(Node.Visitor v) voidNode.ELExpression.accept(Node.Visitor v) voidNode.Expression.accept(Node.Visitor v) voidNode.FallBackAction.accept(Node.Visitor v) voidNode.ForwardAction.accept(Node.Visitor v) voidNode.GetProperty.accept(Node.Visitor v) voidNode.IncludeAction.accept(Node.Visitor v) voidNode.IncludeDirective.accept(Node.Visitor v) voidNode.InvokeAction.accept(Node.Visitor v) voidNode.JspBody.accept(Node.Visitor v) voidNode.JspElement.accept(Node.Visitor v) voidNode.JspOutput.accept(Node.Visitor v) voidNode.JspRoot.accept(Node.Visitor v) voidNode.JspText.accept(Node.Visitor v) voidNode.NamedAttribute.accept(Node.Visitor v) voidNode.PageDirective.accept(Node.Visitor v) voidNode.ParamAction.accept(Node.Visitor v) voidNode.ParamsAction.accept(Node.Visitor v) voidNode.PlugIn.accept(Node.Visitor v) voidNode.Root.accept(Node.Visitor v) voidNode.Scriptlet.accept(Node.Visitor v) voidNode.SetProperty.accept(Node.Visitor v) voidNode.TagDirective.accept(Node.Visitor v) voidNode.TaglibDirective.accept(Node.Visitor v) voidNode.TemplateText.accept(Node.Visitor v) voidNode.UninterpretedTag.accept(Node.Visitor v) voidNode.UseBean.accept(Node.Visitor v) voidNode.VariableDirective.accept(Node.Visitor v) voidBeanRepository.addBean(Node.UseBean n, String s, String type, String scope) private voidParser.addInclude(Node parent, List files) Add a list of files.private voidPageDataImpl.FirstPassVisitor.addRootAttributes(Attributes attrs) private voidJspDocumentParser.addTaglibInfo(String prefix, String uri) private voidprivate voidprivate voidPageDataImpl.SecondPassVisitor.appendTagDirective(Node.TagDirective n) voidTagPluginManager.apply(Node.Nodes page, ErrorDispatcher err, PageInfo pageInfo) static voidJspUtil.checkAttributes(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 StringTagFileProcessor.TagFileDirectiveVisitor.checkConflict(Node n, String oldAttrValue, String attr) private voidValidator.ValidateVisitor.checkNamedAttributes(Node.CustomTag n, Node.JspAttribute[] jspAttrs, int start, Hashtable<String, Object> tagDataAttrs) static voidJspUtil.checkScope(String scope, Node n, ErrorDispatcher err) Checks to see if the given scope is valid.private voidCollector.CollectVisitor.checkSeen(Node.ChildInfo ci, Node n) Check all child nodes for various elements and update the given ChildInfo object accordingly.private voidValidator.ValidateVisitor.checkSetter(Node.CustomTag n, javax.servlet.jsp.tagext.TagAttributeInfo tldattr) private voidParser.checkUnbalancedEndTag()private voidTagFileProcessor.TagFileDirectiveVisitor.checkUniqueName(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 voidTagFileProcessor.TagFileDirectiveVisitor.checkUniqueName(String name, TagFileProcessor.TagFileDirectiveVisitor.Name type, Node n, javax.servlet.jsp.tagext.TagAttributeInfo attr) private voidValidator.ValidateVisitor.checkXmlAttributes(Node.CustomTag n, Node.JspAttribute[] jspAttrs, Hashtable<String, Object> tagDataAttrs) static voidCollector.collect(Compiler compiler, Node.Nodes page) private voidParserController.comparePageEncodings(String jspConfigPageEnc) private voidValidator.DirectiveVisitor.comparePageEncodings(String pageDirEnc, Node.PageDirective pageDir) AntJavaCompiler.compile(String className, Node.Nodes pageNodes) voidCompiler.compile(boolean compileClass) Compile the jsp file from the current engine context.JavaCompiler.compile(String className, Node.Nodes pageNodes) Start Java compilationJDTJavaCompiler.compile(String targetClassName, Node.Nodes pageNodes) Jsr199JavaCompiler.compile(String className, Node.Nodes pageNodes) NullJavaCompiler.compile(String className, Node.Nodes pageNodes) private voidGenerator.compileTagHandlerPoolList(Node.Nodes page) Compiles list of tag handler pool names.static voidTextOptimizer.concatenate(Compiler compiler, Node.Nodes page) private StringGenerator.GenerateVisitor.convertString(Class<?> c, String s, String attrName, Class<?> propEditorClass, boolean isNamedAttribute) private javax.servlet.jsp.tagext.TagAttributeInfoTagLibraryInfoImpl.createAttribute(TreeNode elem, String jspVersion) private javax.servlet.jsp.tagext.FunctionInfoTagLibraryInfoImpl.createFunctionInfo(TreeNode elem) private String[]TagLibraryInfoImpl.createInitParam(TreeNode elem) static JavacErrorDetailErrorDispatcher.createJavacError(String fname, Node.Nodes page, StringBuilder errMsgBuf, int lineNum) private javax.servlet.jsp.tagext.TagFileInfoTagLibraryInfoImpl.createTagFileInfo(TreeNode elem, String uri, URL jarFileUrl) private javax.servlet.jsp.tagext.TagInfoTagLibraryInfoImpl.createTagInfo(TreeNode elem, String jspVersion) private javax.servlet.jsp.tagext.TagLibraryValidatorTagLibraryInfoImpl.createValidator(TreeNode elem) private javax.servlet.jsp.tagext.TagVariableInfoTagLibraryInfoImpl.createVariable(TreeNode elem) private voidParserController.determineSyntaxAndEncoding(String absFileName, JarFile jarFile, 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 voidvoidJavaCompiler.doJavaFile(boolean keep) Remove/save the generated Java File from/to diskvoidJsr199JavaCompiler.doJavaFile(boolean keep) private voidELFunctionMapper.ELFunctionVisitor.doMap(ELNode.Nodes el) Creates function mappers, if needed, from ELNodesprivate voidELFunctionMapper.ELFunctionVisitor.doMap(Node.JspAttribute attr) private Node.NodesParses the JSP page or tag file with the given path name.voidprotected voidThis method provides a place to put actions that are common to all nodes.voidvoidprivate voidprivate StringGenerator.GenerateVisitor.evaluateAttribute(Generator.TagHandlerInfo handlerInfo, Node.JspAttribute attr, Node.CustomTag n, String tagHandlerVar) private Node.JspBodyGenerator.GenerateVisitor.findJspBody(Node parent) Finds the invalid input: '<'jsp:body> subelement of the given parent node.JspConfig.findJspProperty(String uri) Find a property that best matches the supplied resource.static voidGenerator.generate(ServletWriter out, Compiler compiler, Node.Nodes page) The main entry for Generator.private StringGenerator.GenerateVisitor.generateAliasMap(Node.CustomTag n, String tagHandlerVar) Generate code to create a map for the alias variablesprivate voidCompiler.generateClass()Compile the servlet from .java file to .class fileprivate voidGenerator.GenerateVisitor.generateCustomDoTag(Node.CustomTag n, Generator.TagHandlerInfo handlerInfo, String tagHandlerVar) private voidGenerator.GenerateVisitor.generateCustomStart(Node.CustomTag n, Generator.TagHandlerInfo handlerInfo, String tagHandlerVar, String tagEvalVar, String tagPushBodyCountVar) private voidGenerator.generateDeclarations(Node.Nodes page) Generates declarations.private voidGenerator.GenerateVisitor.generateJspFragment(Node n, String tagHandlerVar) Generates anonymous JspFragment inner class which is passed as an argument to SimpleTag.setJspBody().private static voidGenerator.generateLocalVariables(ServletWriter out, Node n, boolean genBytes) Generator.GenerateVisitor.generateNamedAttributeJspFragment(Node.NamedAttribute n, String tagHandlerVar) Similar to generateNamedAttributeValue, but create a JspFragment instead.Generator.GenerateVisitor.generateNamedAttributeValue(Node.NamedAttribute n) Generate the code required to obtain the runtime value of the given named attribute.private voidGenerator.generatePreamble(Node.Nodes page) Generates the beginning of the static portion of the servlet.private voidGenerator.GenerateVisitor.generateSetters(Node.CustomTag n, String tagHandlerVar, Generator.TagHandlerInfo handlerInfo, boolean simpleTag) private voidGenerator.generateTagHandlerAttributes(javax.servlet.jsp.tagext.TagInfo tagInfo) Generates declarations for tag handler attributes, and defines the getter and setter methods for each.private voidGenerator.generateTagHandlerPreamble(JasperTagInfo tagInfo, Node.Nodes tag) private voidGenerator.GenerateVisitor.generateTagPlugin(Node.CustomTag n) private String[]TagLibraryInfoImpl.generateTLDLocation(String uri, JspCompilationContext ctxt) private voidGenerator.genPreambleClassVariableDeclarations(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 voidGenerator.genPreambleImports()Generate preamble imports (shared by servlet and tag handler preamble generation)private voidGenerator.genPreambleMethods()Declare general-purpose methods (shared by servlet and tag handler preamble generation)private voidGenerator.genPreamblePackage(String packageName) Generate preamble package name (shared by servlet and tag handler preamble generation)private voidGenerator.genPreambleStaticInitializers()Generation of static initializers in preamble.BeanRepository.getBeanType(String bean) private javax.el.FunctionMapperValidator.ValidateVisitor.getFunctionMapper(ELNode.Nodes el) static InputStreamJspUtil.getInputStream(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err) AntJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) JavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) Get a Writer for the Java file.JDTJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) NullJavaCompiler.getJavaWriter(String javaFileName, String javaEncoding) private Node.JspAttributeValidator.ValidateVisitor.getJspAttribute(String qName, String uri, String localName, String value, Node n, boolean dynamic, javax.servlet.jsp.tagext.TagAttributeInfo tagAttr) Preprocess attributes that can be expressions.private StringParserController.getJspConfigPageEncoding(String absFileName) private StringGet the method name from the signature.private StringParserController.getPageEncodingForJspSyntax(JspReader jspReader, Mark startMark) private String[]Validator.ValidateVisitor.getParameters(String signature) Get the parameters types from the function signature.(package private) static InputStreamReaderJspUtil.getReader(String fname, String encoding, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err) private InputStreamTagLibraryInfoImpl.getResourceAsStream(String uri) private StringValidator.ValidateVisitor.getReturnType(String signature) Get the return type from the signature.static StringJspUtil.getTagHandlerClassName(String path, ErrorDispatcher err) Gets the fully-qualified class name of the tag handler corresponding to the given tag file path.private Generator.TagHandlerInfoGenerator.GenerateVisitor.getTagHandlerInfo(Node.CustomTag n) javax.servlet.jsp.tagext.TagInfoTagFileProcessor.TagFileDirectiveVisitor.getTagInfo()(package private) Stringprivate booleanParserController.hasJspRoot(JspReader reader) (package private) booleanJspReader.hasMoreInput()private voidJspConfig.init()private voidTagPluginManager.init(ErrorDispatcher err) private voidCompiler.initJavaCompiler()Get an instance of JavaCompiler.private booleanJspReader.isDelimiter()Parse utils - Is current character a token delimiter ? Delimiters are currently defined to be =, >, <, ", and ' or any any space character as defined byisSpace.booleanTo find out if an uri matches an url pattern in jsp config.(package private) final booleanJspReader.isSpace()voidDefaultErrorHandler.javacError(String errorReport, Exception exception) Processes the given javac error report and exception.voidDefaultErrorHandler.javacError(JavacErrorDetail[] details) voidErrorDispatcher.javacError(String errorReport, Exception e) voidErrorDispatcher.javacError(JavacErrorDetail[] javacErrors) voidErrorHandler.javacError(String errorReport, Exception exception) Processes the given javac error report and exception.voidErrorHandler.javacError(JavacErrorDetail[] details) Processes the given javac compilation errors.voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidProcesses the given JSP parse error.voidProcesses the given JSP parse error.private ClassTagFileProcessor.loadTagFile(Compiler compiler, String tagFilePath, javax.servlet.jsp.tagext.TagInfo tagInfo, PageInfo parentPageInfo) Compiles and loads a tagfile.voidTagFileProcessor.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 voidELFunctionMapper.map(Compiler compiler, Node.Nodes page) Creates the functions mappers for all EL expressions in the JSP page.(package private) booleansearch the stream for a match to a string(package private) booleanJspReader.matchesETag(String tagName) (package private) booleanJspReader.matchesETagWithoutLessThan(String tagName) (package private) booleanJspReader.matchesIgnoreCase(String string) (package private) booleanJspReader.matchesOptionalSpacesFollowedBy(String s) Looks ahead to see if there are optional spaces followed by the given String.(package private) intJspReader.nextChar()Generator.FragmentHelperClass.openFragment(Node parent, String tagHandlerVar, int methodNesting) static Node.NodesJspDocumentParser.parse(ParserController pc, String path, JarFile jarFile, Node parent, boolean isTagFile, boolean directivesOnly, String pageEnc, String jspConfigPageEnc, boolean isEncodingSpecifiedInProlog) static Node.NodesParser.parse(ParserController pc, String path, JspReader reader, Node parent, boolean isTagFile, boolean directivesOnly, URL jarFileUrl, String pageEnc, String jspConfigPageEnc, boolean isDefaultPageEncoding, boolean hasBom) The main entry for ParserParses a JSP page or tag file.Processes an include directive with the given path.private booleanParser.parseAttribute(AttributesImpl attrs) Attribute ::= Name S? Eq S? ( '"invalid input: '<'%=' RTAttributeValueDouble | '"' AttributeValueDouble | "'invalid input: '<'%=" RTAttributeValueSingle | "'" AttributeValueSingle } Note: JSP and XML spec does not allow while spaces around Eq.private voidParser.parseAttributeDirective(Node parent) (package private) AttributesParser.parseAttributes()Attributes ::= (S Attribute)* S?static AttributesParser.parseAttributes(ParserController pc, JspReader reader) Parse Attributes for a reader, provided for external useprivate StringParser.parseAttributeValue(String watch) AttributeValueDouble ::= (QuotedChar - '"')* ('"' |) RTAttributeValueDouble ::= ((QuotedChar - '"')* - ((QuotedChar-'"')'%>"') ('%>"' | TRANSLATION_ERROR) private voidprivate voidParser.parseComment(Node parent) private booleanParser.parseCustomTag(Node parent) private voidParser.parseDeclaration(Node parent) private voidParser.parseDirective(Node parent) private voidParser.parseDoBody(Node parent) private voidParser.parseElement(Node parent) private voidParser.parseElements(Node parent) private voidParser.parseElementsScriptless(Node parent) private voidParser.parseElementsTemplateText(Node parent) private voidParser.parseELExpression(Node parent, String typeEL) private voidParser.parseEmptyBody(Node parent, String tag) private voidParser.parseExpression(Node parent) private voidParser.parseFallBack(Node parent) private voidParser.parseForward(Node parent) private voidParser.parseGetProperty(Node parent) private voidImplicitTagLibraryInfo.parseImplicitTld(JspCompilationContext ctxt, String path) Parses the JSP version and tlib-version from the implicit.tld at the given path.private voidParser.parseInclude(Node parent) private voidParser.parseIncludeDirective(Node parent) private voidParser.parseInvoke(Node parent) static JavacErrorDetail[]ErrorDispatcher.parseJavacMessage(Node.Nodes pageNodes, String errMsg, String fname) private booleanParser.parseJspAttributeAndBody(Node parent, String tag, String bodyType) Attempts to parse 'JspAttributeAndBody' production.private voidParser.parseJspBody(Node parent, String bodyType) private voidParser.parseJspParams(Node parent) private StringParser.parseName()Name ::= (Letter | '_' | ':') (Letter | Digit | '.' | '_' | '-' | ':')*private voidParser.parseNamedAttributes(Node parent) private voidParser.parseOptionalBody(Node parent, String tag, String bodyType) private voidParser.parsePageDirective(Node parent) private voidParser.parseParam(Node parent) Param ::= 'invalid input: '<'jsp:param' S Attributes S? EmptyBody S?private voidParser.parsePlugin(Node parent) private voidParser.parsePluginTags(Node parent) private voidParser.parseScriptlet(Node parent) private voidParser.parseSetProperty(Node parent) private voidParser.parseStandardAction(Node parent) private voidParser.parseTagDependentBody(Node parent, String tag) TagDependentBody :=private voidParser.parseTagDirective(Node parent) private voidParser.parseTagFileDirectives(Node parent) ParserController.parseTagFileDirectives(String inFileName) Extracts tag file directive information from the tag file with the given name.static javax.servlet.jsp.tagext.TagInfoTagFileProcessor.parseTagFileDirectives(ParserController pc, String name, String path, javax.servlet.jsp.tagext.TagLibraryInfo tagLibInfo) Parses the tag file, and collects information on the directives included in it.private voidParser.parseTaglibDirective(Node parent) private voidParser.parseTemplateText(Node parent) private voidTagLibraryInfoImpl.parseTLD(JspCompilationContext ctxt, String uri, InputStream in, URL jarFileUrl) (package private) StringJspReader.parseToken(boolean quoted) Parse a space delimited token.private voidParser.parseUseBean(Node parent) private voidParser.parseVariableDirective(Node parent) private voidParser.parseXMLDeclaration(Node parent) private voidParser.parseXMLDirective(Node parent) private voidParser.parseXMLExpression(Node parent) private voidParser.parseXMLScriptlet(Node parent) private voidParser.parseXMLTemplateText(Node parent) (package private) intJspReader.peekChar()private booleanJspReader.popFile()Pop a file from the file stack.(package private) voidTagFileProcessor.TagFileDirectiveVisitor.postCheck()Perform miscelleaneous checks after the nodes are visited.private voidGenerator.GenerateVisitor.prepareParams(Node parent) Scans through all child nodes of the given parent for subelements.private voidGenerator.GenerateVisitor.printParams(Node n, String pageParam, boolean literal) Prints the attribute value specified in the param action, in the form of name=value string.private voidParser.processIncludeDirective(String file, Node parent) private voidValidator.ValidateVisitor.processSignature(ELNode.Function func) private voidJspConfig.processWebDotXml(javax.servlet.ServletContext ctxt) private voidJspReader.pushFile(String file, String encoding, InputStreamReader reader) Push a file (and its associated Stream) on the file stack.static voidScriptingVariabler.set(Node.Nodes page, ErrorDispatcher err) voidPageInfo.setAutoFlush(String value, Node n, ErrorDispatcher err) voidPageInfo.setBufferValue(String value, Node n, ErrorDispatcher err) voidPageInfo.setDeferredSyntaxAllowedAsLiteral(String value, Node n, ErrorDispatcher err, boolean pagedir) voidPageInfo.setIsELIgnored(String value, Node n, ErrorDispatcher err, boolean pagedir) voidPageInfo.setIsErrorPage(String value, Node n, ErrorDispatcher err) voidPageInfo.setIsThreadSafe(String value, Node n, ErrorDispatcher err) voidPageInfo.setLanguage(String value, Node n, ErrorDispatcher err, boolean pagedir) private voidScriptingVariabler.ScriptingVariableVisitor.setScriptingVars(Node.CustomTag n, int scope) voidPageInfo.setSession(String value, Node n, ErrorDispatcher err) voidPageInfo.setTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) (package private) intJspReader.skipSpaces()(package private) MarkSkip until the given string is matched in the stream.(package private) MarkJspReader.skipUntilETag(String tag) Skip until the given end tag is matched in the stream.(package private) MarkJspReader.skipUntilIgnoreEsc(String limit) Skip until the given string is matched in the stream, but ignoring chars initially escaped by a '\'.private voidValidator.ValidateVisitor.throwErrorIfExpression(Node n, String attrName, String actionName) voidErrorDispatcher.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 voidValidator.validate(Compiler compiler, Node.Nodes page) static voidJspUtil.validateExpressions(Mark where, String expressions, javax.el.FunctionMapper functionMapper, ErrorDispatcher err) Validates the syntax of all EL expressions within the given string.private voidValidator.ValidateVisitor.validateFunctions(ELNode.Nodes el, Node n) Validate functions in EL expressionsprivate static voidValidator.validateXmlView(javax.servlet.jsp.tagext.PageData xmlView, Compiler compiler) Validate XML view against the TagLibraryValidator classes of all imported tag libraries.voidCollector.CollectVisitor.visit(Node.CustomTag n) voidCollector.CollectVisitor.visit(Node.Declaration n) voidCollector.CollectVisitor.visit(Node.Expression n) voidCollector.CollectVisitor.visit(Node.ForwardAction n) voidCollector.CollectVisitor.visit(Node.IncludeAction n) voidCollector.CollectVisitor.visit(Node.JspBody n) voidCollector.CollectVisitor.visit(Node.JspElement n) voidCollector.CollectVisitor.visit(Node.NamedAttribute n) voidCollector.CollectVisitor.visit(Node.ParamAction n) voidCollector.CollectVisitor.visit(Node.PlugIn n) voidCollector.CollectVisitor.visit(Node.Scriptlet n) voidCollector.CollectVisitor.visit(Node.SetProperty n) voidCollector.CollectVisitor.visit(Node.UseBean n) voidDumper.DumpVisitor.visit(Node.Comment n) voidDumper.DumpVisitor.visit(Node.CustomTag n) voidDumper.DumpVisitor.visit(Node.Declaration n) voidDumper.DumpVisitor.visit(Node.ELExpression n) voidDumper.DumpVisitor.visit(Node.Expression n) voidDumper.DumpVisitor.visit(Node.ForwardAction n) voidDumper.DumpVisitor.visit(Node.GetProperty n) voidDumper.DumpVisitor.visit(Node.IncludeAction n) voidDumper.DumpVisitor.visit(Node.IncludeDirective n) voidDumper.DumpVisitor.visit(Node.JspBody n) voidDumper.DumpVisitor.visit(Node.NamedAttribute n) voidDumper.DumpVisitor.visit(Node.PageDirective n) voidDumper.DumpVisitor.visit(Node.ParamAction n) voidDumper.DumpVisitor.visit(Node.ParamsAction n) voidDumper.DumpVisitor.visit(Node.PlugIn n) voidDumper.DumpVisitor.visit(Node.Scriptlet n) voidDumper.DumpVisitor.visit(Node.SetProperty n) voidDumper.DumpVisitor.visit(Node.TaglibDirective n) voidDumper.DumpVisitor.visit(Node.TemplateText n) voidDumper.DumpVisitor.visit(Node.UninterpretedTag n) voidDumper.DumpVisitor.visit(Node.UseBean n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.CustomTag n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.ELExpression n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.ForwardAction n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.IncludeAction n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.JspElement n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.ParamAction n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.PlugIn n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.SetProperty n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.UninterpretedTag n) voidELFunctionMapper.ELFunctionVisitor.visit(Node.UseBean n) voidELNode.Nodes.visit(ELNode.Visitor v) Visit the nodes in the list with the supplied visitorvoidELNode.Visitor.visit(ELNode.ELText n) voidELNode.Visitor.visit(ELNode.Function n) voidELNode.Visitor.visit(ELNode.Root n) voidELNode.Visitor.visit(ELNode.Text n) voidGenerator.GenerateVisitor.visit(Node.AttributeGenerator n) voidGenerator.GenerateVisitor.visit(Node.CustomTag n) voidGenerator.GenerateVisitor.visit(Node.DoBodyAction n) voidGenerator.GenerateVisitor.visit(Node.ELExpression n) voidGenerator.GenerateVisitor.visit(Node.Expression n) voidGenerator.GenerateVisitor.visit(Node.ForwardAction n) voidGenerator.GenerateVisitor.visit(Node.GetProperty n) voidGenerator.GenerateVisitor.visit(Node.IncludeAction n) voidGenerator.GenerateVisitor.visit(Node.InvokeAction n) voidGenerator.GenerateVisitor.visit(Node.JspBody n) voidGenerator.GenerateVisitor.visit(Node.JspElement n) voidGenerator.GenerateVisitor.visit(Node.NamedAttribute n) voidGenerator.GenerateVisitor.visit(Node.PlugIn n) voidGenerator.GenerateVisitor.visit(Node.Scriptlet n) voidGenerator.GenerateVisitor.visit(Node.SetProperty n) voidGenerator.GenerateVisitor.visit(Node.TemplateText n) voidGenerator.GenerateVisitor.visit(Node.UninterpretedTag n) voidGenerator.GenerateVisitor.visit(Node.UseBean n) voidNode.Nodes.visit(Node.Visitor v) Visit the nodes in the list with the supplied visitorvoidNode.Visitor.visit(Node.AttributeDirective n) voidNode.Visitor.visit(Node.AttributeGenerator n) voidNode.Visitor.visit(Node.Comment n) voidNode.Visitor.visit(Node.CustomTag n) voidNode.Visitor.visit(Node.Declaration n) voidNode.Visitor.visit(Node.DoBodyAction n) voidNode.Visitor.visit(Node.ELExpression n) voidNode.Visitor.visit(Node.Expression n) voidNode.Visitor.visit(Node.FallBackAction n) voidNode.Visitor.visit(Node.ForwardAction n) voidNode.Visitor.visit(Node.GetProperty n) voidNode.Visitor.visit(Node.IncludeAction n) voidNode.Visitor.visit(Node.IncludeDirective n) voidNode.Visitor.visit(Node.InvokeAction n) voidNode.Visitor.visit(Node.JspBody n) voidNode.Visitor.visit(Node.JspElement n) voidNode.Visitor.visit(Node.JspOutput n) voidNode.Visitor.visit(Node.JspRoot n) voidNode.Visitor.visit(Node.JspText n) voidNode.Visitor.visit(Node.NamedAttribute n) voidNode.Visitor.visit(Node.PageDirective n) voidNode.Visitor.visit(Node.ParamAction n) voidNode.Visitor.visit(Node.ParamsAction n) voidNode.Visitor.visit(Node.PlugIn n) voidvoidNode.Visitor.visit(Node.Scriptlet n) voidNode.Visitor.visit(Node.SetProperty n) voidNode.Visitor.visit(Node.TagDirective n) voidNode.Visitor.visit(Node.TaglibDirective n) voidNode.Visitor.visit(Node.TemplateText n) voidNode.Visitor.visit(Node.UninterpretedTag n) voidNode.Visitor.visit(Node.UseBean n) voidNode.Visitor.visit(Node.VariableDirective n) voidPageDataImpl.FirstPassVisitor.visit(Node.JspRoot n) voidvoidPageDataImpl.FirstPassVisitor.visit(Node.TaglibDirective n) voidPageDataImpl.SecondPassVisitor.visit(Node.AttributeDirective n) voidPageDataImpl.SecondPassVisitor.visit(Node.Comment n) voidPageDataImpl.SecondPassVisitor.visit(Node.CustomTag n) voidPageDataImpl.SecondPassVisitor.visit(Node.Declaration n) voidPageDataImpl.SecondPassVisitor.visit(Node.DoBodyAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.ELExpression n) voidPageDataImpl.SecondPassVisitor.visit(Node.Expression n) voidPageDataImpl.SecondPassVisitor.visit(Node.FallBackAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.ForwardAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.GetProperty n) voidPageDataImpl.SecondPassVisitor.visit(Node.IncludeAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.IncludeDirective n) voidPageDataImpl.SecondPassVisitor.visit(Node.InvokeAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.JspBody n) voidPageDataImpl.SecondPassVisitor.visit(Node.JspElement n) voidPageDataImpl.SecondPassVisitor.visit(Node.JspRoot n) voidPageDataImpl.SecondPassVisitor.visit(Node.JspText n) voidPageDataImpl.SecondPassVisitor.visit(Node.NamedAttribute n) voidPageDataImpl.SecondPassVisitor.visit(Node.PageDirective n) voidPageDataImpl.SecondPassVisitor.visit(Node.ParamAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.ParamsAction n) voidPageDataImpl.SecondPassVisitor.visit(Node.PlugIn n) voidvoidPageDataImpl.SecondPassVisitor.visit(Node.Scriptlet n) voidPageDataImpl.SecondPassVisitor.visit(Node.SetProperty n) voidPageDataImpl.SecondPassVisitor.visit(Node.TagDirective n) voidPageDataImpl.SecondPassVisitor.visit(Node.TemplateText n) voidPageDataImpl.SecondPassVisitor.visit(Node.UninterpretedTag n) voidPageDataImpl.SecondPassVisitor.visit(Node.UseBean n) voidPageDataImpl.SecondPassVisitor.visit(Node.VariableDirective n) voidScriptingVariabler.CustomTagCounter.visit(Node.CustomTag n) voidScriptingVariabler.ScriptingVariableVisitor.visit(Node.CustomTag n) voidSmapUtil.SmapGenVisitor.visit(Node.CustomTag n) voidSmapUtil.SmapGenVisitor.visit(Node.Declaration n) voidSmapUtil.SmapGenVisitor.visit(Node.DoBodyAction n) voidSmapUtil.SmapGenVisitor.visit(Node.ELExpression n) voidSmapUtil.SmapGenVisitor.visit(Node.Expression n) voidSmapUtil.SmapGenVisitor.visit(Node.ForwardAction n) voidSmapUtil.SmapGenVisitor.visit(Node.GetProperty n) voidSmapUtil.SmapGenVisitor.visit(Node.IncludeAction n) voidSmapUtil.SmapGenVisitor.visit(Node.InvokeAction n) voidSmapUtil.SmapGenVisitor.visit(Node.JspBody n) voidSmapUtil.SmapGenVisitor.visit(Node.JspElement n) voidSmapUtil.SmapGenVisitor.visit(Node.JspText n) voidSmapUtil.SmapGenVisitor.visit(Node.NamedAttribute n) voidSmapUtil.SmapGenVisitor.visit(Node.PlugIn n) voidSmapUtil.SmapGenVisitor.visit(Node.Scriptlet n) voidSmapUtil.SmapGenVisitor.visit(Node.SetProperty n) voidSmapUtil.SmapGenVisitor.visit(Node.TemplateText n) voidSmapUtil.SmapGenVisitor.visit(Node.UninterpretedTag n) voidSmapUtil.SmapGenVisitor.visit(Node.UseBean n) voidTagFileProcessor.TagFileDirectiveVisitor.visit(Node.AttributeDirective n) voidTagFileProcessor.TagFileDirectiveVisitor.visit(Node.JspRoot n) voidTagFileProcessor.TagFileDirectiveVisitor.visit(Node.TagDirective n) voidTagFileProcessor.TagFileDirectiveVisitor.visit(Node.VariableDirective n) voidTagFileProcessor.TagFileLoaderVisitor.visit(Node.CustomTag n) voidTextOptimizer.TextCatVisitor.visit(Node.AttributeDirective n) voidTextOptimizer.TextCatVisitor.visit(Node.PageDirective n) voidTextOptimizer.TextCatVisitor.visit(Node.TagDirective n) voidTextOptimizer.TextCatVisitor.visit(Node.TaglibDirective n) voidTextOptimizer.TextCatVisitor.visit(Node.TemplateText n) voidTextOptimizer.TextCatVisitor.visit(Node.VariableDirective n) voidValidator.DirectiveVisitor.visit(Node.AttributeDirective n) voidValidator.DirectiveVisitor.visit(Node.IncludeDirective n) voidValidator.DirectiveVisitor.visit(Node.PageDirective n) voidValidator.DirectiveVisitor.visit(Node.TagDirective n) voidValidator.DirectiveVisitor.visit(Node.VariableDirective n) voidValidator.TagExtraInfoVisitor.visit(Node.CustomTag n) voidValidator.ValidateVisitor.visit(Node.CustomTag n) voidValidator.ValidateVisitor.visit(Node.Declaration n) voidValidator.ValidateVisitor.visit(Node.DoBodyAction n) voidValidator.ValidateVisitor.visit(Node.ELExpression n) voidValidator.ValidateVisitor.visit(Node.Expression n) voidValidator.ValidateVisitor.visit(Node.ForwardAction n) voidValidator.ValidateVisitor.visit(Node.GetProperty n) voidValidator.ValidateVisitor.visit(Node.IncludeAction n) voidValidator.ValidateVisitor.visit(Node.IncludeDirective n) voidValidator.ValidateVisitor.visit(Node.InvokeAction n) voidValidator.ValidateVisitor.visit(Node.JspBody n) voidValidator.ValidateVisitor.visit(Node.JspElement n) voidValidator.ValidateVisitor.visit(Node.JspOutput n) voidValidator.ValidateVisitor.visit(Node.JspRoot n) voidValidator.ValidateVisitor.visit(Node.NamedAttribute n) voidValidator.ValidateVisitor.visit(Node.ParamAction n) voidValidator.ValidateVisitor.visit(Node.ParamsAction n) voidValidator.ValidateVisitor.visit(Node.PlugIn n) voidValidator.ValidateVisitor.visit(Node.Scriptlet n) voidValidator.ValidateVisitor.visit(Node.SetProperty n) voidValidator.ValidateVisitor.visit(Node.TaglibDirective n) voidValidator.ValidateVisitor.visit(Node.UninterpretedTag n) voidValidator.ValidateVisitor.visit(Node.UseBean n) protected voidVisit the body of a node, using the current visitorvoidvoidConstructors in org.apache.jasper.compiler that throw JasperExceptionModifierConstructorDescriptionCompiler(JspCompilationContext ctxt, JspServletWrapper jsw, boolean jspcMode) (package private)DirectiveVisitor(Compiler compiler) ImplicitTagLibraryInfo(JspCompilationContext ctxt, ParserController pc, String prefix, String tagdir, ErrorDispatcher err) Constructor.JspReader(JspCompilationContext ctxt, String fname, String encoding, InputStreamReader reader, ErrorDispatcher err) JspReader(JspCompilationContext ctxt, String fname, String encoding, JarFile jarFile, ErrorDispatcher err) PageDataImpl(Node.Nodes page, Compiler compiler) Constructor.(package private)TagHandlerInfo(Node n, Class tagHandlerClass, ErrorDispatcher err) Constructor.TagLibraryInfoImpl(JspCompilationContext ctxt, ParserController pc, String prefix, String uriIn, String[] location, ErrorDispatcher err) Constructor which builds a TagLibraryInfoImpl by parsing a TLD. -
Uses of JasperException in org.apache.jasper.runtime
Methods in org.apache.jasper.runtime that throw JasperExceptionModifier and TypeMethodDescriptionstatic Objectstatic voidJspRuntimeLibrary.createTypedArray(String propertyName, Object bean, Method method, String[] values, Class t, Class propertyEditorClass) Create a typed array.String[]TldScanner.getLocation(String uri) Gets the 'location' of the TLD associated with the given taglib 'uri'.static MethodJspRuntimeLibrary.getReadMethod(Class beanClass, String prop) static ObjectJspRuntimeLibrary.getValueFromBeanInfoPropertyEditor(Class attrClass, String attrName, String attrValue, Class propertyEditorClass) static ObjectJspRuntimeLibrary.getValueFromPropertyEditorManager(Class attrClass, String attrName, String attrValue) static MethodJspRuntimeLibrary.getWriteMethod(Class beanClass, String prop) static ObjectJspRuntimeLibrary.handleGetProperty(Object o, String prop) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, boolean value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, byte value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, char value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, double value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, float value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, int value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, long value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, short value) static voidJspRuntimeLibrary.handleSetProperty(Object bean, String prop, Object value) static voidJspRuntimeLibrary.handleSetPropertyExpression(Object bean, String prop, 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 voidJspRuntimeLibrary.introspect(Object bean, javax.servlet.ServletRequest request) static voidJspRuntimeLibrary.introspecthelper(Object bean, String prop, String value, javax.servlet.ServletRequest request, String param, boolean ignoreMethodNF) private voidTldScanner.processTldsInFileSystem(String startPath) private voidTldScanner.scanJar(JarURLConnection conn, List<String> tldNames, boolean isLocal) Scans the given JarURLConnection for TLD files located in META-INF (or a subdirectory of it).private TldScanner.TldInfoTldScanner.scanTld(String resourcePath, String entryName, InputStream stream) Scan the given TLD for uri and listeners elements.private voidTldScanner.scanTlds()Scan the all the tlds accessible in the web app. -
Uses of JasperException in org.apache.jasper.servlet
Fields in org.apache.jasper.servlet declared as JasperExceptionMethods in org.apache.jasper.servlet with parameters of type JasperExceptionModifier and TypeMethodDescriptionvoidJspServletWrapper.setCompilationException(JasperException je) Sets the compilation exception for this JspServletWrapper.Methods in org.apache.jasper.servlet that throw JasperExceptionModifier and TypeMethodDescriptionJspServletWrapper.loadTagFile()Compile (if needed) and load a tag fileJspServletWrapper.loadTagFilePrototype()Compile and load a prototype for the Tag file.Constructors in org.apache.jasper.servlet that throw JasperExceptionModifierConstructorDescription(package private)JspServletWrapper(javax.servlet.ServletConfig config, Options options, String jspUri, boolean isErrorPage, JspRuntimeContext rctxt) JspServletWrapper(javax.servlet.ServletContext servletContext, Options options, String tagFilePath, javax.servlet.jsp.tagext.TagInfo tagInfo, JspRuntimeContext rctxt, URL tagFileJarUrl) -
Uses of JasperException in org.apache.jasper.xmlparser
Methods in org.apache.jasper.xmlparser that throw JasperExceptionModifier and TypeMethodDescriptionprivate voidXMLEncodingDetector.createInitialReader()private ReaderXMLEncodingDetector.createReader(InputStream inputStream, String encoding, Boolean isBigEndian) Creates a reader capable of reading the given input stream in the specified encoding.private Object[]XMLEncodingDetector.getEncoding(InputStream in, ErrorDispatcher err) static Object[]XMLEncodingDetector.getEncoding(String fname, JarFile jarFile, JspCompilationContext ctxt, ErrorDispatcher err) Autodetects the encoding of the XML document supplied by the given input stream.private static SchemaParserUtils.parseXMLDocument(String uri, InputStream is) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputStream is, boolean validate) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputSource is) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.ParserUtils.parseXMLDocument(String uri, InputSource is, boolean validate) Parse the specified XML document, and return aTreeNodethat corresponds to the root node of the document tree.private voidXMLEncodingDetector.reportFatalError(String msgId, String arg) Convenience function used in all XML scanners.private voidXMLEncodingDetector.scanPIData(String target, XMLString data) Scans a processing data.XMLEncodingDetector.scanPseudoAttribute(boolean scanningTextDecl, XMLString value) Scans a pseudo attribute.private booleanXMLEncodingDetector.scanSurrogates(XMLStringBuffer buf) Scans surrogates and append them to the specified buffer.private voidXMLEncodingDetector.scanXMLDecl()private voidXMLEncodingDetector.scanXMLDeclOrTextDecl(boolean scanningTextDecl) Scans an XML or text declaration.private voidXMLEncodingDetector.scanXMLDeclOrTextDecl(boolean scanningTextDecl, String[] pseudoAttributeValues) Scans an XML or text declaration.