Interface PrefixMapping

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 PrefixMapping
Provides a mapping from a namespace prefix to the URI.
  • Method Details

    • getUriFor

      URI getUriFor(String prefix)
    • qTagFor

      default QTag qTagFor(String qName)
      Use this mappings to find the uri for an QTag.
      Parameters:
      qName - A qualified name.
      Returns:
      An element. Never null.
    • elementFor

      default ArooaElement elementFor(String qName)
      Use this mappings to find the uri for an ArooaElement.
      Parameters:
      qName - A qualified name.
      Returns:
      An element. Never null.