public static enum JcrExportCommand.Format extends Enum<JcrExportCommand.Format>
Modifier and Type | Method and Description |
---|---|
Class<? extends org.apache.jackrabbit.commons.xml.Exporter> |
getDefaultExporterClass() |
org.jdom.output.XMLOutputter |
getDefaultOutputter() |
static boolean |
isSupportedExtension(String extension) |
static JcrExportCommand.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JcrExportCommand.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JcrExportCommand.Format XML
public static final JcrExportCommand.Format YAML
public static JcrExportCommand.Format[] values()
for (JcrExportCommand.Format c : JcrExportCommand.Format.values()) System.out.println(c);
public static JcrExportCommand.Format valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Class<? extends org.apache.jackrabbit.commons.xml.Exporter> getDefaultExporterClass()
public org.jdom.output.XMLOutputter getDefaultOutputter()
public static boolean isSupportedExtension(String extension)
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.