Class AttributeRegistry



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

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

      • LOGGER

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

      • AttributeRegistry

        public AttributeRegistry​()
    • Method Detail

      • register

        public static void register​(java.lang.String... attrNames)
        Parameters:
        attrNames - the attribute names to register, eg:- AttributeRegistry.register("attri-name1", "attri-name2")
        Since:
        1.1.3
      • getAttributeNames

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

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

        public static void loadAllAttributeClasses​()
        Loads all attribute classes.
        Since:
        2.1.13