Class MediaTypeTrait

All Implemented Interfaces:
FromSourceLocation, ToNode, ToShapeId, Trait

public final class MediaTypeTrait extends StringTrait
Documents the media type of a blob shape.
  • Field Details

    • ID

      public static final ShapeId ID
  • Constructor Details

    • MediaTypeTrait

      public MediaTypeTrait(String value, SourceLocation sourceLocation)
    • MediaTypeTrait

      public MediaTypeTrait(String value)