org.odftoolkit.odfdom.doc
public static enum OdfGraphicsDocument.OdfMediaType extends Enum<OdfGraphicsDocument.OdfMediaType> implements MediaType
Enum Constant and Description |
---|
GRAPHICS |
GRAPHICS_TEMPLATE |
Modifier and Type | Method and Description |
---|---|
String |
getMediaTypeString() |
static OdfDocument.OdfMediaType |
getOdfMediaType(String mediaType) |
String |
getSuffix() |
static OdfGraphicsDocument.OdfMediaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OdfGraphicsDocument.OdfMediaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OdfGraphicsDocument.OdfMediaType GRAPHICS
public static final OdfGraphicsDocument.OdfMediaType GRAPHICS_TEMPLATE
public static OdfGraphicsDocument.OdfMediaType[] values()
for (OdfGraphicsDocument.OdfMediaType c : OdfGraphicsDocument.OdfMediaType.values()) System.out.println(c);
public static OdfGraphicsDocument.OdfMediaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic String getMediaTypeString()
getMediaTypeString
in interface MediaType
public String getSuffix()
public static OdfDocument.OdfMediaType getOdfMediaType(String mediaType)
mediaType
- string defining an ODF documentCopyright © 2008-2014 The Apache Software Foundation. All Rights Reserved.