Interface IEnhancedQName.NamespaceToPrefixResolver

Enclosing interface:
IEnhancedQName
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 static interface IEnhancedQName.NamespaceToPrefixResolver
Provides a callback for resolving namespace prefixes.
  • Method Summary

    Modifier and Type
    Method
    Description
    resolve(String namespace)
    Get the URI string for the provided namespace prefix.
  • Method Details

    • resolve

      @Nullable String resolve(@NonNull String namespace)
      Get the URI string for the provided namespace prefix.
      Parameters:
      namespace - the namespace URI
      Returns:
      the associated prefix or null if no prefix is associated