Module jonix.onix2

Class Width

java.lang.Object
com.tectonica.jonix.onix2.Width
All Implemented Interfaces:
OnixElement<String>, OnixTag, Serializable

@Deprecated public class Width extends Object implements OnixElement<String>, Serializable
Deprecated.

Overall width

The overall width of the product: in the case of a book, the cover or case width, in the units specified in the message header, <DefaultLinearUnit> field, defined in the ONIX for Books – Product Information Message – XML Message Specification. Optional and non-repeating. The <Measure> composite on a previous page provides a more general method of handling measurements, and is to be preferred.

Format Variable length real number, with an explicit decimal point when required, suggested maximum length 6 characters including a decimal point.
Reference name <Width>
Short tag <c097>
Example <Width>5.5</Width>

This tag may be included in the following composites:

Possible placements within ONIX message:

See Also:
  • Field Details

    • refname

      public static final String refname
      Deprecated.
      See Also:
    • shortname

      public static final String shortname
      Deprecated.
      See Also:
    • textformat

      public TextFormats textformat
      Deprecated.
    • textcase

      public TextCaseFlags textcase
      Deprecated.
    • language

      public Languages language
      Deprecated.
    • transliteration

      public TransliterationSchemes transliteration
      Deprecated.
    • datestamp

      public String datestamp
      Deprecated.
      (type: DateOrDateTime)
    • sourcetype

      public RecordSourceTypes sourcetype
      Deprecated.
    • sourcename

      public String sourcename
      Deprecated.
    • value

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

      Raw Format: Variable length real number, with an explicit decimal point when required, suggested maximum length 6 characters including a decimal point.

      (type: NonEmptyString)

    • EMPTY

      public static final Width EMPTY
      Deprecated.
  • Constructor Details

    • Width

      public Width()
      Deprecated.
    • Width

      public Width(Element element)
      Deprecated.
  • Method Details

    • __v

      public String __v()
      Deprecated.
      Internal API, use the OnixElement.value() method or the OnixElement.value() field instead
      Specified by:
      __v in interface OnixElement<String>
    • exists

      public boolean exists()
      Deprecated.
      Description copied from interface: OnixTag
      indicates whether this tag exists in the ONIX record
      Specified by:
      exists in interface OnixTag
      Returns:
      whether this tag (<Width> or <c097>) is explicitly provided in the ONIX XML
    • ifExists

      public void ifExists(Consumer<Width> action)
      Deprecated.