public class AttributeUtil extends Object
| Constructor and Description |
|---|
AttributeUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
formatDateTime(Instant instant) |
static String |
getAttributeURI(String attributeName,
SCIMResourceTypeSchema schema) |
static Object |
getAttributeValueFromString(Object attributeValue,
SCIMDefinitions.DataType dataType) |
static String |
getStringValueOfAttribute(Object attributeValue,
SCIMDefinitions.DataType dataType) |
static Boolean |
parseBoolean(Object booleanValue) |
static String |
parseComplex(String complexString) |
static Instant |
parseDateTime(String dateTimeString) |
static String |
parseReference(String referenceString) |
public static Object getAttributeValueFromString(Object attributeValue, SCIMDefinitions.DataType dataType) throws CharonException, BadRequestException
CharonExceptionBadRequestExceptionpublic static String getStringValueOfAttribute(Object attributeValue, SCIMDefinitions.DataType dataType) throws CharonException
CharonExceptionpublic static Instant parseDateTime(String dateTimeString) throws CharonException
CharonExceptionpublic static String parseReference(String referenceString) throws CharonException
CharonExceptionpublic static Boolean parseBoolean(Object booleanValue) throws BadRequestException
BadRequestExceptionpublic static String getAttributeURI(String attributeName, SCIMResourceTypeSchema schema) throws BadRequestException
BadRequestExceptionCopyright © 2022 WSO2. All rights reserved.