public static enum Document.SourceTypeEnum extends Enum<Document.SourceTypeEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
Document.SourceTypeEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static Document.SourceTypeEnum |
fromValue(String text) |
String |
getValue() |
String |
toString() |
static Document.SourceTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Document.SourceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Document.SourceTypeEnum INLINE
public static final Document.SourceTypeEnum URL
public static final Document.SourceTypeEnum FILE
public static Document.SourceTypeEnum[] values()
for (Document.SourceTypeEnum c : Document.SourceTypeEnum.values()) System.out.println(c);
public static Document.SourceTypeEnum 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 String getValue()
public String toString()
toString in class Enum<Document.SourceTypeEnum>public static Document.SourceTypeEnum fromValue(String text)
Copyright © 2018 WSO2. All rights reserved.