org.jopendocument.dom
Class XMLFormatVersion

java.lang.Object
  extended by org.jopendocument.dom.XMLFormatVersion

public final class XMLFormatVersion
extends Object

Encapsulate a version of xml and its office version.

Author:
Sylvain CUAZ

Method Summary
 boolean equals(Object obj)
           
static XMLFormatVersion get(org.jdom.Document doc)
           
static XMLFormatVersion get(org.jdom.Element root)
           
static XMLFormatVersion get(XMLVersion xmlVersion, String officeVersion)
           
static XMLFormatVersion getDefault()
          The default version.
 String getOfficeVersion()
           
static XMLFormatVersion getOOo()
           
 OOXML getXML()
           
 XMLVersion getXMLVersion()
           
 int hashCode()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

getOOo

public static XMLFormatVersion getOOo()

getDefault

public static XMLFormatVersion getDefault()
The default version.

Returns:
the default version.
See Also:
OOXML.setDefault(OOXML)

get

public static XMLFormatVersion get(org.jdom.Document doc)

get

public static XMLFormatVersion get(org.jdom.Element root)

get

public static XMLFormatVersion get(XMLVersion xmlVersion,
                                   String officeVersion)

getXMLVersion

public final XMLVersion getXMLVersion()

getOfficeVersion

public final String getOfficeVersion()

getXML

public final OOXML getXML()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 jOpenDocument All Rights Reserved.