Class CaseSensitiveAttributeExtractor
java.lang.Object
de.captaingoldfish.scim.sdk.common.utils.AttributeExtractor
de.captaingoldfish.scim.sdk.common.utils.CaseSensitiveAttributeExtractor
author Pascal Knueppel
created at: 23.07.2022 - 14:30
used to extract attributes directly by their attribute-names as defined in their attributes-definition
created at: 23.07.2022 - 14:30
used to extract attributes directly by their attribute-names as defined in their attributes-definition
-
Field Summary
Fields inherited from class de.captaingoldfish.scim.sdk.common.utils.AttributeExtractor
jsonDocument -
Constructor Summary
ConstructorsConstructorDescriptionCaseSensitiveAttributeExtractor(com.fasterxml.jackson.databind.JsonNode jsonDocument) -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.fasterxml.jackson.databind.JsonNode>getAttribute(SchemaAttribute schemaAttribute) extracts the attribute case-sensitive from the given json document
-
Constructor Details
-
CaseSensitiveAttributeExtractor
public CaseSensitiveAttributeExtractor(com.fasterxml.jackson.databind.JsonNode jsonDocument)
-
-
Method Details
-
getAttribute
public Optional<com.fasterxml.jackson.databind.JsonNode> getAttribute(SchemaAttribute schemaAttribute) extracts the attribute case-sensitive from the given json document- Specified by:
getAttributein classAttributeExtractor- Parameters:
schemaAttribute- the attributes-definition of the attribute that should be extracted from the document- Returns:
- the attribute from the json document or an empty
-