public abstract class ExtensionMacroByExactMatch extends java.lang.Object implements ExtensionMacro
Constructor and Description |
---|
ExtensionMacroByExactMatch() |
Modifier and Type | Method and Description |
---|---|
boolean |
canExpandMacro(java.lang.String unexpandedMacro, ElementContext elementContext)
Answers whether this unexpanded macro may be handled by this extension macro.
|
protected abstract java.lang.String |
getExactMacroValue() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
expandMacro
public final boolean canExpandMacro(java.lang.String unexpandedMacro, ElementContext elementContext)
ExtensionMacro
true
then ExtensionMacro#expandMacro(String)
will be called.canExpandMacro
in interface ExtensionMacro
unexpandedMacro
- the unexpanded macroelementContext
- the extension traversal element contextprotected abstract java.lang.String getExactMacroValue()