Class SMFAttributeNames


  • public final class SMFAttributeNames
    extends java.lang.Object
    Validity checks for attribute names.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static int MAXIMUM_CHARACTERS
      The maximum length of a name.
      static java.util.regex.Pattern PATTERN
      The pattern that defines a valid attribute name.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean isValid​(java.lang.CharSequence text)  
      • Methods inherited from class java.lang.Object

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

      • MAXIMUM_CHARACTERS

        public static final int MAXIMUM_CHARACTERS
        The maximum length of a name.
        See Also:
        Constant Field Values
      • PATTERN

        public static final java.util.regex.Pattern PATTERN
        The pattern that defines a valid attribute name.
    • Method Detail

      • isValid

        public static boolean isValid​(java.lang.CharSequence text)
        Parameters:
        text - The text
        Returns:
        true iff the given text is a valid attribute name