Class PageInfo


  • public class PageInfo
    extends Object
    A repository for various info about the translation unit under compilation.
    Author:
    Kin-man Chung
    • Method Detail

      • isTagFile

        public boolean isTagFile()
      • isPluginDeclared

        public boolean isPluginDeclared​(String id)
        Check if the plugin ID has been previously declared. Make a note that this Id is now declared.
        Parameters:
        id - The plugin ID to check
        Returns:
        true if Id has been declared.
      • addImports

        public void addImports​(List<String> imports)
      • addImport

        public void addImport​(String imp)
      • getJspFile

        public String getJspFile()
      • addDependant

        public void addDependant​(String d,
                                 Long lastModified)
      • setScriptless

        public void setScriptless​(boolean s)
      • isScriptless

        public boolean isScriptless()
      • setScriptingInvalid

        public void setScriptingInvalid​(boolean s)
      • isScriptingInvalid

        public boolean isScriptingInvalid()
      • setIncludePrelude

        public void setIncludePrelude​(Collection<String> prelude)
      • setHasJspRoot

        public void setHasJspRoot​(boolean s)
      • hasJspRoot

        public boolean hasJspRoot()
      • getOmitXmlDecl

        public String getOmitXmlDecl()
      • setOmitXmlDecl

        public void setOmitXmlDecl​(String omit)
      • getDoctypeName

        public String getDoctypeName()
      • setDoctypeName

        public void setDoctypeName​(String doctypeName)
      • getDoctypeSystem

        public String getDoctypeSystem()
      • setDoctypeSystem

        public void setDoctypeSystem​(String doctypeSystem)
      • getDoctypePublic

        public String getDoctypePublic()
      • setDoctypePublic

        public void setDoctypePublic​(String doctypePublic)
      • setIsJspPrefixHijacked

        public void setIsJspPrefixHijacked​(boolean isHijacked)
      • isJspPrefixHijacked

        public boolean isJspPrefixHijacked()
      • addPrefix

        public void addPrefix​(String prefix)
      • containsPrefix

        public boolean containsPrefix​(String prefix)
      • hasTaglib

        public boolean hasTaglib​(String uri)
      • addPrefixMapping

        public void addPrefixMapping​(String prefix,
                                     String uri)
      • pushPrefixMapping

        public void pushPrefixMapping​(String prefix,
                                      String uri)
      • popPrefixMapping

        public void popPrefixMapping​(String prefix)
      • getLanguage

        public String getLanguage​(boolean useDefault)
      • setExtends

        public void setExtends​(String value)
      • getExtends

        public String getExtends​(boolean useDefault)
        Gets the value of the 'extends' page directive attribute.
        Parameters:
        useDefault - TRUE if the default (org.apache.jasper.runtime.HttpJspBase) should be returned if this attribute has not been set, FALSE otherwise
        Returns:
        The value of the 'extends' page directive attribute, or the default (org.apache.jasper.runtime.HttpJspBase) if this attribute has not been set and useDefault is TRUE
      • getExtends

        public String getExtends()
        Gets the value of the 'extends' page directive attribute.
        Returns:
        The value of the 'extends' page directive attribute, or the default (org.apache.jasper.runtime.HttpJspBase) if this attribute has not been set
      • setContentType

        public void setContentType​(String value)
      • getContentType

        public String getContentType()
      • getBufferValue

        public String getBufferValue()
      • getBuffer

        public int getBuffer()
      • getSession

        public String getSession()
      • isSession

        public boolean isSession()
      • getAutoFlush

        public String getAutoFlush()
      • isAutoFlush

        public boolean isAutoFlush()
      • getIsThreadSafe

        public String getIsThreadSafe()
      • isThreadSafe

        public boolean isThreadSafe()
      • setInfo

        public void setInfo​(String value)
      • getInfo

        public String getInfo()
      • setErrorPage

        public void setErrorPage​(String value)
      • getErrorPage

        public String getErrorPage()
      • getIsErrorPage

        public String getIsErrorPage()
      • isErrorPage

        public boolean isErrorPage()
      • setELIgnored

        public void setELIgnored​(boolean s)
      • getIsELIgnored

        public String getIsELIgnored()
      • isELIgnored

        public boolean isELIgnored()
      • putNonCustomTagPrefix

        public void putNonCustomTagPrefix​(String prefix,
                                          Mark where)
      • getNonCustomTagPrefix

        public Mark getNonCustomTagPrefix​(String prefix)
      • getDeferredSyntaxAllowedAsLiteral

        public String getDeferredSyntaxAllowedAsLiteral()
      • isDeferredSyntaxAllowedAsLiteral

        public boolean isDeferredSyntaxAllowedAsLiteral()
      • setDeferredSyntaxAllowedAsLiteral

        public void setDeferredSyntaxAllowedAsLiteral​(boolean isELDeferred)
      • getTrimDirectiveWhitespaces

        public String getTrimDirectiveWhitespaces()
      • isTrimDirectiveWhitespaces

        public boolean isTrimDirectiveWhitespaces()
      • setTrimDirectiveWhitespaces

        public void setTrimDirectiveWhitespaces​(boolean trimDirectiveWhitespaces)
      • getVarInfoNames

        public Set<String> getVarInfoNames()
      • isErrorOnUndeclaredNamespace

        public boolean isErrorOnUndeclaredNamespace()
      • setErrorOnUndeclaredNamespace

        public void setErrorOnUndeclaredNamespace​(boolean errorOnUndeclaredNamespace)