public final class CommentNodeProcessorMatcher extends Object implements ICommentNodeProcessorMatcher
Implementation of ICommentNodeProcessorMatcher
that matches every
Comment
node.
Constructor and Description |
---|
CommentNodeProcessorMatcher() |
Modifier and Type | Method and Description |
---|---|
Class<? extends Comment> |
appliesTo()
Returns the type of Node this matcher applies to (and therefore the type
of Node that processors with this matcher will apply to).
|
boolean |
matches(Node node,
ProcessorMatchingContext context)
Try to match the node, using the specified matching context.
|
public boolean matches(Node node, ProcessorMatchingContext context)
IProcessorMatcher
Try to match the node, using the specified matching context.
matches
in interface IProcessorMatcher<Comment>
node
- the node to be matchedcontext
- the matching contextpublic Class<? extends Comment> appliesTo()
IProcessorMatcher
Returns the type of Node this matcher applies to (and therefore the type of Node that processors with this matcher will apply to).
appliesTo
in interface IProcessorMatcher<Comment>
Copyright © 2014 The THYMELEAF team. All rights reserved.