Deprecated API


Contents
Deprecated Interfaces
org.thymeleaf.standard.expression.IStandardExpressionEvaluator
          Implement IStandardVariableExpressionEvaluator instead. Will be removed in 2.1.x 
 

Deprecated Classes
org.thymeleaf.processor.attr.AbstractFragmentAttrProcessor
          replaced by AbstractFragmentHandlingAttrProcessor. Will be removed in 2.1.x. 
org.thymeleaf.processor.element.AbstractFragmentElementProcessor
          replaced by AbstractFragmentHandlingElementProcessor. Will be removed in 2.1.x. 
org.thymeleaf.standard.processor.attr.AbstractStandardFragmentAttrProcessor
          replaced by AbstractStandardFragmentHandlingAttrProcessor. Will be removed in 2.1.x. 
org.thymeleaf.templateparser.EntitySubstitutionTemplateReader
          Renamed to TemplatePreprocessingReader. This class will be removed in 2.1.0 
org.thymeleaf.standard.expression.OgnlExpressionEvaluator
          Use OgnlVariableExpressionEvaluator instead. Will be removed in 2.1.x 
org.thymeleaf.standard.processor.attr.StandardIncludeAttrProcessor
          replaced by StandardIncludeFragmentAttrProcessor. Will be removed in 2.1.x. 
org.thymeleaf.standard.processor.attr.StandardSubstituteByAttrProcessor
          replaced by StandardSubstituteByFragmentAttrProcessor. Will be removed in 2.1.x. 
 

Deprecated Enums
org.thymeleaf.TemplateMode
          This enum has been deprecated as of 2.0.0. Template modes are now specified as Strings instead of enums (for enhanced extensibility). See TemplateResolver.setTemplateMode(String). 
 

Deprecated Fields
org.thymeleaf.context.WebContext.APPLICATION_VARIABLE_NAME
          Use WebVariablesMap.APPLICATION_VARIABLE_NAME instead. Will be removed in 2.1.x 
org.thymeleaf.context.WebContext.PARAM_VARIABLE_NAME
          Use WebVariablesMap.PARAM_VARIABLE_NAME instead. Will be removed in 2.1.x 
org.thymeleaf.Arguments.SELECTION_TARGET_LOCAL_VARIABLE_NAME
          Use instead.. 
org.thymeleaf.context.WebContext.SESSION_VARIABLE_NAME
          Use WebVariablesMap.SESSION_VARIABLE_NAME instead. Will be removed in 2.1.x 
 

Deprecated Methods
org.thymeleaf.Arguments.addLocalVariablesAndProcessOnlyElementNodes(Map, boolean)
          Will be removed in 2.1.x. Use the variants for the new flags instead: Arguments.setProcessTextNodes(boolean), Arguments.setProcessCommentNodes(boolean) or Arguments.setProcessTextAndCommentNodes(boolean, boolean). 
org.thymeleaf.expression.ExpressionEvaluatorObjects.computeEvaluationVariablesForArguments(Arguments)
          Use ExpressionEvaluatorObjects.computeEvaluationObjects(IProcessingContext) instead. Will be removed in 2.1.x 
org.thymeleaf.standard.fragment.StandardFragmentProcessor.computeStandardFragmentSpec(Arguments, String, String, String)
          Use StandardFragmentProcessor.computeStandardFragmentSpec(Configuration, IProcessingContext, String, String, String, boolean) instead. Will be removed in 2.1.x 
org.thymeleaf.standard.fragment.StandardFragmentProcessor.computeStandardFragmentSpec(Configuration, IProcessingContext, String, String, String)
          Use StandardFragmentProcessor.computeStandardFragmentSpec(Configuration, IProcessingContext, String, String, String, boolean) instead. Will be removed in 2.1.x 
org.thymeleaf.standard.expression.StandardExpressionProcessor.createStandardExpressionExecutor(IStandardExpressionEvaluator)
          Use StandardExpressionProcessor.createStandardExpressionExecutor(IStandardVariableExpressionEvaluator) instead. Will be removed in 2.1.x 
org.thymeleaf.standard.StandardDialect.externalAdditionalProcessors(StandardDialect)
          Utility ad-hoc static method needed while StandardDialect.getAdditionalProcessors() is not set to public final. Will be removed in 2.1. 
org.thymeleaf.util.DOMUtils.extractFragmentByAttributeValue(Node, String, String, String)
          Use DOMUtils.extractFragmentByElementAndAttributeValue(List, String, String, String) instead. Will be removed in 2.1.x 
org.thymeleaf.standard.StandardDialect.getAdditionalProcessors()
          Override StandardDialect.getProcessors(), call super.getProcessors() and modify the returned set instead. Will be modified to public final in 2.1. 
org.thymeleaf.context.IProcessingContext.getBaseContextVariables()
          Use IProcessingContext.getExpressionObjects() instead. Will be removed in 2.1.x 
org.thymeleaf.context.AbstractProcessingContext.getBaseContextVariables()
          Use AbstractProcessingContext.getExpressionObjects() instead. Will be removed in 2.1.x 
org.thymeleaf.Arguments.getProcessOnlyElementNodes()
          To be removed in 2.1.x. This flag has been substituted by two flags available at the Arguments.getProcessTextNodes() and Arguments.getProcessCommentNodes() getter methods. 
org.thymeleaf.processor.ProcessorResult.getProcessOnlyElementNodes()
          Will be removed in 2.1.x. Use the equivalent getters for the new flags ProcessorResult.getProcessTextNodes() and ProcessorResult.getProcessCommentNodes() 
org.thymeleaf.standard.StandardDialect.getRemovedProcessors()
          Override StandardDialect.getProcessors(), call super.getProcessors() and modify the returned set instead. Will be removed in 2.1. 
org.thymeleaf.util.DOMUtils.getXhtmlHtml5For(Node)
          To be removed in 2.1.0. Use DOMUtils.getHtml5For(Node), DOMUtils.getXhtmlFor(Node) or DOMUtils.getOutputFor(Node, AbstractGeneralTemplateWriter, String) instead. 
org.thymeleaf.processor.ProcessorResult.isProcessOnlyElementNodesSet()
          Will be removed in 2.1.x. Use the equivalent getters for the new flags ProcessorResult.isProcessTextNodesSet() and ProcessorResult.isProcessCommentNodesSet() 
org.thymeleaf.processor.ProcessorResult.setLocalVariablesAndProcessOnlyElementNodes(Map, boolean)
          Will be removed in 2.1.x. Use the new variants ProcessorResult.setLocalVariablesAndProcessTextNodes(Map, boolean), ProcessorResult.setLocalVariablesAndProcessCommentNodes(Map, boolean) or ProcessorResult.setLocalVariablesAndProcessTextAndCommentNodes(Map, boolean, boolean) 
org.thymeleaf.Arguments.setProcessOnlyElementNodes(boolean)
          Will be removed in 2.1.x. Use the variants for the new flags instead: Arguments.setProcessTextNodes(boolean), Arguments.setProcessCommentNodes(boolean) or Arguments.setProcessTextAndCommentNodes(boolean, boolean). 
org.thymeleaf.processor.ProcessorResult.setProcessOnlyElementNodes(boolean)
          Will be removed in 2.1.x. Use the new variants ProcessorResult.setProcessTextNodes(boolean), ProcessorResult.setProcessCommentNodes(boolean) or ProcessorResult.setProcessTextAndCommentNodes(boolean, boolean) 
org.thymeleaf.dom.Node.setSkippable(boolean)
          Will be made protected in 2.1.x. For most uses from outside the Thymeleaf engine (e.g. from processors), you should be using setProcessable() instead. 
org.thymeleaf.templateresolver.TemplateResolver.setTemplateMode(TemplateMode)
          This method has been deprecated as of 2.0.0. Use TemplateResolver.setTemplateMode(String) instead. 
org.thymeleaf.TemplateEngine.threadLocale()
          Will be removed in 2.1.x due to possible creation of classloader leaks (see http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalValue) If Arguments is available, you can use Arguments.getTemplateName() 
org.thymeleaf.TemplateEngine.threadTemplateEngine()
          Will be removed in 2.1.x due to possible creation of classloader leaks (see http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalValue). If Arguments is available, you can use Arguments.getTemplateEngine() 
org.thymeleaf.TemplateEngine.threadTemplateName()
          Will be removed in 2.1.x due to possible creation of classloader leaks (see http://wiki.apache.org/tomcat/MemoryLeakProtection#webappClassInstanceAsThreadLocalValue) if a stack container is used for avoiding the wrong template engine being processed when template engine executions are being nested. If Arguments is available, you can use Arguments.getTemplateName() 
org.thymeleaf.dom.DocType.translateDOMDocumentType(DocumentType)
          Redundant. StandardDOMTranslator.translateDocumentType(org.w3c.dom.DocumentType) should be used instead. Will be removed in 2.1.0 
org.thymeleaf.context.AbstractProcessingContext.unsafeGetLocalVariables()
          Use AbstractProcessingContext.getLocalVariables() instead. Will be removed in 2.1.x. 
 

Deprecated Constructors
org.thymeleaf.Arguments(TemplateProcessingParameters, TemplateResolution, TemplateRepository, Document)
          Will be removed in 2.1. Use the constructor with a TemplateEngine argument instead. 
org.thymeleaf.context.WebContext(HttpServletRequest, ServletContext)
          use the equivalent constructor with an additional 'response' parameter. Will be removed in 2.1.x. 
org.thymeleaf.context.WebContext(HttpServletRequest, ServletContext, Locale)
          use the equivalent constructor with an additional 'response' parameter. Will be removed in 2.1.x. 
org.thymeleaf.context.WebContext(HttpServletRequest, ServletContext, Locale, Map)
          use the equivalent constructor with an additional 'response' parameter. Will be removed in 2.1.x. 
 



Copyright © 2012 The THYMELEAF team. All Rights Reserved.