public enum SerializationType extends java.lang.Enum<SerializationType>
Enum Constant and Description |
---|
CND
specifies that the source is a compact node type definition
|
GENERIC
specifies that the source is generic data.
|
NONE
specifies that the source type is not serializable
|
UNKOWN
specifies that the source type is not known
|
XML_DOCVIEW
specifies that the source is a docview serialization
|
XML_GENERIC
specifies that the source is XML but the type not known
|
Modifier and Type | Method and Description |
---|---|
static SerializationType |
fromName(java.lang.String name)
Returns the serialization type with the given name
|
java.lang.String |
getContentType()
Returns the content type of this serialization type
|
java.lang.String |
getName()
Returns the name
|
java.lang.String |
toString() |
static SerializationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SerializationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SerializationType UNKOWN
public static final SerializationType NONE
public static final SerializationType XML_GENERIC
public static final SerializationType XML_DOCVIEW
public static final SerializationType CND
public static final SerializationType GENERIC
public static SerializationType[] values()
for (SerializationType c : SerializationType.values()) System.out.println(c);
public static SerializationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<SerializationType>
public java.lang.String getName()
public java.lang.String getContentType()
public static SerializationType fromName(java.lang.String name)
name
- the name to find"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"