Class Name.Literal

    • Constructor Detail

      • Literal

        public Literal​(String sName,
                       boolean fRegex)
        Construct Name.Literal instance.
        Parameters:
        sName - the resource name
        fRegex - true to indicate whether name is a regular expression
    • Method Detail

      • value

        public String value()
        The name used to identify a specific resource.
        Returns:
        the name used to identify a specific resource
      • regex

        public boolean regex()
        Return true to indicate whether name is a regular expression.
        Returns:
        true to indicate whether name is a regular expression