Class PageInfo

java.lang.Object
org.apache.jasper.compiler.PageInfo

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

    • isTagFile Link icon

      public boolean isTagFile()
    • isPluginDeclared Link icon

      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 Link icon

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

      public void addImport(String imp)
    • getImports Link icon

      public List<String> getImports()
    • getJspFile Link icon

      public String getJspFile()
    • addDependant Link icon

      public void addDependant(String d, Long lastModified)
    • getDependants Link icon

      public Map<String,Long> getDependants()
    • getBeanRepository Link icon

      public BeanRepository getBeanRepository()
    • setScriptless Link icon

      public void setScriptless(boolean s)
    • isScriptless Link icon

      public boolean isScriptless()
    • setScriptingInvalid Link icon

      public void setScriptingInvalid(boolean s)
    • isScriptingInvalid Link icon

      public boolean isScriptingInvalid()
    • getIncludePrelude Link icon

      public Collection<String> getIncludePrelude()
    • setIncludePrelude Link icon

      public void setIncludePrelude(Collection<String> prelude)
    • getIncludeCoda Link icon

      public Collection<String> getIncludeCoda()
    • setIncludeCoda Link icon

      public void setIncludeCoda(Collection<String> coda)
    • setHasJspRoot Link icon

      public void setHasJspRoot(boolean s)
    • hasJspRoot Link icon

      public boolean hasJspRoot()
    • getOmitXmlDecl Link icon

      public String getOmitXmlDecl()
    • setOmitXmlDecl Link icon

      public void setOmitXmlDecl(String omit)
    • getDoctypeName Link icon

      public String getDoctypeName()
    • setDoctypeName Link icon

      public void setDoctypeName(String doctypeName)
    • getDoctypeSystem Link icon

      public String getDoctypeSystem()
    • setDoctypeSystem Link icon

      public void setDoctypeSystem(String doctypeSystem)
    • getDoctypePublic Link icon

      public String getDoctypePublic()
    • setDoctypePublic Link icon

      public void setDoctypePublic(String doctypePublic)
    • setIsJspPrefixHijacked Link icon

      public void setIsJspPrefixHijacked(boolean isHijacked)
    • isJspPrefixHijacked Link icon

      public boolean isJspPrefixHijacked()
    • addPrefix Link icon

      public void addPrefix(String prefix)
    • containsPrefix Link icon

      public boolean containsPrefix(String prefix)
    • addTaglib Link icon

      public void addTaglib(String uri, TagLibraryInfo info)
    • getTaglib Link icon

      public TagLibraryInfo getTaglib(String uri)
    • getTaglibs Link icon

      public Collection<TagLibraryInfo> getTaglibs()
    • hasTaglib Link icon

      public boolean hasTaglib(String uri)
    • addPrefixMapping Link icon

      public void addPrefixMapping(String prefix, String uri)
    • pushPrefixMapping Link icon

      public void pushPrefixMapping(String prefix, String uri)
    • popPrefixMapping Link icon

      public void popPrefixMapping(String prefix)
    • getURI Link icon

      public String getURI(String prefix)
    • setLanguage Link icon

      public void setLanguage(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException
      Throws:
      JasperException
    • getLanguage Link icon

      public String getLanguage(boolean useDefault)
    • setExtends Link icon

      public void setExtends(String value)
    • getExtends Link icon

      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 Link icon

      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 Link icon

      public void setContentType(String value)
    • getContentType Link icon

      public String getContentType()
    • setBufferValue Link icon

      public void setBufferValue(String value, Node n, ErrorDispatcher err) throws JasperException
      Throws:
      JasperException
    • getBufferValue Link icon

      public String getBufferValue()
    • getBuffer Link icon

      public int getBuffer()
    • setSession Link icon

      public void setSession(String value, Node n, ErrorDispatcher err) throws JasperException
      Throws:
      JasperException
    • getSession Link icon

      public String getSession()
    • isSession Link icon

      public boolean isSession()
    • setAutoFlush Link icon

      public void setAutoFlush(String value, Node n, ErrorDispatcher err) throws JasperException
      Throws:
      JasperException
    • getAutoFlush Link icon

      public String getAutoFlush()
    • isAutoFlush Link icon

      public boolean isAutoFlush()
    • setIsThreadSafe Link icon

      public void setIsThreadSafe(String value, Node n, ErrorDispatcher err) throws JasperException
      Throws:
      JasperException
    • getIsThreadSafe Link icon

      public String getIsThreadSafe()
    • isThreadSafe Link icon

      public boolean isThreadSafe()
    • setInfo Link icon

      public void setInfo(String value)
    • getInfo Link icon

      public String getInfo()
    • setErrorPage Link icon

      public void setErrorPage(String value)
    • getErrorPage Link icon

      public String getErrorPage()
    • setIsErrorPage Link icon

      public void setIsErrorPage(String value, Node n, ErrorDispatcher err) throws JasperException
      Throws:
      JasperException
    • getIsErrorPage Link icon

      public String getIsErrorPage()
    • isErrorPage Link icon

      public boolean isErrorPage()
    • setIsELIgnored Link icon

      public void setIsELIgnored(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException
      Throws:
      JasperException
    • setDeferredSyntaxAllowedAsLiteral Link icon

      public void setDeferredSyntaxAllowedAsLiteral(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException
      Throws:
      JasperException
    • setTrimDirectiveWhitespaces Link icon

      public void setTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException
      Throws:
      JasperException
    • setELIgnored Link icon

      public void setELIgnored(boolean s)
    • getIsELIgnored Link icon

      public String getIsELIgnored()
    • isELIgnored Link icon

      public boolean isELIgnored()
    • putNonCustomTagPrefix Link icon

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

      public Mark getNonCustomTagPrefix(String prefix)
    • getDeferredSyntaxAllowedAsLiteral Link icon

      public String getDeferredSyntaxAllowedAsLiteral()
    • isDeferredSyntaxAllowedAsLiteral Link icon

      public boolean isDeferredSyntaxAllowedAsLiteral()
    • setDeferredSyntaxAllowedAsLiteral Link icon

      public void setDeferredSyntaxAllowedAsLiteral(boolean isELDeferred)
    • getExpressionFactory Link icon

      public ExpressionFactory getExpressionFactory()
    • getTrimDirectiveWhitespaces Link icon

      public String getTrimDirectiveWhitespaces()
    • isTrimDirectiveWhitespaces Link icon

      public boolean isTrimDirectiveWhitespaces()
    • setTrimDirectiveWhitespaces Link icon

      public void setTrimDirectiveWhitespaces(boolean trimDirectiveWhitespaces)
    • getVarInfoNames Link icon

      public Set<String> getVarInfoNames()
    • isErrorOnUndeclaredNamespace Link icon

      public boolean isErrorOnUndeclaredNamespace()
    • setErrorOnUndeclaredNamespace Link icon

      public void setErrorOnUndeclaredNamespace(boolean errorOnUndeclaredNamespace)