useEditorVersion If true, takes the data from the editor; otherwise
from the disk.
protected FileObject
wmRoot The base FileObject (document root) for this context.
Constructor Summary
public
ParserServletContext(FileObject wmRoot, WebModuleProvider WebModuleProvider, boolean useEditor) Create a new instance of this ServletContext implementation.
The base FileObject (document root) for this context.
Constructor Detail
ParserServletContext
public ParserServletContext(FileObject wmRoot, WebModuleProvider WebModuleProvider, boolean useEditor)(Code)
Create a new instance of this ServletContext implementation.
Parameters: wmRoot - Resource base FileObject Parameters: wm - JspParserAPI.WebModule in which we are parsing the file - this is used tofind the editor for objects which are open in the editor
Return a URL object of a resource that is mapped to the
specified context-relative path.
Parameters: path - Context-relative path of the desired resource exception: MalformedURLException - if the resource path isnot properly formed
Return an InputStream allowing access to the resource at the
specified context-relative path.
Parameters: path - Context-relative path of the desired resource
Set or replace the specified context attribute.
Parameters: name - Name of the context attribute to set Parameters: value - Corresponding attribute value