Class AttributeRegistry



  • public class AttributeRegistry
    extends java.lang.Object
    • 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