org.thymeleaf.processor
Class TextNodeProcessorMatcher
Object
org.thymeleaf.processor.TextNodeProcessorMatcher
- All Implemented Interfaces:
- IProcessorMatcher<AbstractTextNode>, ITextNodeProcessorMatcher
public final class TextNodeProcessorMatcher
- extends Object
- implements ITextNodeProcessorMatcher
- Since:
- 2.0.0
- Author:
- Daniel Fernández
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TextNodeProcessorMatcher
public TextNodeProcessorMatcher()
matches
public boolean matches(Node node,
ProcessorMatchingContext context)
- Description copied from interface:
IProcessorMatcher
Try to match the node, using the specified matching context.
- Specified by:
matches
in interface IProcessorMatcher<AbstractTextNode>
- Parameters:
node
- the node to be matchedcontext
- the matching context
- Returns:
- true if the node matches, false if not.
appliesTo
public final Class<? extends AbstractTextNode> appliesTo()
- Description copied from interface:
IProcessorMatcher
Returns the type of Node this matcher applies to (and therefore the type
of Node that processors with this matcher will apply to).
- Specified by:
appliesTo
in interface IProcessorMatcher<AbstractTextNode>
- Returns:
- the type of node (subclass of Node) this matcher applies to.
Copyright © 2012 The THYMELEAF team. All Rights Reserved.