Class DocumentFormat


  • public final class DocumentFormat
    extends com.azure.core.util.ExpandableStringEnum<DocumentFormat>
    Defines values for DocumentFormat.
    • Field Detail

      • JSON

        public static final DocumentFormat JSON
        Static value json for DocumentFormat.
      • XML

        public static final DocumentFormat XML
        Static value xml for DocumentFormat.
      • HR_XML

        public static final DocumentFormat HR_XML
        Static value hr-xml for DocumentFormat.
    • Constructor Detail

      • DocumentFormat

        public DocumentFormat()
    • Method Detail

      • fromString

        public static DocumentFormat fromString​(String name)
        Creates or finds a DocumentFormat from its string representation.
        Parameters:
        name - a name to look for.
        Returns:
        the corresponding DocumentFormat.