Class RegexPattern

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String description  
      boolean enabled  
      java.lang.String family  
      java.lang.String id  
      java.lang.Class<?> match_class  
      java.lang.String match_classname
      Name of a Java class that extends TextMatch and implements user's normalization routines.
      java.lang.String parser_rule  
      java.util.regex.Pattern regex  
      java.util.List<java.lang.String> regex_groups  
      java.lang.String version  
    • Constructor Summary

      Constructors 
      Constructor Description
      RegexPattern​(java.lang.String _family, java.lang.String _id, java.lang.String _description)
      Metadata for a Regular Expression pattern
    • Method Summary

      Modifier and Type Method Description
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • id

        public java.lang.String id
      • parser_rule

        public java.lang.String parser_rule
      • regex

        public java.util.regex.Pattern regex
      • regex_groups

        public java.util.List<java.lang.String> regex_groups
      • version

        public java.lang.String version
      • description

        public java.lang.String description
      • enabled

        public boolean enabled
      • match_classname

        public java.lang.String match_classname
        Name of a Java class that extends TextMatch and implements user's normalization routines.
      • match_class

        public java.lang.Class<?> match_class
      • family

        public java.lang.String family
    • Constructor Detail

      • RegexPattern

        public RegexPattern​(java.lang.String _family,
                            java.lang.String _id,
                            java.lang.String _description)
        Metadata for a Regular Expression pattern
        Parameters:
        _family - name of family
        _id - pattern id within family
        _description - optional description of pattern
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        Returns:
        string representation of the pattern