Class HeaderImpl

  • All Implemented Interfaces:
    Header

    public class HeaderImpl
    extends BaseDocumentElem
    implements Header
    IMPORTANT: Never instantiate directly this class!
    HeaderImpl represents the header of a paper
    • Method Detail

      • getPlainText

        public String getPlainText()
        Description copied from interface: Header
        The plain text of the paper header
        Specified by:
        getPlainText in interface Header
        Returns:
      • setPlainText

        public void setPlainText​(String plainText)
      • getTitles

        public Map<LangENUM,​String> getTitles()
        Description copied from interface: Header
        The titles of the paper (each one with its own language) Useful in case of papers with multiple titles in multiple languages.
        Specified by:
        getTitles in interface Header
        Returns:
      • addTitle

        public void addTitle​(LangENUM language,
                             String title)
      • getAuthorList

        public List<Author> getAuthorList()
        Description copied from interface: Header
        The authors of the paper
        Specified by:
        getAuthorList in interface Header
        Returns:
      • setAuthorList

        public void setAuthorList​(List<Author> authorList)
      • getYear

        public String getYear()
        Description copied from interface: Header
        The year of the paper
        Specified by:
        getYear in interface Header
        Returns:
      • setYear

        public void setYear​(String year)
      • getPages

        public String getPages()
        Description copied from interface: Header
        The pages
        Specified by:
        getPages in interface Header
        Returns:
      • setPages

        public void setPages​(String pages)
      • getFirstPage

        public String getFirstPage()
        Description copied from interface: Header
        The first page
        Specified by:
        getFirstPage in interface Header
        Returns:
      • setFirstPage

        public void setFirstPage​(String firstPage)
      • getLastPage

        public String getLastPage()
        Description copied from interface: Header
        The last page
        Specified by:
        getLastPage in interface Header
        Returns:
      • setLastPage

        public void setLastPage​(String lastPage)
      • setPubID

        public void setPubID​(PubIdENUM pubIDtype,
                             String pubIDvalue)
      • getOpenURL

        public String getOpenURL()
        Description copied from interface: Header
        The open URL of the paper
        Specified by:
        getOpenURL in interface Header
        Returns:
      • setOpenURL

        public void setOpenURL​(String openURL)
      • getPubID

        public String getPubID​(PubIdENUM pubIDtype)
        Description copied from interface: Header
        The specific ID of the paper, if any
        Specified by:
        getPubID in interface Header
        Returns:
      • getBibsonomyURL

        public String getBibsonomyURL()
        Description copied from interface: Header
        The bibsonomy URL of the paper
        Specified by:
        getBibsonomyURL in interface Header
        Returns:
      • setBibsonomyURL

        public void setBibsonomyURL​(String bibsonomyURL)
      • getChapter

        public String getChapter()
        Description copied from interface: Header
        The chapter of the paper
        Specified by:
        getChapter in interface Header
        Returns:
      • setChapter

        public void setChapter​(String chapter)
      • getVolume

        public String getVolume()
        Description copied from interface: Header
        The volume of the paper
        Specified by:
        getVolume in interface Header
        Returns:
      • setVolume

        public void setVolume​(String volume)
      • getIssue

        public String getIssue()
        Description copied from interface: Header
        The issue of the paper
        Specified by:
        getIssue in interface Header
        Returns:
      • setIssue

        public void setIssue​(String issue)
      • getSeries

        public String getSeries()
        Description copied from interface: Header
        The series of the paper
        Specified by:
        getSeries in interface Header
        Returns:
      • setSeries

        public void setSeries​(String series)
      • getPublisher

        public String getPublisher()
        Description copied from interface: Header
        The publisher of the paper
        Specified by:
        getPublisher in interface Header
        Returns:
      • setPublisher

        public void setPublisher​(String publisher)
      • getPublisherLoc

        public String getPublisherLoc()
        Description copied from interface: Header
        The location of the publisher of the paper
        Specified by:
        getPublisherLoc in interface Header
        Returns:
      • setPublisherLoc

        public void setPublisherLoc​(String publisherLoc)
      • getJournal

        public String getJournal()
        Description copied from interface: Header
        The journal of the paper
        Specified by:
        getJournal in interface Header
        Returns:
      • setJournal

        public void setJournal​(String journal)
      • getEdition

        public String getEdition()
        Description copied from interface: Header
        The edition of the paper
        Specified by:
        getEdition in interface Header
        Returns:
      • setEdition

        public void setEdition​(String edition)
      • getEditorList

        public List<Author> getEditorList()
        Description copied from interface: Header
        The list of editors of the paper
        Specified by:
        getEditorList in interface Header
        Returns:
      • setEditorList

        public void setEditorList​(List<Author> editorList)
      • getInstitutions

        public List<Institution> getInstitutions()
        Description copied from interface: Header
        Get all the institutions mentioned in the header
        Specified by:
        getInstitutions in interface Header
        Returns:
      • setInstitutions

        public void setInstitutions​(List<Institution> institutions)
      • addAuthor

        public void addAuthor​(Author auth)
      • addInstitution

        public void addInstitution​(Institution inst)
      • asString

        public String asString​(boolean compactOutput)
        Description copied from interface: Header
        String representation of the object
        Specified by:
        asString in interface Header
        Returns: