public final class AttributeUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
BINARY_FLAG
Used when defining a binary attribute, this flag should be appended to the attribute.
|
static String |
STATIC_QUOTE
Used when defining a static attribute, the attribute should be enclosed by this flag.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isBinaryAttribute(String attributeName)
For the given attributeName, return true if it is flagged as a binary attribute.
|
static boolean |
isStaticAttribute(String attributeName)
For the given attributeName, return true if it is flagged as a static attribute.
|
static String |
removeBinaryAttributeFlag(String attributeName)
Return the attributeName without the binary flag if it is included.
|
static String |
removeStaticAttributeFlag(String attributeName)
Return the attributeName without the static flag if it is included.
|
public static final String STATIC_QUOTE
public static final String BINARY_FLAG
public static boolean isStaticAttribute(String attributeName)
attributeName - The attributeName to check for the static flagpublic static String removeStaticAttributeFlag(String attributeName)
attributeName - The attribute name with the static flag includedpublic static boolean isBinaryAttribute(String attributeName)
attributeName - The attributeName to check for the binary flagCopyright © 2010–2023 Open Identity Platform Community. All rights reserved.