public final class DocumentNodeProcessorMatcher extends Object implements IDocumentNodeProcessorMatcher
Basic implementation of IDocumentNodeProcessorMatcher.
| Constructor and Description |
|---|
DocumentNodeProcessorMatcher() |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends Document> |
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)
IProcessorMatcherTry to match the node, using the specified matching context.
matches in interface IProcessorMatcher<Document>node - the node to be matchedcontext - the matching contextpublic Class<? extends Document> appliesTo()
IProcessorMatcherReturns 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<Document>Copyright © 2016 The THYMELEAF team. All rights reserved.