Class LanguageQualifierProvider.LanguageQualifier

    • Constructor Detail

      • LanguageQualifier

        public LanguageQualifier​(LanguageModel language,
                                 java.util.Locale locale)
    • Method Detail

      • getLocale

        public java.util.Locale getLocale()
      • getValueForType

        public <U> U getValueForType​(java.lang.Class<U> type)
        Description copied from interface: Qualifier
        Extracts a value from this Qualifier object. The type should be one of the supported types of the corresponding provider (see QualifierProvider.getSupportedTypes()).
        Specified by:
        getValueForType in interface Qualifier
        Parameters:
        type - - the type of the value to extract
        Returns:
        the extracted value
      • toFieldQualifier

        public java.lang.String toFieldQualifier()
        Description copied from interface: Qualifier
        Returns a string representation of this Qualifier object.
        Specified by:
        toFieldQualifier in interface Qualifier
        Returns:
        a String representation of this object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object