java.lang.Object
java.util.AbstractCollection<String>
org.xbib.interlibrary.catalog.matching.title.TitleKey
Alle implementierten Schnittstellen:
Iterable<String>, Collection<String>, DomainKey<String>
Bekannte direkte Unterklassen:
OrdinalComponent

public class TitleKey extends AbstractCollection<String> implements DomainKey<String>
Title key.
  • Konstruktordetails

    • TitleKey

      public TitleKey()
  • Methodendetails

    • getDomain

      public Domain getDomain()
      The name of this component class.
      Angegeben von:
      getDomain in Schnittstelle DomainKey<String>
      Gibt zurück:
      the name
    • setDelimiter

      public void setDelimiter(char delimiter)
      Beschreibung aus Schnittstelle kopiert: DomainKey
      Set delimiter char.
      Angegeben von:
      setDelimiter in Schnittstelle DomainKey<String>
      Parameter:
      delimiter - delimiter
    • getDelimiter

      public char getDelimiter()
      Beschreibung aus Schnittstelle kopiert: DomainKey
      Get the delimiting character between component elements.
      Angegeben von:
      getDelimiter in Schnittstelle DomainKey<String>
      Gibt zurück:
      the delimiter
    • isUsable

      public boolean isUsable()
      Beschreibung aus Schnittstelle kopiert: DomainKey
      Return true if the component is usable.
      Angegeben von:
      isUsable in Schnittstelle DomainKey<String>
      Gibt zurück:
      true if usable
    • iterator

      public Iterator<String> iterator()
      Angegeben von:
      iterator in Schnittstelle Collection<String>
      Angegeben von:
      iterator in Schnittstelle Iterable<String>
      Angegeben von:
      iterator in Klasse AbstractCollection<String>
    • size

      public int size()
      Angegeben von:
      size in Schnittstelle Collection<String>
      Angegeben von:
      size in Klasse AbstractCollection<String>
    • add

      public boolean add(String value)
      Add a component of title word. Keep each title word in sequential order. Normalize title word. Remove librarian comments in brackets. Remove all punctuation and non-visible characters. Add the title word only to components if the number of components will not exceed 5 or title word length is greater than 4 and number of components is greater than 1. That is, at most one short title word is added (for very compact and short titles) at the first component position.
      Angegeben von:
      add in Schnittstelle Collection<String>
      Setzt außer Kraft:
      add in Klasse AbstractCollection<String>
      Parameter:
      value - the value
    • encode

      public String encode() throws EncoderException
      Encode the titles.
      Angegeben von:
      encode in Schnittstelle DomainKey<String>
      Gibt zurück:
      the encoded title form
      Löst aus:
      EncoderException - if cencoder fails
    • normalize

      protected String normalize(String value)