org.thymeleaf.processor
Class ProcessorResult

Object
  extended by org.thymeleaf.processor.ProcessorResult

public final class ProcessorResult
extends Object

Since:
2.0.0
Author:
Daniel Fernández

Field Summary
static ProcessorResult OK
           
 
Method Summary
 Arguments computeNewArguments(Arguments arguments)
           
 Map<String,Object> getLocalVariables()
           
 boolean getProcessCommentNodes()
           
 boolean getProcessTextNodes()
           
 Object getSelectionTarget()
           
 boolean hasLocalVariables()
           
 boolean isOK()
           
 boolean isProcessCommentNodesSet()
           
 boolean isProcessTextNodesSet()
           
 boolean isSelectionTargetSet()
           
static ProcessorResult ok()
           
static ProcessorResult setLocalVariables(Map<String,Object> localVariables)
           
static ProcessorResult setLocalVariablesAndProcessCommentNodes(Map<String,Object> localVariables, boolean processCommentNodes)
           
static ProcessorResult setLocalVariablesAndProcessTextAndCommentNodes(Map<String,Object> localVariables, boolean processTextNodes, boolean processCommentNodes)
           
static ProcessorResult setLocalVariablesAndProcessTextNodes(Map<String,Object> localVariables, boolean processTextNodes)
           
static ProcessorResult setLocalVariablesAndSelectionTarget(Map<String,Object> localVariables, Object selectionTarget)
           
static ProcessorResult setProcessCommentNodes(boolean processCommentNodes)
           
static ProcessorResult setProcessTextAndCommentNodes(boolean processTextNodes, boolean processCommentNodes)
           
static ProcessorResult setProcessTextNodes(boolean processTextNodes)
           
static ProcessorResult setSelectionTarget(Object selectionTarget)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OK

public static final ProcessorResult OK
Method Detail

ok

public static ProcessorResult ok()

setLocalVariables

public static ProcessorResult setLocalVariables(Map<String,Object> localVariables)

setProcessTextAndCommentNodes

public static ProcessorResult setProcessTextAndCommentNodes(boolean processTextNodes,
                                                            boolean processCommentNodes)
Since:
2.0.15

setLocalVariablesAndProcessTextAndCommentNodes

public static ProcessorResult setLocalVariablesAndProcessTextAndCommentNodes(Map<String,Object> localVariables,
                                                                             boolean processTextNodes,
                                                                             boolean processCommentNodes)
Since:
2.0.15

setProcessTextNodes

public static ProcessorResult setProcessTextNodes(boolean processTextNodes)
Since:
2.0.15

setLocalVariablesAndProcessTextNodes

public static ProcessorResult setLocalVariablesAndProcessTextNodes(Map<String,Object> localVariables,
                                                                   boolean processTextNodes)
Since:
2.0.15

setProcessCommentNodes

public static ProcessorResult setProcessCommentNodes(boolean processCommentNodes)
Since:
2.0.15

setLocalVariablesAndProcessCommentNodes

public static ProcessorResult setLocalVariablesAndProcessCommentNodes(Map<String,Object> localVariables,
                                                                      boolean processCommentNodes)
Since:
2.0.15

setSelectionTarget

public static ProcessorResult setSelectionTarget(Object selectionTarget)
Since:
2.0.9

setLocalVariablesAndSelectionTarget

public static ProcessorResult setLocalVariablesAndSelectionTarget(Map<String,Object> localVariables,
                                                                  Object selectionTarget)
Since:
2.0.9

hasLocalVariables

public boolean hasLocalVariables()

getLocalVariables

public Map<String,Object> getLocalVariables()

getProcessTextNodes

public boolean getProcessTextNodes()
Since:
2.0.15

isProcessTextNodesSet

public boolean isProcessTextNodesSet()
Since:
2.0.15

getProcessCommentNodes

public boolean getProcessCommentNodes()
Since:
2.0.15

isProcessCommentNodesSet

public boolean isProcessCommentNodesSet()
Since:
2.0.15

getSelectionTarget

public Object getSelectionTarget()
Since:
2.0.9

isSelectionTargetSet

public boolean isSelectionTargetSet()
Since:
2.0.9

isOK

public boolean isOK()

computeNewArguments

public Arguments computeNewArguments(Arguments arguments)


Copyright © 2013 The THYMELEAF team. All Rights Reserved.