org.odftoolkit.odfdom.dom
Enum OdfNamespaceNames

java.lang.Object
  extended by java.lang.Enum<OdfNamespaceNames>
      extended by org.odftoolkit.odfdom.dom.OdfNamespaceNames
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OdfNamespaceNames>, NamespaceName

public enum OdfNamespaceNames
extends java.lang.Enum<OdfNamespaceNames>
implements NamespaceName

Namespaces of OpenDocument 1.2 XML Schema


Enum Constant Summary
ANIM
           
CHART
           
CONFIG
           
DB
           
DC
           
DR3D
           
DRAW
           
FO
           
FORM
           
GRDDL
           
MATH
           
META
           
NUMBER
           
OFFICE
           
PRESENTATION
           
SCRIPT
           
SMIL
           
STYLE
           
SVG
           
TABLE
           
TEXT
           
XFORMS
           
XHTML
           
XLINK
           
XML
           
 
Method Summary
 java.lang.String getPrefix()
           
 java.lang.String getUri()
           
static OdfNamespaceNames valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OdfNamespaceNames[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

ANIM

public static final OdfNamespaceNames ANIM

CHART

public static final OdfNamespaceNames CHART

CONFIG

public static final OdfNamespaceNames CONFIG

DB

public static final OdfNamespaceNames DB

DC

public static final OdfNamespaceNames DC

DR3D

public static final OdfNamespaceNames DR3D

DRAW

public static final OdfNamespaceNames DRAW

FO

public static final OdfNamespaceNames FO

FORM

public static final OdfNamespaceNames FORM

GRDDL

public static final OdfNamespaceNames GRDDL

MATH

public static final OdfNamespaceNames MATH

META

public static final OdfNamespaceNames META

NUMBER

public static final OdfNamespaceNames NUMBER

OFFICE

public static final OdfNamespaceNames OFFICE

PRESENTATION

public static final OdfNamespaceNames PRESENTATION

SCRIPT

public static final OdfNamespaceNames SCRIPT

SMIL

public static final OdfNamespaceNames SMIL

STYLE

public static final OdfNamespaceNames STYLE

SVG

public static final OdfNamespaceNames SVG

TABLE

public static final OdfNamespaceNames TABLE

TEXT

public static final OdfNamespaceNames TEXT

XFORMS

public static final OdfNamespaceNames XFORMS

XHTML

public static final OdfNamespaceNames XHTML

XLINK

public static final OdfNamespaceNames XLINK

XML

public static final OdfNamespaceNames XML
Method Detail

values

public static OdfNamespaceNames[] 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 (OdfNamespaceNames c : OdfNamespaceNames.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static OdfNamespaceNames valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getPrefix

public java.lang.String getPrefix()
Specified by:
getPrefix in interface NamespaceName
Returns:
the prefix currently related to ODF Namespace.

getUri

public java.lang.String getUri()
Specified by:
getUri in interface NamespaceName
Returns:
the URI identifiying the ODF Namespace.


Copyright © 2008-2010 ODF Toolkit Project. All Rights Reserved.