org.odftoolkit.odfdom.dom
Enum OdfDocumentNamespace

java.lang.Object
  extended by java.lang.Enum<OdfDocumentNamespace>
      extended by 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


Enum Constant Summary
ANIM
           
CHART
           
CONFIG
           
DB
           
DC
           
DR3D
           
DRAW
           
FO
           
FORM
           
GRDDL
           
MATH
           
META
           
NUMBER
           
OF
           
OFFICE
           
PRESENTATION
           
SCRIPT
           
SMIL
           
STYLE
           
SVG
           
TABLE
           
TEXT
           
XFORMS
           
XHTML
           
XLINK
           
XML
           
 
Method Summary
 String getPrefix()
           
 String getUri()
           
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.
 
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 OdfDocumentNamespace ANIM

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

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 name
NullPointerException - if the argument is null

getPrefix

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

getUri

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


Copyright © 2008-2017 The Apache Software Foundation. All Rights Reserved.