Interface UriMapping

All Known Subinterfaces:
ArooaDescriptor, NamespaceMappings, PrefixMappings
All Known Implementing Classes:
ArooaDescriptorDescriptor, BaseArooaDescriptor, ClassesOnlyDescriptor, EmptyDescriptor, FallbackPrefixMappings, LinkedDescriptor, ListDescriptor, SimplePrefixMappings, StandardArooaDescriptor
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface UriMapping
Provides a mapping from the name space URI to the prefix.
  • Method Details

    • getPrefixFor

      String getPrefixFor(URI uri)
    • getQName

      default QTag getQName(ArooaElement element)
      Use these mappings to find the prefix for a QTag.
      Parameters:
      element - An element
      Returns:
      A qualified tag. never null.