public class ParseState
extends java.lang.Object
Constructor and Description |
---|
ParseState()
Create a new parse state instance.
|
Modifier and Type | Method and Description |
---|---|
void |
addDepend(Path path)
Add a dependency.
|
void |
addImport(java.lang.String importString)
Adds an import string.
|
java.lang.String |
findPrefix(java.lang.String uri) |
int |
getBuffer()
Returns the buffer size in bytes.
|
JspBuilder |
getBuilder()
Gets the builder
|
java.lang.String |
getCharEncoding()
Gets the JSP's character encoding
|
java.lang.String |
getContentType()
Gets the JSP's content type
|
java.util.ArrayList<PersistentDependency> |
getDependList()
Returns the dependencies
|
java.lang.Boolean |
getELIgnoredDefault()
Set if JSP EL is ignored.
|
java.lang.String |
getErrorPage()
Gets the JSP's error page
|
java.lang.Class |
getExtends()
Returns the JSP's extends
|
java.util.ArrayList<java.lang.String> |
getImportList()
Returns the import list.
|
java.lang.String |
getInfo()
Returns the JSP's info string.
|
JspPropertyGroup |
getJspPropertyGroup()
Gets the JSP property group.
|
java.lang.String |
getJspVersion()
Set the version
|
LineMap |
getLineMap()
Returns the line map.
|
Namespace |
getNamespaces() |
java.lang.String |
getPageEncoding()
Gets the JSP's character encoding
|
QName |
getQName(java.lang.String name)
Returns the QName for the given name.
|
JspResourceManager |
getResourceManager()
Gets the resource manager.
|
java.lang.String |
getUriPwd()
Gets the URI pwd
|
Xml |
getXml() |
java.lang.String |
getXmlPageEncoding()
Gets the JSP's character encoding
|
boolean |
isAutoFlush()
Returns true if the autoFlush is enabled.
|
boolean |
isDeferredSyntaxAllowedAsLiteral()
Returns true if JSP whitespace is trimmed.
|
boolean |
isELIgnored()
Returns true if JSP EL is ignored.
|
boolean |
isELIgnoredPageSpecified() |
boolean |
isErrorPage()
Returns true if the errorPage is enabled.
|
boolean |
isForbidXml()
Returns true if parsing forbids XML
|
boolean |
isLocalScriptingInvalid() |
boolean |
isOptionalSession()
Returns true if the optional session is enabled.
|
boolean |
isPrintNullAsBlank()
Returns true if the print-null-as-blank is enabled.
|
boolean |
isPrototype() |
boolean |
isRecycleTags()
Returns true if recycle-tags is enabled.
|
boolean |
isScriptingInvalid()
Returns true if JSP scripting is invalid.
|
boolean |
isSession()
Returns true if the session is enabled.
|
boolean |
isTag()
Returns true if parsing is a tag
|
boolean |
isThreadSafe()
Returns true if the threadSafe is enabled.
|
boolean |
isTrimWhitespace()
Returns true if JSP whitespace is trimmed.
|
boolean |
isVelocityEnabled()
Returns true if Velocity statements are enabled.
|
boolean |
isXml()
Returns true if parsing is XML
|
void |
markAutoFlushSet()
Mark the thread safe attribute as set.
|
void |
markBufferSet()
Mark the buffer attribute as set.
|
void |
markErrorPage()
Mark the error page attribute as set.
|
void |
markSessionSet()
Mark the thread safe attribute as set.
|
void |
markThreadSafeSet()
Mark the thread safe attribute as set.
|
void |
popNamespace(java.lang.String prefix)
Pops a namespace.
|
void |
pushNamespace(java.lang.String prefix,
java.lang.String uri)
Pushes a namespace.
|
Path |
resolvePath(java.lang.String uri)
Resolves a path.
|
boolean |
setAutoFlush(boolean autoFlush)
Set if the autoFlush is enabled.
|
void |
setBom(int bom) |
boolean |
setBuffer(int buffer)
Set the buffer size.
|
void |
setBuilder(JspBuilder jspBuilder)
Sets the builder
|
void |
setCharEncoding(java.lang.String charEncoding)
Sets the JSP's character encoding
|
void |
setContentType(java.lang.String contentType)
Sets the JSP's content type
|
void |
setDeferredSyntaxAllowedAsLiteral(boolean trim)
Set true if JSP whitespace is trimmed.
|
void |
setELIgnored(boolean isELIgnored)
Set if JSP EL is ignored.
|
void |
setELIgnoredDefault(boolean isELIgnored)
Set if JSP EL is ignored.
|
void |
setELIgnoredPageSpecified(boolean ELIgnoredPageSpecified) |
boolean |
setErrorPage(boolean errorPage)
Set if the errorPage is enabled.
|
void |
setErrorPage(java.lang.String errorPage)
Sets the JSP's error page
|
void |
setExtends(java.lang.Class extendsValue)
Sets the JSP's extends
|
void |
setForbidXml(boolean isForbidXml)
Set if parsing forbids xml
|
void |
setInfo(java.lang.String info)
Sets the JSP's info string
|
void |
setJspPropertyGroup(JspPropertyGroup group)
Sets the JSP property group.
|
void |
setJspVersion(java.lang.String version)
Set the version
|
void |
setLocalScriptingInvalid(boolean isLocalScriptingInvalid) |
void |
setPageEncoding(java.lang.String pageEncoding)
Sets the JSP's page encoding
|
void |
setPrototype(boolean isPrototype) |
void |
setRecycleTags(boolean recycleTags)
Set if recycle-tags is enabled.
|
void |
setResourceManager(JspResourceManager resourceManager)
Sets the resource manager.
|
void |
setScriptingInvalid(boolean isScriptingInvalid)
Set if JSP scripting is ignored.
|
boolean |
setSession(boolean session)
Set if the session is enabled.
|
void |
setTag(boolean isTag)
Set if parsing a tag
|
boolean |
setThreadSafe(boolean threadSafe)
Set if the threadSafe is enabled.
|
void |
setTrimWhitespace(boolean trim)
Set true if JSP whitespace is trimmed.
|
void |
setUriPwd(java.lang.String uriPwd)
Sets the URI pwd
|
void |
setVelocityEnabled(boolean isVelocity)
Set if velocity statements are enabled.
|
void |
setXml(boolean isXml)
Set if parsing is xml
|
void |
setXml(Xml xml)
Sets the XML parser
|
void |
setXmlPageEncoding(java.lang.String pageEncoding) |
public void setJspPropertyGroup(JspPropertyGroup group)
public JspPropertyGroup getJspPropertyGroup()
public boolean isELIgnored()
public void setELIgnored(boolean isELIgnored)
public void setELIgnoredDefault(boolean isELIgnored)
public java.lang.Boolean getELIgnoredDefault()
public boolean isELIgnoredPageSpecified()
public void setELIgnoredPageSpecified(boolean ELIgnoredPageSpecified)
public boolean isScriptingInvalid()
public void setScriptingInvalid(boolean isScriptingInvalid)
public boolean isLocalScriptingInvalid()
public void setLocalScriptingInvalid(boolean isLocalScriptingInvalid)
public void setVelocityEnabled(boolean isVelocity)
public boolean isVelocityEnabled()
public boolean isSession()
public boolean isOptionalSession()
public boolean setSession(boolean session)
public void markSessionSet()
public boolean isAutoFlush()
public boolean setAutoFlush(boolean autoFlush)
public void markAutoFlushSet()
public boolean isThreadSafe()
public boolean setThreadSafe(boolean threadSafe)
public void markThreadSafeSet()
public boolean setErrorPage(boolean errorPage)
public boolean isErrorPage()
public void markErrorPage()
public int getBuffer()
public boolean setBuffer(int buffer)
public void markBufferSet()
public void setErrorPage(java.lang.String errorPage)
public java.lang.String getErrorPage()
public void setContentType(java.lang.String contentType)
public java.lang.String getContentType()
public void setXml(Xml xml)
public Xml getXml()
public void setCharEncoding(java.lang.String charEncoding) throws JspParseException
JspParseException
public java.lang.String getCharEncoding()
public void setXmlPageEncoding(java.lang.String pageEncoding) throws JspParseException
JspParseException
public void setPageEncoding(java.lang.String pageEncoding) throws JspParseException
JspParseException
public void setBom(int bom)
public java.lang.String getPageEncoding()
public java.lang.String getXmlPageEncoding()
public java.lang.String getInfo()
public void setInfo(java.lang.String info)
public java.lang.Class getExtends()
public void setExtends(java.lang.Class extendsValue)
public boolean isTag()
public void setTag(boolean isTag)
public boolean isXml()
public void setXml(boolean isXml)
public boolean isForbidXml()
public void setForbidXml(boolean isForbidXml)
public boolean isPrintNullAsBlank()
public boolean isTrimWhitespace()
public void setTrimWhitespace(boolean trim)
public boolean isDeferredSyntaxAllowedAsLiteral()
public void setDeferredSyntaxAllowedAsLiteral(boolean trim)
public void setJspVersion(java.lang.String version)
public java.lang.String getJspVersion()
public JspResourceManager getResourceManager()
public void setResourceManager(JspResourceManager resourceManager)
public JspBuilder getBuilder()
public void setBuilder(JspBuilder jspBuilder)
public void addImport(java.lang.String importString) throws JspParseException
JspParseException
public java.util.ArrayList<java.lang.String> getImportList()
public void setUriPwd(java.lang.String uriPwd)
public java.lang.String getUriPwd()
public LineMap getLineMap()
public void addDepend(Path path)
public java.util.ArrayList<PersistentDependency> getDependList()
public Path resolvePath(java.lang.String uri)
uri
- the uri for the pathpublic void setRecycleTags(boolean recycleTags)
public boolean isRecycleTags()
public QName getQName(java.lang.String name)
public Namespace getNamespaces()
public void pushNamespace(java.lang.String prefix, java.lang.String uri)
public void popNamespace(java.lang.String prefix)
public java.lang.String findPrefix(java.lang.String uri)
public boolean isPrototype()
public void setPrototype(boolean isPrototype)