Package org.odftoolkit.odfdom.dom
Enum OdfDocumentNamespace
- java.lang.Object
-
- java.lang.Enum<OdfDocumentNamespace>
-
- org.odftoolkit.odfdom.dom.OdfDocumentNamespace
-
- All Implemented Interfaces:
Serializable
,Comparable<OdfDocumentNamespace>
,NamespaceName
public enum OdfDocumentNamespace extends Enum<OdfDocumentNamespace> implements NamespaceName
Namespaces of OpenDocument 1.2 XML Schema
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPrefix()
String
getUri()
String
toString()
static OdfDocumentNamespace
valueOf(String name)
Returns the enum constant of this type with the specified name.static OdfDocumentNamespace[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANIM
public static final OdfDocumentNamespace ANIM
-
CALCEXT
public static final OdfDocumentNamespace CALCEXT
-
CHART
public static final OdfDocumentNamespace CHART
-
CONFIG
public static final OdfDocumentNamespace CONFIG
-
DB
public static final OdfDocumentNamespace DB
-
DC
public static final OdfDocumentNamespace DC
-
DR3D
public static final OdfDocumentNamespace DR3D
-
DRAW
public static final OdfDocumentNamespace DRAW
-
FO
public static final OdfDocumentNamespace FO
-
FORM
public static final OdfDocumentNamespace FORM
-
GRDDL
public static final OdfDocumentNamespace GRDDL
-
MATH
public static final OdfDocumentNamespace MATH
-
META
public static final OdfDocumentNamespace META
-
NUMBER
public static final OdfDocumentNamespace NUMBER
-
OF
public static final OdfDocumentNamespace OF
-
OFFICE
public static final OdfDocumentNamespace OFFICE
-
OOO
public static final OdfDocumentNamespace OOO
-
PRESENTATION
public static final OdfDocumentNamespace PRESENTATION
-
SCRIPT
public static final OdfDocumentNamespace SCRIPT
-
SMIL
public static final OdfDocumentNamespace SMIL
-
STYLE
public static final OdfDocumentNamespace STYLE
-
SVG
public static final OdfDocumentNamespace SVG
-
TABLE
public static final OdfDocumentNamespace TABLE
-
TEXT
public static final OdfDocumentNamespace TEXT
-
XFORMS
public static final OdfDocumentNamespace XFORMS
-
XHTML
public static final OdfDocumentNamespace XHTML
-
XLINK
public static final OdfDocumentNamespace XLINK
-
XML
public static final OdfDocumentNamespace XML
-
-
Method Detail
-
values
public static OdfDocumentNamespace[] 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 (OdfDocumentNamespace c : OdfDocumentNamespace.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OdfDocumentNamespace 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
-
getPrefix
public String getPrefix()
- Specified by:
getPrefix
in interfaceNamespaceName
- Returns:
- the prefix by default related to ODF Namespace.
-
getUri
public String getUri()
- Specified by:
getUri
in interfaceNamespaceName
- Returns:
- the URI identifiying the ODF Namespace.
-
toString
public String toString()
- Overrides:
toString
in classEnum<OdfDocumentNamespace>
- Returns:
- the prefix by default related to ODF Namespace
-
-