Class AbstractTriplet

java.lang.Object
org.apache.fop.afp.modca.AbstractAFPObject
org.apache.fop.afp.modca.triplets.AbstractTriplet
All Implemented Interfaces:
Triplet, Streamable, StructuredData
Direct Known Subclasses:
ActiveEnvironmentGroup.FontFullyQualifiedNameTriplet, AttributeQualifierTriplet, AttributeValueTriplet, CommentTriplet, DescriptorPositionTriplet, EncodingTriplet, ExtendedResourceLocalIdentifierTriplet, FullyQualifiedNameTriplet, MappingOptionTriplet, MeasurementUnitsTriplet, ObjectAreaSizeTriplet, ObjectByteExtentTriplet, ObjectClassificationTriplet, PresentationSpaceMixingRulesTriplet, PresentationSpaceResetMixingTriplet, ResourceObjectTypeTriplet

public abstract class AbstractTriplet extends AbstractAFPObject implements Triplet
A simple implementation of a MOD:CA triplet
  • Field Details

    • id

      protected final byte id
      the triplet identifier
  • Constructor Details

    • AbstractTriplet

      public AbstractTriplet(byte id)
      Constructor
      Parameters:
      id - the triplet identifier (see static definitions above)
  • Method Details

    • getId

      public byte getId()
      Returns the triplet identifier
      Returns:
      the triplet identifier
    • getData

      public byte[] getData()
      Returns the structured triplet data array
      Returns:
      the structured triplet data array