public enum IdentityTemplateReplacer extends Enum<IdentityTemplateReplacer> implements TemplateReplacer
TemplateReplacer
which always returns the original proxy.Enum Constant and Description |
---|
INSTANCE |
Modifier and Type | Method and Description |
---|---|
AbstractTemplateProxy |
getReplacement(AbstractTemplateProxy proxy,
Object jamonContext)
Simply return
proxy . |
static IdentityTemplateReplacer |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdentityTemplateReplacer[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdentityTemplateReplacer INSTANCE
public static IdentityTemplateReplacer[] values()
for (IdentityTemplateReplacer c : IdentityTemplateReplacer.values()) System.out.println(c);
public static IdentityTemplateReplacer valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic AbstractTemplateProxy getReplacement(AbstractTemplateProxy proxy, Object jamonContext)
proxy
.getReplacement
in interface TemplateReplacer
proxy
- the proxy which will not be replacedjamonContext
- the jamonContext (ignored)proxy
Copyright © 2003–2019 Jamon developers. All rights reserved.