Module jonix.onix3

Class NumberOfPages

java.lang.Object
com.tectonica.jonix.onix3.NumberOfPages
All Implemented Interfaces:
OnixElement<Integer>, OnixTag, Serializable

public class NumberOfPages extends Object implements OnixElement<Integer>, Serializable

Number of pages

The page extent of a text item within a paginated product. Optional and non-repeating, but normally expected when the text item is being referenced as part of a structured table of contents.

Format Positive integer, suggested maximum length 6 digits
Reference name <NumberOfPages>
Short tag <b061>
Cardinality 0…1
Example <NumberOfPages>12</NumberOfPages>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      See Also:
    • shortname

      public static final String shortname
      See Also:
    • datestamp

      public String datestamp
      (type: dt.DateOrDateTime)
    • sourcename

      public String sourcename
      (type: dt.NonEmptyString)
    • sourcetype

      public RecordSourceTypes sourcetype
    • value

      public Integer value
      This is the raw content of NumberOfPages. Could be null if exists() == false. Use OnixElement.value() instead if you want to get this as an Optional.

      Raw Format: Positive integer, suggested maximum length 6 digits

      (type: dt.PositiveInteger)

    • EMPTY

      public static final NumberOfPages EMPTY
  • Constructor Details

    • NumberOfPages

      public NumberOfPages()
    • NumberOfPages

      public NumberOfPages(Element element)
  • Method Details