Interface ISVRLLocationBeautifier

All Known Subinterfaces:
ISVRLLocationBeautifierSPI

public interface ISVRLLocationBeautifier
Interface for simplifying namespace URLs.
Since:
6.0.4
Author:
Philip Helger
  • Method Summary

    Modifier and Type
    Method
    Description
    getReplacementText(String sNamespaceURI, String sLocalName)
    Beautify the passed combination.
  • Method Details

    • getReplacementText

      @Nullable String getReplacementText(@Nonnull String sNamespaceURI, @Nonnull String sLocalName)
      Beautify the passed combination.
      Parameters:
      sNamespaceURI - Namespace URI
      sLocalName - Element local name
      Returns:
      null to indicate that this object does not know how to handle the namespace. Otherwise the replacement text should be returned.
      Example for UBL: Input parameters urn:oasis:names:specification:ubl:schema:xsd:CommonAggregateComponents-2 and Party. The result may be cac:Party as cac is the common namespace prefix for the passed namespace URI.