public final class MutableNameRewriter extends Object implements NameRewriter
IDENTITY_REWRITER| Constructor and Description |
|---|
MutableNameRewriter()
Construct a new instance with the identity rewriter.
|
MutableNameRewriter(NameRewriter target)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
rewriteName(String original)
Rewrite a name.
|
void |
setTarget(NameRewriter target)
Set the target rewriter.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregate, aggregate, asPrincipalRewriter, chain, chain, constantpublic MutableNameRewriter(NameRewriter target)
target - the target rewriter (not null)public MutableNameRewriter()
public String rewriteName(String original)
NameRewriternull.rewriteName in interface NameRewriteroriginal - the original name (must not be null)null if the name is invalidpublic void setTarget(NameRewriter target)
target - the target rewriter (not null)Copyright © 2018 JBoss by Red Hat. All rights reserved.