Class DOMMetadataResolver

All Implemented Interfaces:
Iterable<EntityDescriptor>, Component, DestructableComponent, IdentifiableComponent, IdentifiedComponent, InitializableComponent, Resolver<EntityDescriptor,CriteriaSet>, IterableMetadataSource, BatchMetadataResolver, MetadataResolver

public class DOMMetadataResolver extends AbstractBatchMetadataResolver
A MetadataProvider implementation that retrieves metadata from a DOM Element as supplied by the user. It is the responsibility of the caller to re-initialize, via AbstractInitializableComponent.initialize(), if any properties of this provider are changed.
  • Field Details

    • log

      private final org.slf4j.Logger log
      Class logger.
    • metadataElement

      private Element metadataElement
      Root metadata element exposed by this provider.
  • Constructor Details

    • DOMMetadataResolver

      public DOMMetadataResolver(Element mdElement)
      mdElement - the metadata element
  • Method Details