Class PageInfo
java.lang.Object
org.apache.jasper.compiler.PageInfo
A repository for various info about the translation unit under compilation.
- Author:
- Kin-man Chung
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDependant(String d, Long lastModified) voidvoidaddImports(List<String> imports) voidvoidaddPrefixMapping(String prefix, String uri) voidaddTaglib(String uri, TagLibraryInfo info) booleancontainsPrefix(String prefix) intGets the value of the 'extends' page directive attribute.getExtends(boolean useDefault) Gets the value of the 'extends' page directive attribute.getInfo()getLanguage(boolean useDefault) getNonCustomTagPrefix(String prefix) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck if the plugin ID has been previously declared.booleanbooleanbooleanbooleanbooleanbooleanvoidpopPrefixMapping(String prefix) voidpushPrefixMapping(String prefix, String uri) voidputNonCustomTagPrefix(String prefix, Mark where) voidsetAutoFlush(String value, Node n, ErrorDispatcher err) voidsetBufferValue(String value, Node n, ErrorDispatcher err) voidsetContentType(String value) voidsetDeferredSyntaxAllowedAsLiteral(boolean isELDeferred) voidsetDeferredSyntaxAllowedAsLiteral(String value, Node n, ErrorDispatcher err, boolean pagedir) voidsetDoctypeName(String doctypeName) voidsetDoctypePublic(String doctypePublic) voidsetDoctypeSystem(String doctypeSystem) voidsetELIgnored(boolean s) voidsetErrorOnUndeclaredNamespace(boolean errorOnUndeclaredNamespace) voidsetErrorPage(String value) voidsetExtends(String value) voidsetHasJspRoot(boolean s) voidsetIncludeCoda(Collection<String> coda) voidsetIncludePrelude(Collection<String> prelude) voidvoidsetIsELIgnored(String value, Node n, ErrorDispatcher err, boolean pagedir) voidsetIsErrorPage(String value, Node n, ErrorDispatcher err) voidsetIsJspPrefixHijacked(boolean isHijacked) voidsetIsThreadSafe(String value, Node n, ErrorDispatcher err) voidsetLanguage(String value, Node n, ErrorDispatcher err, boolean pagedir) voidsetOmitXmlDecl(String omit) voidsetScriptingInvalid(boolean s) voidsetScriptless(boolean s) voidsetSession(String value, Node n, ErrorDispatcher err) voidsetTrimDirectiveWhitespaces(boolean trimDirectiveWhitespaces) voidsetTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) 
- 
Method Details- 
isTagFilepublic boolean isTagFile()
- 
isPluginDeclaredCheck 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
- 
addImport
- 
getImports
- 
getJspFile
- 
addDependant
- 
getDependants
- 
getBeanRepository
- 
setScriptlesspublic void setScriptless(boolean s) 
- 
isScriptlesspublic boolean isScriptless()
- 
setScriptingInvalidpublic void setScriptingInvalid(boolean s) 
- 
isScriptingInvalidpublic boolean isScriptingInvalid()
- 
getIncludePrelude
- 
setIncludePrelude
- 
getIncludeCoda
- 
setIncludeCoda
- 
setHasJspRootpublic void setHasJspRoot(boolean s) 
- 
hasJspRootpublic boolean hasJspRoot()
- 
getOmitXmlDecl
- 
setOmitXmlDecl
- 
getDoctypeName
- 
setDoctypeName
- 
getDoctypeSystem
- 
setDoctypeSystem
- 
getDoctypePublic
- 
setDoctypePublic
- 
setIsJspPrefixHijackedpublic void setIsJspPrefixHijacked(boolean isHijacked) 
- 
isJspPrefixHijackedpublic boolean isJspPrefixHijacked()
- 
addPrefix
- 
containsPrefix
- 
addTaglib
- 
getTaglib
- 
getTaglibs
- 
hasTaglib
- 
addPrefixMapping
- 
pushPrefixMapping
- 
popPrefixMapping
- 
getURI
- 
setLanguagepublic void setLanguage(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
- JasperException
 
- 
getLanguage
- 
setExtends
- 
getExtendsGets 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
 
- 
getExtendsGets 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
- 
getContentType
- 
setBufferValue- Throws:
- JasperException
 
- 
getBufferValue
- 
getBufferpublic int getBuffer()
- 
setSession- Throws:
- JasperException
 
- 
getSession
- 
isSessionpublic boolean isSession()
- 
setAutoFlush- Throws:
- JasperException
 
- 
getAutoFlush
- 
isAutoFlushpublic boolean isAutoFlush()
- 
setIsThreadSafe- Throws:
- JasperException
 
- 
getIsThreadSafe
- 
isThreadSafepublic boolean isThreadSafe()
- 
setInfo
- 
getInfo
- 
setErrorPage
- 
getErrorPage
- 
setIsErrorPage- Throws:
- JasperException
 
- 
getIsErrorPage
- 
isErrorPagepublic boolean isErrorPage()
- 
setIsELIgnoredpublic void setIsELIgnored(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
- JasperException
 
- 
setDeferredSyntaxAllowedAsLiteralpublic void setDeferredSyntaxAllowedAsLiteral(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
- JasperException
 
- 
setTrimDirectiveWhitespacespublic void setTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
- JasperException
 
- 
setELIgnoredpublic void setELIgnored(boolean s) 
- 
getIsELIgnored
- 
isELIgnoredpublic boolean isELIgnored()
- 
putNonCustomTagPrefix
- 
getNonCustomTagPrefix
- 
getDeferredSyntaxAllowedAsLiteral
- 
isDeferredSyntaxAllowedAsLiteralpublic boolean isDeferredSyntaxAllowedAsLiteral()
- 
setDeferredSyntaxAllowedAsLiteralpublic void setDeferredSyntaxAllowedAsLiteral(boolean isELDeferred) 
- 
getExpressionFactory
- 
getTrimDirectiveWhitespaces
- 
isTrimDirectiveWhitespacespublic boolean isTrimDirectiveWhitespaces()
- 
setTrimDirectiveWhitespacespublic void setTrimDirectiveWhitespaces(boolean trimDirectiveWhitespaces) 
- 
getVarInfoNames
- 
isErrorOnUndeclaredNamespacepublic boolean isErrorOnUndeclaredNamespace()
- 
setErrorOnUndeclaredNamespacepublic void setErrorOnUndeclaredNamespace(boolean errorOnUndeclaredNamespace) 
 
-