Class OutputFormat.OutputFormatBuilder

java.lang.Object
org.ivoa.dm.registry.tap.OutputFormat.OutputFormatBuilder
Enclosing class:
OutputFormat

public static class OutputFormat.OutputFormatBuilder extends Object
A builder class for OutputFormat, mainly for use in the functional builder pattern.
  • Field Details

    • mime

      public String mime
      The MIME type of this format. The format of this string is specified by RFC 2045. The service has to accept this string as a value of the FORMAT parameter.
    • alias

      public List<String> alias
      Other values of FORMAT ('shorthands') that make the service return documents with the MIME type.
    • ivoid

      public String ivoid
      An optional IVORN of the output format. When the MIME type does not uniquely define the format (or a generic MIME like application/octet-stream or text/plain is given), the IVORN can point to a key or StandardsRegExt document defining the format more precisely. To see values defined in TAPRegExt, retrieve the ivo://ivoa.net/std/TAPRegExt resource record and look for keys starting with 'output-'.
  • Constructor Details

    • OutputFormatBuilder

      public OutputFormatBuilder()
  • Method Details

    • create

      public OutputFormat create()
      create a OutputFormat from this builder.
      Returns:
      an object initialized from the builder.