Class MappingRegistry


  • public class MappingRegistry
    extends java.lang.Object
    Assist with naming symbols by URI. This class keeps a prefix mapping so that subsystems can register their prefix and keep code shorter.
    • Constructor Summary

      Constructors 
      Constructor Description
      MappingRegistry()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addPrefixMapping​(java.lang.String prefix, java.lang.String uri)  
      static java.lang.String mapPrefixName​(java.lang.String prefixName)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MappingRegistry

        public MappingRegistry()
    • Method Detail

      • addPrefixMapping

        public static void addPrefixMapping​(java.lang.String prefix,
                                            java.lang.String uri)
      • mapPrefixName

        public static java.lang.String mapPrefixName​(java.lang.String prefixName)