public final class CaseNameRewriter extends Object implements NameRewriter
IDENTITY_REWRITER| Constructor and Description |
|---|
CaseNameRewriter()
Construct a new instance which transforms to upper case.
|
CaseNameRewriter(boolean upperCase)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
rewriteName(String original)
Rewrite a name.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaggregate, aggregate, asPrincipalRewriter, chain, chain, constantpublic CaseNameRewriter()
public CaseNameRewriter(boolean upperCase)
upperCase - true if the principal should be converted to upper case,
false if the principal should be converted to lower case.public String rewriteName(String original)
rewriteName in interface NameRewriteroriginal - the original nameCopyright © 2022 JBoss by Red Hat. All rights reserved.