Class DocumentPage


  • public class DocumentPage
    extends Object
    DocumentPage
    • Constructor Detail

      • DocumentPage

        public DocumentPage()
    • Method Detail

      • pageName

        public DocumentPage pageName​(String pageName)
        pageName
        Parameters:
        pageName -
        Returns:
        the current DocumentPage instance, allowing for method chaining
      • getPageName

        public String getPageName()
        pageName
        Returns:
        pageName
      • setPageName

        public void setPageName​(String pageName)
        pageName
        Parameters:
        pageName -
      • pageNumber

        public DocumentPage pageNumber​(Integer pageNumber)
        pageNumber
        Parameters:
        pageNumber -
        Returns:
        the current DocumentPage instance, allowing for method chaining
      • getPageNumber

        public Integer getPageNumber()
        pageNumber
        Returns:
        pageNumber
      • setPageNumber

        public void setPageNumber​(Integer pageNumber)
        pageNumber
        Parameters:
        pageNumber -
      • equals

        public boolean equals​(Object o)
        Return true if this DocumentPage object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static DocumentPage fromJson​(String jsonString)
                                     throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of DocumentPage given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of DocumentPage
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to DocumentPage
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of DocumentPage to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException