|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
ICacheManager
implementations, useful
for taking care of the lazy initialization of cache objects when their
corresponding getXCache() methods are called.IContext
implementations, providing some of the
features required to implement this interface.IContextExecutionInfo
implementations, providing some of the
features required to implement this interface.IDialect
that returns empty
sets for all dialect components.IProcessingContext
that
are able to add extra expression utility objects to expression evaluations if any
of the configured IDialect
s implement IExpressionEnhancingDialect
.AbstractFragmentHandlingAttrProcessor
. Will be
removed in 2.1.x.AbstractFragmentHandlingElementProcessor
. Will be
removed in 2.1.x.IMessageResolver
interface.AbstractStandardFragmentHandlingAttrProcessor
. Will be
removed in 2.1.x.Text
s and CDATASection
s.IDialect
that returns empty
sets for all dialect components except for the DOCTYPE resolution entries, which
return a set of standard DTD definitions for XHTML 1.0, XHTML 1.1 and HTML5.ITemplateResolutionValidity
that considers the template resolution to be always cacheable
and always valid.WebVariablesMap.APPLICATION_VARIABLE_NAME
instead.
Will be removed in 2.1.x
IContextExecutionInfo
to be added
to the context as the execInfo variable.
Calendar
) operations.IFragmentSpec
that allows the execution of
two fragment specs in chain, effectively performing a double-filering.IResourceResolver
that resolves
resources as classloader resources, using
ClassLoaderUtils.getClassLoader(Class)
for
obtaining the class loader and then executing
ClassLoader.getResourceAsStream(String)
ITemplateResolver
that extends TemplateResolver
and uses a ClassLoaderResourceResolver
for resource resolution.ExpressionEvaluatorObjects.computeEvaluationObjects(IProcessingContext)
instead.
Will be removed in 2.1.x
Node
.
StandardFragmentProcessor.computeStandardFragmentSpec(Configuration, IProcessingContext, String, String, String, boolean)
instead. Will be removed in 2.1.x
#computeStandardFragmentSpec(Configuration, IProcessingContext, String, String, String, boolean))
instead. Will be removed in 2.1.x
TemplateEngine
, including all the info for every configured
IDialect
.IContext
.IContextExecutionInfo
interface.StandardExpressionProcessor.createStandardExpressionExecutor(IStandardVariableExpressionEvaluator)
instead. Will be removed in 2.1.x
Date
) operations.StandardParsedTemplateEntryValidator
.
AbstractDialectAwareProcessingContext
.IDialect
.IFragmentSpec
interface that extracts fragments
of DOM trees using a DOMSelector
object.DOMSelector
object to be created internally.
DOMSelector
object to be created internally and also a flag indicating
whether the selected element itself (or selected elements if more than
one) must be returned or only its/their children.
TemplateRepository
, and then apply
the IFragmentSpec
to the result of parsing it (the template).
TemplateRepository
, and then apply
the IFragmentSpec
to the result of parsing it (the template).
DOMUtils.extractFragmentByElementAndAttributeValue(List, String, String, String)
instead. Will be removed in 2.1.x
IResourceResolver
that resolves
resources as files in the filesystem:
final File resourceFile = new File(resourceName);
try {
return new FileInputStream(resourceFile);
} catch (FileNotFoundException e) {
return null;
}
ITemplateResolver
that extends TemplateResolver
and uses a FileResourceResolver
for resource resolution.TemplateRepository
.VariablesMap
object with all the attributes associated
with the ServletContext
object linked to the
HttpServletRequest
used for creating the context.
AbstractProcessingContext.getExpressionObjects()
instead. Will be removed in 2.1.x
IProcessingContext.getExpressionObjects()
instead. Will be removed in 2.1.x
Element
children
of this node, discarding children of any other types.
Element
.
IFragmentSpec
that will be applied to the template.
HttpServletRequest
object associated with the
request this context has been created for.
HttpServletResponse
object associated with the
request this context has been created for.
HttpSession
object associated with the
request this context has been created for.
IProcessorMatcher
) that
defines the applicability of this processor.
AbstractProcessor.getMessageForTemplate(Arguments, String, Object[])
) and,
if not found, as a processor message (see AbstractProcessor.getMessageForProcessor(Arguments, String, Object[])
.
VariablesMap
object with all the attributes associated
with the HttpServletRequest
used for creating the context.
VariablesMap
object with all the parameters associated
with the HttpServletRequest
used for creating the context.
TemplateResolution.getResourceName()
).
IResourceResolver
) that will
be used to resolve the resource names that are assigned to templates resolved
by this template resolver.
ServletContext
object associated with the
web application.
VariablesMap
object with all the attributes associated
with the HttpSession
object linked to the
HttpServletRequest
used for creating the context.
VariablesMap
object containing the variables that will be
available for the execution of expressions inside templates.
DOMUtils.getHtml5For(Node)
,
DOMUtils.getXhtmlFor(Node)
or
DOMUtils.getOutputFor(Node, AbstractGeneralTemplateWriter, String)
instead.
IProcessorMatcher
for matchers based on attribute names.ICache
object before returning it as the result of a get
operation.IContext
implementations.IProcessorMatcher
for matchers based on element names.IDialect
implementations.IStandardVariableExpressionEvaluator
instead.
Will be removed in 2.1.xIProcessorMatcher
for matchers that match Text/CDATA nodes.IContext
for implementations that can be
used for creating HTML/XHTML interfaces in web applications.Document
nodes
for specifying the "XML Encoding" info from the XML Declaration.
Document
nodes
for specifying the "XML Standalone" flag from the XML Declaration.
Document
nodes
for specifying the "XML Version" info from the XML Declaration.
ITemplateResolutionValidity
that considers the template resolution to be non-cacheable.OgnlVariableExpressionEvaluator
instead. Will be removed
in 2.1.xWebVariablesMap.PARAM_VARIABLE_NAME
instead.
Will be removed in 2.1.x
AbstractProcessingContext
.MessageResolution
object.
instead.
.
IResourceResolver
that resolves
resources as servlet context resources:
servletContext.getResourceAsStream(resourceName)
ITemplateResolver
that extends TemplateResolver
and uses a ServletContextResourceResolver
for resource resolution.WebVariablesMap.SESSION_VARIABLE_NAME
instead.
Will be removed in 2.1.x
TemplateResolver.setCacheable(boolean)
).
TemplateResolver.setCacheable(boolean)
).
ClassLoaderResourceResolver
.
FileResourceResolver
.
ServletContextResourceResolver
.
TemplateResolution
results.
UrlResourceResolver
.
TemplateResolver.setTemplateMode(String)
instead.
ICacheManager
, returning
configurable instances of StandardCache
for each of
the default caches defined at the cache manager interface.IDialect
.StandardIncludeFragmentAttrProcessor
. Will be
removed in 2.1.x.IMessageResolver
.StandardSubstituteByFragmentAttrProcessor
. Will be
removed in 2.1.x.ITemplateModeHandler
objects.TemplateResolver.setTemplateMode(String)
.ITemplateModeHandler
.ITemplateResolver
.StandardDOMTranslator.translateDocumentType(org.w3c.dom.DocumentType)
should be used instead. Will be removed in 2.1.0
ITemplateResolutionValidity
that uses a TTL (time-to-live) expressed in milliseconds to
compute the validity of template cache entries.AbstractProcessingContext.getLocalVariables()
instead. Will be removed in 2.1.x.
IResourceResolver
that resolves
resources as URLs:
try {
final URL url = new URL(resourceName);
return url.openStream();
} catch (final Exception e1) {
return null;
}
ITemplateResolver
that extends TemplateResolver
and uses a UrlResourceResolver
for resource resolution.Map
interface that
will be used for containing context variables in IContext
implementations.IWebContext
interface.IContextExecutionInfo
interface, for
web contexts.IFragmentSpec
that simply returns
whole templates, this is the same nodes used as input with
no modification, traversing or selection of any kind.
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |