Class PageCountLimit

  • All Implemented Interfaces:
    Serializable, Comparable<Limit>

    public class PageCountLimit
    extends Limit
    A Limit restricting the maximum number of pages within a generated document.

    This Limit is only respected on those nodes that generate documents and where this type of limit makes sense. See the javadoc of the individual nodes.

    See Also:
    Serialized Form
    • Constructor Detail

      • PageCountLimit

        public PageCountLimit​(int maximumNumberOfPages)
    • Method Detail

      • compareTo

        public int compareTo​(Limit other)
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in class Limit
      • doesExceed

        public boolean doesExceed​(long count)
        Specified by:
        doesExceed in class Limit