Enum OdfSchemaDocument.OdfXMLFile

java.lang.Object
java.lang.Enum<OdfSchemaDocument.OdfXMLFile>
org.odftoolkit.odfdom.dom.OdfSchemaDocument.OdfXMLFile
All Implemented Interfaces:
Serializable, Comparable<OdfSchemaDocument.OdfXMLFile>, java.lang.constant.Constable
Enclosing class:
OdfSchemaDocument

public static enum OdfSchemaDocument.OdfXMLFile extends Enum<OdfSchemaDocument.OdfXMLFile>
This enum contains all possible standardized XML ODF files of the OpenDocument document.
  • Enum Constant Details

    • CONTENT

      public static final OdfSchemaDocument.OdfXMLFile CONTENT
      The XML file containing the content of an ODF document as specified by the ODF 1.2 specification part 1.
    • META

      public static final OdfSchemaDocument.OdfXMLFile META
      The XML file containing a predifined set of metadata related to an ODF document as specified by the ODF 1.2 specification part 1.
    • SETTINGS

      public static final OdfSchemaDocument.OdfXMLFile SETTINGS
      The XML file containing the settings of an ODF document as specified by the ODF 1.2 specification part 1.
    • STYLES

      public static final OdfSchemaDocument.OdfXMLFile STYLES
      The XML file containing the styles of an ODF document as specified by the ODF 1.2 specification part 1.
  • Method Details

    • values

      public static OdfSchemaDocument.OdfXMLFile[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static OdfSchemaDocument.OdfXMLFile valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getFileName

      public String getFileName()
      Returns:
      the file name of xml files contained in odf packages.