Package org.odftoolkit.odfdom.dom
Enum OdfSchemaDocument.OdfXMLFile
- java.lang.Object
-
- java.lang.Enum<OdfSchemaDocument.OdfXMLFile>
-
- org.odftoolkit.odfdom.dom.OdfSchemaDocument.OdfXMLFile
-
- All Implemented Interfaces:
Serializable
,Comparable<OdfSchemaDocument.OdfXMLFile>
- 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 Summary
Enum Constants Enum Constant Description CONTENT
The XML file containing the content of an ODF document as specified by the ODF 1.2 specification part 1.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
The XML file containing the settings of an ODF document as specified by the ODF 1.2 specification part 1.STYLES
The XML file containing the styles of an ODF document as specified by the ODF 1.2 specification part 1.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileName()
static OdfSchemaDocument.OdfXMLFile
valueOf(String name)
Returns the enum constant of this type with the specified name.static OdfSchemaDocument.OdfXMLFile[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static OdfSchemaDocument.OdfXMLFile[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OdfSchemaDocument.OdfXMLFile c : OdfSchemaDocument.OdfXMLFile.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getFileName
public String getFileName()
- Returns:
- the file name of xml files contained in odf packages.
-
-