org.thymeleaf.processor
Class ProcessorResult
Object
org.thymeleaf.processor.ProcessorResult
public final class ProcessorResult
- extends Object
- Since:
- 2.0.0
- Author:
- Daniel Fernández
Method Summary |
Arguments |
computeNewArguments(Arguments arguments)
|
Map<String,Object> |
getLocalVariables()
|
boolean |
getProcessCommentNodes()
|
boolean |
getProcessOnlyElementNodes()
Deprecated. Will be removed in 2.1.x. Use the equivalent getters for
the new flags getProcessTextNodes() and
getProcessCommentNodes() |
boolean |
getProcessTextNodes()
|
Object |
getSelectionTarget()
|
boolean |
hasLocalVariables()
|
boolean |
isOK()
|
boolean |
isProcessCommentNodesSet()
|
boolean |
isProcessOnlyElementNodesSet()
Deprecated. Will be removed in 2.1.x. Use the equivalent getters for
the new flags isProcessTextNodesSet() and
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 |
setLocalVariablesAndProcessOnlyElementNodes(Map<String,Object> localVariables,
boolean processOnlyElementNodes)
Deprecated. Will be removed in 2.1.x. Use the new variants setLocalVariablesAndProcessTextNodes(Map, boolean) ,
setLocalVariablesAndProcessCommentNodes(Map, boolean) or
setLocalVariablesAndProcessTextAndCommentNodes(Map, boolean, boolean) |
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 |
setProcessOnlyElementNodes(boolean processOnlyElementNodes)
Deprecated. Will be removed in 2.1.x. Use the new variants setProcessTextNodes(boolean) ,
setProcessCommentNodes(boolean) or setProcessTextAndCommentNodes(boolean, boolean) |
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 |
OK
public static final ProcessorResult OK
ok
public static ProcessorResult ok()
setLocalVariables
public static ProcessorResult setLocalVariables(Map<String,Object> localVariables)
setProcessOnlyElementNodes
@Deprecated
public static ProcessorResult setProcessOnlyElementNodes(boolean processOnlyElementNodes)
- Deprecated. Will be removed in 2.1.x. Use the new variants
setProcessTextNodes(boolean)
,
setProcessCommentNodes(boolean)
or setProcessTextAndCommentNodes(boolean, boolean)
setLocalVariablesAndProcessOnlyElementNodes
@Deprecated
public static ProcessorResult setLocalVariablesAndProcessOnlyElementNodes(Map<String,Object> localVariables,
boolean processOnlyElementNodes)
- Deprecated. Will be removed in 2.1.x. Use the new variants
setLocalVariablesAndProcessTextNodes(Map, boolean)
,
setLocalVariablesAndProcessCommentNodes(Map, boolean)
or
setLocalVariablesAndProcessTextAndCommentNodes(Map, boolean, boolean)
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()
getProcessOnlyElementNodes
@Deprecated
public boolean getProcessOnlyElementNodes()
- Deprecated. Will be removed in 2.1.x. Use the equivalent getters for
the new flags
getProcessTextNodes()
and
getProcessCommentNodes()
isProcessOnlyElementNodesSet
@Deprecated
public boolean isProcessOnlyElementNodesSet()
- Deprecated. Will be removed in 2.1.x. Use the equivalent getters for
the new flags
isProcessTextNodesSet()
and
isProcessCommentNodesSet()
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.