public static enum JcrExportCommand.Format extends Enum<JcrExportCommand.Format>
Modifier and Type | Method and Description |
---|---|
protected ContentHandler |
getContentHandler(OutputStream out) |
protected abstract ContentHandler |
getContentHandler(OutputStream out,
boolean prettyPrint) |
Class<? extends org.apache.jackrabbit.commons.xml.Exporter> |
getDefaultExporterClass() |
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()
protected ContentHandler getContentHandler(OutputStream out)
protected abstract ContentHandler getContentHandler(OutputStream out, boolean prettyPrint)
public static boolean isSupportedExtension(String extension)
Copyright © 2003–2020 Magnolia International Ltd.. All rights reserved.