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 class
Represents an attribute directivestatic class
Used as a placeholder for the evaluation code of a custom action attribute (used by the tag plugin machinery only).static class
Represents a Jsp comment Comments are kept for completeness.static class
Represents a custom tagstatic class
Represents a declarationstatic class
Represents a invalid input: '<'jsp:doBody> tag file actionstatic class
Represents an EL expression.static class
Represents an expression.static class
Represents a fallback actionstatic class
Represents a forward actionstatic class
Represents a getProperty actionstatic class
Represents an include actionstatic class
Represents an include directivestatic class
Represents a invalid input: '<'jsp:invoke> tag file actionstatic class
Represents a JspBody node (<jsp:body>)static class
Represents a invalid input: '<'jsp:element>.static class
Represents a invalid input: '<'jsp:output>.static class
Represents the root of a Jsp document (XML syntax)static class
Represents the body of a <jsp:text> elementstatic class
Represents a Named Attribute (<jsp:attribute>)static class
Represents a page directivestatic class
Represents a param actionstatic class
Represents a params actionstatic class
Represents a plugin actionstatic class
Represents the root of a Jsp page or Jsp documentstatic class
Represents an expression, declaration, or scriptletstatic class
Represents a scriptletstatic class
Represents a setProperty actionstatic class
Represents a tag directivestatic class
Represents a custom taglib directivestatic class
Represents a template text stringstatic class
Represents an uninterpreted tag, from a Jsp documentstatic class
Represents a useBean actionstatic class
Represents a variable directiveFields in org.apache.jasper.compiler declared as NodeModifier and TypeFieldDescriptionprivate Node
JspDocumentParser.current
(package private) Node
ErrorDispatcher.ErrorVisitor.found
private Node
Generator.GenBuffer.node
private Node
TagFileProcessor.TagFileDirectiveVisitor.NameEntry.node
protected Node
Node.parent
private Node
JspDocumentParser.scriptlessBodyNode
Fields 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) Node
TagFileProcessor.TagFileDirectiveVisitor.NameEntry.getNode()
Node.getParent()
private Node
JspDocumentParser.parseCustomAction
(String qName, String localName, String uri, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) private Node
JspDocumentParser.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 TypeMethodDescriptionvoid
Appends a node to the listprivate void
JspDocumentParser.addInclude
(Node parent, List files) private void
Parser.addInclude
(Node parent, List files) Add a list of files.private void
Node.addToParent
(Node parent) private static void
Generator.GenBuffer.adjustJavaLine
(Node n, int offset) private void
private void
static void
JspUtil.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 String
TagFileProcessor.TagFileDirectiveVisitor.checkConflict
(Node n, String oldAttrValue, String attr) static void
JspUtil.checkScope
(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
TagFileProcessor.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 void
TagFileProcessor.TagFileDirectiveVisitor.checkUniqueName
(String name, TagFileProcessor.TagFileDirectiveVisitor.Name type, Node n, javax.servlet.jsp.tagext.TagAttributeInfo attr) private Node.Nodes
Parses the JSP page or tag file with the given path name.private void
private void
private void
SmapUtil.SmapGenVisitor.doSmapText
(Node n) void
protected void
This method provides a place to put actions that are common to all nodes.void
void
static void
private void
private Node.JspBody
Generator.GenerateVisitor.findJspBody
(Node parent) Finds the invalid input: '<'jsp:body> subelement of the given parent node.private String
private void
Generator.GenerateVisitor.generateJspFragment
(Node n, 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) private String
Parser.getAttributeBodyType
(Node n, String name) Determine the body type of invalid input: '<'jsp:attribute> from the enclosing nodeprivate Node.JspAttribute
Validator.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 String
Validator.ValidateVisitor.getLiteral
(Node n, String value) private boolean
JspDocumentParser.isTagDependent
(Node n) void
void
void
Generator.FragmentHelperClass.openFragment
(Node parent, String tagHandlerVar, int methodNesting) static Node.Nodes
JspDocumentParser.parse
(ParserController pc, String path, JarFile jarFile, Node parent, boolean isTagFile, boolean directivesOnly, String pageEnc, String jspConfigPageEnc, boolean isEncodingSpecifiedInProlog) static Node.Nodes
Parser.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 void
Parser.parseAttributeDirective
(Node parent) private void
private void
Parser.parseComment
(Node parent) private Node
JspDocumentParser.parseCustomAction
(String qName, String localName, String uri, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, 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, String typeEL) private void
Parser.parseEmptyBody
(Node parent, 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
Parser.parseInclude
(Node parent) private void
Parser.parseIncludeDirective
(Node parent) private void
Parser.parseInvoke
(Node parent) private boolean
Parser.parseJspAttributeAndBody
(Node parent, String tag, String bodyType) Attempts to parse 'JspAttributeAndBody' production.private void
Parser.parseJspBody
(Node parent, String bodyType) private void
Parser.parseJspParams
(Node parent) private void
Parser.parseNamedAttributes
(Node parent) private void
Parser.parseOptionalBody
(Node parent, String tag, String bodyType) private void
Parser.parsePageDirective
(Node parent) private void
Parser.parseParam
(Node parent) Param ::= 'invalid input: '<'jsp:param' S Attributes S? EmptyBody S?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 Node
JspDocumentParser.parseStandardAction
(String qName, String localName, Attributes nonTaglibAttrs, Attributes nonTaglibXmlnsAttrs, Attributes taglibAttrs, Mark start, Node parent) private void
Parser.parseStandardAction
(Node parent) private void
Parser.parseTagDependentBody
(Node parent, String tag) TagDependentBody :=private void
Parser.parseTagDirective
(Node parent) private void
Parser.parseTagFileDirectives
(Node parent) private void
Parser.parseTaglibDirective
(Node parent) private void
Parser.parseTemplateText
(Node parent) 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) private void
Generator.GenerateVisitor.prepareParams
(Node parent) Scans through all child nodes of the given parent for subelements.private void
PageDataImpl.SecondPassVisitor.printAttributes
(Node n, boolean addDefaultNS) private void
Generator.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 void
JspDocumentParser.processIncludeDirective
(String fname, Node parent) private void
Parser.processIncludeDirective
(String file, Node parent) void
Removes the given node from the list.void
PageInfo.setAutoFlush
(String value, Node n, ErrorDispatcher err) void
PageInfo.setBufferValue
(String value, Node n, ErrorDispatcher err) void
PageInfo.setDeferredSyntaxAllowedAsLiteral
(String value, Node n, ErrorDispatcher err, boolean pagedir) void
PageInfo.setIsELIgnored
(String value, Node n, ErrorDispatcher err, boolean pagedir) void
PageInfo.setIsErrorPage
(String value, Node n, ErrorDispatcher err) void
PageInfo.setIsThreadSafe
(String value, Node n, ErrorDispatcher err) void
PageInfo.setLanguage
(String value, Node n, ErrorDispatcher err, boolean pagedir) void
PageInfo.setSession
(String value, Node n, ErrorDispatcher err) void
PageInfo.setTrimDirectiveWhitespaces
(String value, Node n, ErrorDispatcher err, boolean pagedir) private void
Validator.ValidateVisitor.throwErrorIfExpression
(Node n, String attrName, String actionName) private void
Validator.ValidateVisitor.validateFunctions
(ELNode.Nodes el, Node n) Validate functions in EL expressionsprotected void
Visit the body of a node, using the current visitorvoid
void
Constructors 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)