Module jonix.common

Class JonixExtent

java.lang.Object
com.tectonica.jonix.common.struct.JonixExtent
All Implemented Interfaces:
JonixKeyedStruct<ExtentTypes>, JonixStruct, Serializable

public class JonixExtent extends Object implements JonixKeyedStruct<ExtentTypes>, Serializable
This class is a JonixStruct that represents both Onix2 <Extent> and Onix3 <Extent>.

It can be retrieved from the composite by invoking its asStruct() method.

See Also:
  • Field Details

    • EMPTY

      public static final JonixExtent EMPTY
    • extentType

      public ExtentTypes extentType
      the key of this struct (by which it can be looked up)
    • extentUnit

      public ExtentUnits extentUnit
    • extentValue

      public Double extentValue
      Raw Format: Positive real number, with explicit decimal point when required, as appropriate for the units specified in <ExtentUnit>. Suggested maximum length 8 characters

      (type: dt.PositiveDecimal)

  • Constructor Details

    • JonixExtent

      public JonixExtent()
  • Method Details