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 Summary
Modifier 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) booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck if the plugin ID has been previously declared.booleanbooleanbooleanbooleanbooleanvoidpopPrefixMapping(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) voidsetErrorOnELNotFound(boolean s) voidsetErrorOnELNotFound(String value, Node n, ErrorDispatcher err, boolean pagedir) 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) 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
-
isTagFile
public boolean isTagFile() -
isPluginDeclared
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
-
addImport
-
getImports
-
getJspFile
-
addDependant
-
getDependants
-
getBeanRepository
-
setScriptless
public void setScriptless(boolean s) -
isScriptless
public boolean isScriptless() -
setScriptingInvalid
public void setScriptingInvalid(boolean s) -
isScriptingInvalid
public boolean isScriptingInvalid() -
getIncludePrelude
-
setIncludePrelude
-
getIncludeCoda
-
setIncludeCoda
-
setHasJspRoot
public void setHasJspRoot(boolean s) -
hasJspRoot
public boolean hasJspRoot() -
getOmitXmlDecl
-
setOmitXmlDecl
-
getDoctypeName
-
setDoctypeName
-
getDoctypeSystem
-
setDoctypeSystem
-
getDoctypePublic
-
setDoctypePublic
-
setIsJspPrefixHijacked
public void setIsJspPrefixHijacked(boolean isHijacked) -
isJspPrefixHijacked
public boolean isJspPrefixHijacked() -
addPrefix
-
containsPrefix
-
addTaglib
-
getTaglib
-
getTaglibs
-
hasTaglib
-
addPrefixMapping
-
pushPrefixMapping
-
popPrefixMapping
-
getURI
-
setLanguage
public void setLanguage(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
getLanguage
-
setExtends
-
getExtends
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
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
-
getContentType
-
setBufferValue
- Throws:
JasperException
-
getBufferValue
-
getBuffer
public int getBuffer() -
setSession
- Throws:
JasperException
-
getSession
-
isSession
public boolean isSession() -
setAutoFlush
- Throws:
JasperException
-
getAutoFlush
-
isAutoFlush
public boolean isAutoFlush() -
setInfo
-
getInfo
-
setErrorPage
-
getErrorPage
-
setIsErrorPage
- Throws:
JasperException
-
getIsErrorPage
-
isErrorPage
public boolean isErrorPage() -
setIsELIgnored
public void setIsELIgnored(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setErrorOnELNotFound
public void setErrorOnELNotFound(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(String value, Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setELIgnored
public void setELIgnored(boolean s) -
getIsELIgnored
-
isELIgnored
public boolean isELIgnored() -
setErrorOnELNotFound
public void setErrorOnELNotFound(boolean s) -
getErrorOnELNotFound
-
isErrorOnELNotFound
public boolean isErrorOnELNotFound() -
putNonCustomTagPrefix
-
getNonCustomTagPrefix
-
getDeferredSyntaxAllowedAsLiteral
-
isDeferredSyntaxAllowedAsLiteral
public boolean isDeferredSyntaxAllowedAsLiteral() -
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(boolean isELDeferred) -
getExpressionFactory
-
getTrimDirectiveWhitespaces
-
isTrimDirectiveWhitespaces
public boolean isTrimDirectiveWhitespaces() -
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(boolean trimDirectiveWhitespaces) -
getVarInfoNames
-
isErrorOnUndeclaredNamespace
public boolean isErrorOnUndeclaredNamespace() -
setErrorOnUndeclaredNamespace
public void setErrorOnUndeclaredNamespace(boolean errorOnUndeclaredNamespace)
-