Class PageInfo
java.lang.Object
org.apache.sling.scripting.jsp.jasper.compiler.PageInfo
A repository for various info about the translation unit under compilation.
- Author:
- Kin-man Chung
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
addImports
(List imports) void
void
addPrefixMapping
(String prefix, String uri) void
boolean
containsPrefix
(String prefix) int
javax.el.ExpressionFactory
Gets the value of the 'extends' page directive attribute.getExtends
(boolean useDefault) Gets the value of the 'extends' page directive attribute.getInfo()
getLanguage
(boolean useDefault) org.apache.sling.scripting.jsp.jasper.compiler.Mark
getNonCustomTagPrefix
(String prefix) javax.servlet.jsp.tagext.TagLibraryInfo
boolean
boolean
boolean
boolean
boolean
boolean
boolean
boolean
Check if the plugin ID has been previously declared.boolean
boolean
boolean
boolean
boolean
void
popPrefixMapping
(String prefix) void
pushPrefixMapping
(String prefix, String uri) void
putNonCustomTagPrefix
(String prefix, org.apache.sling.scripting.jsp.jasper.compiler.Mark where) void
setAutoFlush
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) void
setBufferValue
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) void
setContentType
(String value) void
setDeferredSyntaxAllowedAsLiteral
(boolean isELDeferred) void
setDeferredSyntaxAllowedAsLiteral
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) void
setDoctypeName
(String doctypeName) void
setDoctypePublic
(String doctypePublic) void
setDoctypeSystem
(String doctypeSystem) void
setELIgnored
(boolean s) void
setErrorPage
(String value) void
setExtends
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node.PageDirective n) void
setHasJspRoot
(boolean s) void
setIncludeCoda
(Vector coda) void
setIncludePrelude
(Vector prelude) void
void
setIsELIgnored
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) void
setIsErrorPage
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) void
setIsJspPrefixHijacked
(boolean isHijacked) void
setIsThreadSafe
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) void
setLanguage
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) void
setOmitXmlDecl
(String omit) void
setScriptingInvalid
(boolean s) void
setScriptless
(boolean s) void
setSession
(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) void
setTrimDirectiveWhitespaces
(boolean trimDirectiveWhitespaces) void
setTrimDirectiveWhitespaces
(String value, org.apache.sling.scripting.jsp.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
-
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.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
getLanguage
-
getLanguage
-
setExtends
public void setExtends(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node.PageDirective n) -
getExtends
Gets the value of the 'extends' page directive attribute.- Parameters:
useDefault
- TRUE if the default (org.apache.sling.scripting.jsp.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.sling.scripting.jsp.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.sling.scripting.jsp.jasper.runtime.HttpJspBase) if this attribute has not been set
-
setContentType
-
getContentType
-
setBufferValue
public void setBufferValue(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getBufferValue
-
getBuffer
public int getBuffer() -
setSession
public void setSession(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getSession
-
isSession
public boolean isSession() -
setAutoFlush
public void setAutoFlush(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getAutoFlush
-
isAutoFlush
public boolean isAutoFlush() -
setIsThreadSafe
public void setIsThreadSafe(String value, org.apache.sling.scripting.jsp.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.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err) throws JasperException - Throws:
JasperException
-
getIsErrorPage
-
isErrorPage
public boolean isErrorPage() -
setIsELIgnored
public void setIsELIgnored(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(String value, org.apache.sling.scripting.jsp.jasper.compiler.Node n, ErrorDispatcher err, boolean pagedir) throws JasperException - Throws:
JasperException
-
setELIgnored
public void setELIgnored(boolean s) -
getIsELIgnored
-
isELIgnored
public boolean isELIgnored() -
putNonCustomTagPrefix
public void putNonCustomTagPrefix(String prefix, org.apache.sling.scripting.jsp.jasper.compiler.Mark where) -
getNonCustomTagPrefix
-
getDeferredSyntaxAllowedAsLiteral
-
isDeferredSyntaxAllowedAsLiteral
public boolean isDeferredSyntaxAllowedAsLiteral() -
setDeferredSyntaxAllowedAsLiteral
public void setDeferredSyntaxAllowedAsLiteral(boolean isELDeferred) -
getExpressionFactory
public javax.el.ExpressionFactory getExpressionFactory() -
getTrimDirectiveWhitespaces
-
isTrimDirectiveWhitespaces
public boolean isTrimDirectiveWhitespaces() -
setTrimDirectiveWhitespaces
public void setTrimDirectiveWhitespaces(boolean trimDirectiveWhitespaces)
-