Interface MetadataMappingConsumer

  • public interface MetadataMappingConsumer
    • Method Detail

      • map

        void map​(String metadataClass,
                 MetadataType type,
                 MetadataSourceType sourceType,
                 String locator)
          throws IllegalArgumentException
        metadataClass - the name of the metadata class which may be used at query time. Must be less than 65 characters and must be ASCII alpha numeric.
        type - the type of the metadata class, e.g. NUMERICAL for numeric values
        sourceType - where the metadata is coming from e.g. HTML_OR_HTTP_HEADERS if the metadata is coming from <meta name="author" content="John Doe">
        locator - the location to get the metadata from e.g. when getting metadata from HTML: <meta name="author" content="John Doe"> the locator would be "author".
        IllegalArgumentException - when one or more of the arguments is not valid.