Class AttributeExtractor

    • Field Detail

      • jsonDocument

        protected final com.fasterxml.jackson.databind.JsonNode jsonDocument
        the json document from which the attributes should be extracted
    • Constructor Detail

      • AttributeExtractor

        public AttributeExtractor​(com.fasterxml.jackson.databind.JsonNode jsonDocument)
    • 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