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 TypeMethodDescriptionvoidvoidvoidaddImports(List<String> imports) voidvoidaddPrefixMapping(String prefix, String uri) voidbooleancontainsPrefix(String prefix) booleanorg.apache.jasper.compiler.BeanRepositoryintGets the value of the 'extends' page directive attribute.getExtends(boolean useDefault) Gets the value of the 'extends' page directive attribute.getInfo()getLanguage(boolean useDefault) intorg.apache.jasper.compiler.MarkgetNonCustomTagPrefix(String prefix) javax.servlet.jsp.tagext.TagLibraryInfoCollection<javax.servlet.jsp.tagext.TagLibraryInfo> booleanbooleanbooleanbooleanbooleanbooleanbooleanbooleanCheck if the plugin ID has been previously declared.booleanbooleanbooleanbooleanbooleanvoidpopPrefixMapping(String prefix) voidpushPrefixMapping(String prefix, String uri) voidputNonCustomTagPrefix(String prefix, org.apache.jasper.compiler.Mark where) voidsetAutoFlush(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidsetBuffer(int size) voidsetBufferValue(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidsetContentType(String value) voidsetDeferredSyntaxAllowedAsLiteral(boolean s) voidsetDeferredSyntaxAllowedAsLiteral(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidsetDoctypeName(String doctypeName) voidsetDoctypePublic(String doctypePublic) voidsetDoctypeSystem(String doctypeSystem) voidsetELIgnored(boolean s) voidsetErrorOnUndeclaredNamespace(boolean s) voidsetErrorPage(String value) voidsetExtends(String value, org.apache.jasper.compiler.Node.PageDirective n) voidsetHasJspRoot(boolean s) voidsetIncludeCoda(List<String> coda) voidsetIncludePrelude(List<String> prelude) voidvoidsetIsELIgnored(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidsetIsErrorPage(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidsetIsJspPrefixHijacked(boolean isHijacked) voidsetIsThreadSafe(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidsetLanguage(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) voidsetMaxTagNesting(int maxTagNesting) voidsetOmitXmlDecl(String omit) voidsetScriptingInvalid(boolean s) voidsetScriptless(boolean s) voidsetSession(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) voidsetTrimDirectiveWhitespaces(boolean s) voidsetTrimDirectiveWhitespaces(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir)
-
Method Details
-
isPluginDeclared
Check if the plugin ID has been previously declared. Make a not that this Id is now declared.- Returns:
- true if Id has been declared.
-
addImports
-
addImport
-
getImports
-
getJspFile
-
addDependant
-
getDependants
-
getBeanRepository
public org.apache.jasper.compiler.BeanRepository getBeanRepository() -
getMaxTagNesting
public int getMaxTagNesting() -
setMaxTagNesting
public void setMaxTagNesting(int maxTagNesting) -
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, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
getLanguage
-
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
public void setBufferValue(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getBufferValue
-
getBuffer
public int getBuffer() -
setBuffer
public void setBuffer(int size) -
setSession
public void setSession(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getSession
-
isSession
public boolean isSession() -
setAutoFlush
public void setAutoFlush(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getAutoFlush
-
isAutoFlush
public boolean isAutoFlush() -
setIsThreadSafe
public void setIsThreadSafe(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getIsThreadSafe
-
isThreadSafe
public boolean isThreadSafe() -
setInfo
-
getInfo
-
setErrorPage
-
getErrorPage
-
setIsErrorPage
public void setIsErrorPage(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getIsErrorPage
-
isErrorPage
public boolean isErrorPage() -
setIsELIgnored
public void setIsELIgnored(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setELIgnored
public void setELIgnored(boolean s) -
getIsELIgnored
-
isELIgnored
public boolean isELIgnored() -
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(boolean s) -
getDeferredSyntaxAllowedAsLiteral
-
isDeferredSyntaxAllowedAsLiteral
public boolean isDeferredSyntaxAllowedAsLiteral() -
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(String value, org.apache.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(boolean s) -
getTrimDirectiveWhitespaces
-
isTrimDirectiveWhitespaces
public boolean isTrimDirectiveWhitespaces() -
setErrorOnUndeclaredNamespace
public void setErrorOnUndeclaredNamespace(boolean s) -
errorOnUndeclaredNamespace
public boolean errorOnUndeclaredNamespace() -
putNonCustomTagPrefix
-
getNonCustomTagPrefix
-