Class CaseSensitiveAttributeExtractor

java.lang.Object
de.captaingoldfish.scim.sdk.common.utils.AttributeExtractor
de.captaingoldfish.scim.sdk.common.utils.CaseSensitiveAttributeExtractor

public class CaseSensitiveAttributeExtractor extends AttributeExtractor
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
  • 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:
      getAttribute in class AttributeExtractor
      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