Class AttributeExtractor
- java.lang.Object
-
- de.captaingoldfish.scim.sdk.common.utils.AttributeExtractor
-
- Direct Known Subclasses:
CaseInsensitiveAttributeExtractor,CaseSensitiveAttributeExtractor
public abstract class AttributeExtractor extends Object
author Pascal Knueppel
created at: 23.07.2022 - 14:24
-
-
Field Summary
Fields Modifier and Type Field Description protected com.fasterxml.jackson.databind.JsonNodejsonDocumentthe json document from which the attributes should be extracted
-
Constructor Summary
Constructors Constructor Description AttributeExtractor(com.fasterxml.jackson.databind.JsonNode jsonDocument)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract Optional<com.fasterxml.jackson.databind.JsonNode>getAttribute(SchemaAttribute schemaAttribute)used to get an attribute extractor for resource validation
-
-
-
Method Detail
-
getAttribute
public abstract Optional<com.fasterxml.jackson.databind.JsonNode> getAttribute(SchemaAttribute schemaAttribute)
used to get an attribute extractor for resource validation- Parameters:
schemaAttribute- the attributes-definition of the attribute that should be extracted from the document- Returns:
- the extracted attribute or null
-
-