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, wait
aggregate, aggregate, asPrincipalRewriter, chain, chain, constant
public 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 NameRewriter
original
- the original nameCopyright © 2021 JBoss by Red Hat. All rights reserved.