org.thymeleaf.processor
Class ProcessorMatchingContext
Object
org.thymeleaf.processor.ProcessorMatchingContext
public final class ProcessorMatchingContext
- extends Object
Models the context in which a node is matched.
These objects are only applied when the node is an Element
.
This is needed because a processor's applicability specifies an element or attribute name,
but dialects might be configured with any prefix, and this will affect matching capabilities
because final names will be composed of both prefix and name.
Matching contexts help matchers know the circumstances in which a node is trying to match,
specifically the prefix being applied to the dialect.
- Since:
- 2.0.0
- Author:
- Daniel Fernández
ProcessorMatchingContext
public ProcessorMatchingContext(IDialect dialect,
String dialectPrefix)
getDialect
public IDialect getDialect()
getDialectPrefix
public String getDialectPrefix()
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
Copyright © 2014 The THYMELEAF team. All Rights Reserved.