Class DefaultAbbreviationProvider

    • Constructor Detail

      • DefaultAbbreviationProvider

        public DefaultAbbreviationProvider()
    • Method Detail

      • addAbbreviation

        public void addAbbreviation​(String variable,
                                    String original,
                                    String abbreviation)
      • getAbbreviation

        public String getAbbreviation​(String variable,
                                      String original,
                                      CSLItemData item)
        Description copied from interface: AbbreviationProvider
        Retrieves an abbreviation for a given variable
        Specified by:
        getAbbreviation in interface AbbreviationProvider
        Parameters:
        variable - the name of the variable
        original - the original (unabbreviated) string
        item - the current CSL item data
        Returns:
        the abbreviated string or null if the original string should not be abbreviated