|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<ODPackage.RootElement> org.jopendocument.dom.ODPackage.RootElement
public static enum ODPackage.RootElement
Root element of an OpenDocument document. See section 22.2.1 of v1.2-part1-cd04.
Enum Constant Summary | |
---|---|
CONTENT
Document content and automatic styles used in the content, see 3.1.3.2 |
|
META
Document metadata elements, see 3.1.3.4 |
|
SETTINGS
Implementation-specific settings, see 3.1.3.5 |
|
SINGLE_CONTENT
Contains the entire document, see 3.1.2 of OpenDocument-v1.2-part1-cd04 |
|
STYLES
Styles used in document content and automatic styles used in styles, see 3.1.3.3 |
Method Summary | |
---|---|
org.jdom.DocType |
createDocType(XMLVersion version)
|
org.jdom.Document |
createDocument(XMLFormatVersion fv)
|
static ODPackage.RootElement |
fromDocument(org.jdom.Document doc)
|
static ODPackage.RootElement |
fromElementName(String name)
|
String |
getElementName()
|
String |
getElementNSPrefix()
|
static EnumSet<ODPackage.RootElement> |
getPackageElements()
|
String |
getZipEntry()
The name of the zip entry in the package. |
static ODPackage.RootElement |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ODPackage.RootElement[] |
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 |
---|
public static final ODPackage.RootElement SINGLE_CONTENT
public static final ODPackage.RootElement CONTENT
public static final ODPackage.RootElement STYLES
public static final ODPackage.RootElement META
public static final ODPackage.RootElement SETTINGS
Method Detail |
---|
public static ODPackage.RootElement[] values()
for (ODPackage.RootElement c : ODPackage.RootElement.values()) System.out.println(c);
public static ODPackage.RootElement valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static final EnumSet<ODPackage.RootElement> getPackageElements()
public static final ODPackage.RootElement fromDocument(org.jdom.Document doc)
public static final ODPackage.RootElement fromElementName(String name)
public final String getElementNSPrefix()
public final String getElementName()
public final org.jdom.Document createDocument(XMLFormatVersion fv)
public final org.jdom.DocType createDocType(XMLVersion version)
public final String getZipEntry()
null
if this element shouldn't be in a
package.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |