Class TagRegistry



  • public class TagRegistry
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.util.logging.Logger LOGGER  
    • Constructor Summary

      Constructors 
      Constructor Description
      TagRegistry​()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Map<java.lang.String,java.lang.String> getTagClassNameByTagName​()  
      static java.util.List<java.lang.String> getTagNames​()  
      static void loadAllTagClasses​()
      Loads all tag classes.
      static void register​(java.lang.String... tagNamesToRegister)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LOGGER

        public static final java.util.logging.Logger LOGGER
    • Constructor Detail

      • TagRegistry

        public TagRegistry​()
    • Method Detail

      • getTagNames

        public static java.util.List<java.lang.String> getTagNames​()
        Returns:
        the list of tag names sorted in the ascending order of its length
        Since:
        1.1.3
      • register

        public static void register​(java.lang.String... tagNamesToRegister)
        Parameters:
        tagNamesToRegister - the tag names to register , eg:- register("new-tag1", "new-tag2")
        Since:
        1.1.3
      • getTagClassNameByTagName

        public static java.util.Map<java.lang.String,java.lang.String> getTagClassNameByTagName​()
        Returns:
        a map containing tag name as key and value as tag class name without package name
        Since:
        1.1.3
      • loadAllTagClasses

        public static void loadAllTagClasses​()
        Loads all tag classes.
        Since:
        2.1.13