Uses of Class
org.apache.jasper.compiler.Node
Packages that use Node
-
Uses of Node in org.apache.jasper.compiler
Subclasses of Node in org.apache.jasper.compilerModifier and TypeClassDescriptionstatic classRepresents an attribute directivestatic classUsed as a placeholder for the evaluation code of a custom action attribute (used by the tag plugin machinery only).static classRepresents a Jsp comment Comments are kept for completeness.static classRepresents a custom tagstatic classRepresents a declarationstatic classRepresents a invalid input: '<'jsp:doBody> tag file actionstatic classRepresents an EL expression.static classRepresents an expression.static classRepresents a fallback actionstatic classRepresents a forward actionstatic classRepresents a getProperty actionstatic classRepresents an include actionstatic classRepresents an include directivestatic classRepresents a invalid input: '<'jsp:invoke> tag file actionstatic classRepresents a JspBody node (<jsp:body>)static classRepresents a invalid input: '<'jsp:element>.static classRepresents a invalid input: '<'jsp:output>.static classRepresents the root of a Jsp document (XML syntax)static classRepresents the body of a <jsp:text> elementstatic classRepresents a Named Attribute (<jsp:attribute>)static classRepresents a page directivestatic classRepresents a param actionstatic classRepresents a params actionstatic classRepresents a plugin actionstatic classRepresents the root of a Jsp page or Jsp documentstatic classRepresents an expression, declaration, or scriptletstatic classRepresents a scriptletstatic classRepresents a setProperty actionstatic classRepresents a tag directivestatic classRepresents a custom taglib directivestatic classRepresents a template text stringstatic classRepresents an uninterpreted tag, from a Jsp documentstatic classRepresents a useBean actionstatic classRepresents a variable directiveFields in org.apache.jasper.compiler declared as NodeModifier and TypeFieldDescriptionprivate NodeJspDocumentParser.current(package private) NodeErrorDispatcher.ErrorVisitor.foundprivate NodeGenerator.GenBuffer.nodeprivate NodeTagFileProcessor.TagFileDirectiveVisitor.NameEntry.nodeprotected NodeNode.parentprivate NodeJspDocumentParser.scriptlessBodyNodeFields in org.apache.jasper.compiler with type parameters of type NodeMethods in org.apache.jasper.compiler that return NodeModifier and TypeMethodDescriptionErrorDispatcher.ErrorVisitor.getJspSourceNode()Node.Nodes.getNode(int index) (package private) NodeTagFileProcessor.TagFileDirectiveVisitor.NameEntry.getNode()Node.getParent()private NodeJspDocumentParser.parseCustomAction(String qName, String localName, String uri, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) private NodeJspDocumentParser.parseStandardAction(String qName, String localName, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) Methods in org.apache.jasper.compiler with parameters of type NodeModifier and TypeMethodDescriptionvoidAppends a node to the listprivate voidJspDocumentParser.addInclude(Node parent, List files) private voidParser.addInclude(Node parent, List files) Add a list of files.private voidNode.addToParent(Node parent) private static voidGenerator.GenBuffer.adjustJavaLine(Node n, int offset) private voidprivate voidstatic 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) 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 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 Node.NodesParses the JSP page or tag file with the given path name.private voidprivate voidprivate voidSmapUtil.SmapGenVisitor.doSmapText(Node n) voidprotected voidThis method provides a place to put actions that are common to all nodes.voidvoidstatic voidprivate voidprivate Node.JspBodyGenerator.GenerateVisitor.findJspBody(Node parent) Finds the invalid input: '<'jsp:body> subelement of the given parent node.private Stringprivate 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) private StringParser.getAttributeBodyType(Node n, String name) Determine the body type of invalid input: '<'jsp:attribute> from the enclosing nodeprivate 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 StringValidator.ValidateVisitor.getLiteral(Node n, String value) private booleanJspDocumentParser.isTagDependent(Node n) voidvoidvoidGenerator.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 ParserProcesses an include directive with the given path.private voidParser.parseAttributeDirective(Node parent) private voidprivate voidParser.parseComment(Node parent) private NodeJspDocumentParser.parseCustomAction(String qName, String localName, String uri, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, 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 voidParser.parseInclude(Node parent) private voidParser.parseIncludeDirective(Node parent) private voidParser.parseInvoke(Node parent) 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 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 NodeJspDocumentParser.parseStandardAction(String qName, String localName, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, 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) private voidParser.parseTaglibDirective(Node parent) private voidParser.parseTemplateText(Node parent) 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) private voidGenerator.GenerateVisitor.prepareParams(Node parent) Scans through all child nodes of the given parent for subelements.private voidPageDataImpl.SecondPassVisitor.printAttributes(Node n, boolean addDefaultNS) 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 voidJspDocumentParser.processIncludeDirective(String fname, Node parent) private voidParser.processIncludeDirective(String file, Node parent) voidRemoves the given node from the list.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) voidPageInfo.setSession(String value, Node n, ErrorDispatcher err) voidPageInfo.setTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) private voidValidator.ValidateVisitor.throwErrorIfExpression(Node n, String attrName, String actionName) private voidValidator.ValidateVisitor.validateFunctions(ELNode.Nodes el, Node n) Validate functions in EL expressionsprotected voidVisit the body of a node, using the current visitorvoidvoidConstructors in org.apache.jasper.compiler with parameters of type NodeModifierConstructorDescriptionAttributeDirective(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) AttributeDirective(Attributes attrs, Mark start, Node parent) CustomTag(String jspVersion, String qName, String prefix, String localName, String uri, Attributes attrs, Mark start, Node parent, javax.servlet.jsp.tagext.TagFileInfo tagFileInfo) CustomTag(String jspVersion, String qName, String prefix, String localName, String uri, Attributes attrs, Mark start, Node parent, javax.servlet.jsp.tagext.TagInfo tagInfo, Class tagHandlerClass) CustomTag(String jspVersion, String qName, String prefix, String localName, String uri, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent, javax.servlet.jsp.tagext.TagFileInfo tagFileInfo) CustomTag(String jspVersion, String qName, String prefix, String localName, String uri, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent, javax.servlet.jsp.tagext.TagInfo tagInfo, Class tagHandlerClass) Declaration(String text, Mark start, Node parent) Declaration(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) DoBodyAction(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) DoBodyAction(Attributes attrs, Mark start, Node parent) ELExpression(String text, Mark start, Node parent) Expression(String text, Mark start, Node parent) Expression(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) FallBackAction(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) FallBackAction(Mark start, Node parent) ForwardAction(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) ForwardAction(Attributes attrs, Mark start, Node parent) (package private)GenBuffer(Node n, Node.Nodes b) GetProperty(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) GetProperty(Attributes attrs, Mark start, Node parent) IncludeAction(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) IncludeAction(Attributes attrs, Mark start, Node parent) IncludeDirective(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) IncludeDirective(Attributes attrs, Mark start, Node parent) InvokeAction(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) InvokeAction(Attributes attrs, Mark start, Node parent) JspBody(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) JspElement(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) JspElement(Attributes attrs, Mark start, Node parent) JspOutput(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) JspRoot(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) JspText(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) NamedAttribute(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) NamedAttribute(Attributes attrs, Mark start, Node parent) (package private)NameEntry(TagFileProcessor.TagFileDirectiveVisitor.Name type, Node node, javax.servlet.jsp.tagext.TagAttributeInfo attr) Constructor.Constructor for Nodes parsed from standard syntax.Node(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) Constructor for Nodes parsed from XML syntax.Constructor.PageDirective(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) PageDirective(Attributes attrs, Mark start, Node parent) ParamAction(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) ParamAction(Attributes attrs, Mark start, Node parent) ParamsAction(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) ParamsAction(Mark start, Node parent) PlugIn(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) PlugIn(Attributes attrs, Mark start, Node parent) (package private)ScriptingElement(String qName, String localName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) Scriptlet(String qName, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) SetProperty(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) SetProperty(Attributes attrs, Mark start, Node parent) TagDirective(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) TagDirective(Attributes attrs, Mark start, Node parent) (package private)TagHandlerInfo(Node n, Class tagHandlerClass, ErrorDispatcher err) Constructor.TaglibDirective(Attributes attrs, Mark start, Node parent) TemplateText(String text, Mark start, Node parent) UninterpretedTag(String qName, String localName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) UseBean(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) UseBean(Attributes attrs, Mark start, Node parent) VariableDirective(String qName, Attributes attrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) VariableDirective(Attributes attrs, Mark start, Node parent)