public enum RamlFragment extends Enum<RamlFragment>
| Enum Constant and Description |
|---|
AnnotationTypeDeclaration |
DataType |
Default |
DocumentationItem |
Extension |
Library |
NamedExample |
Overlay |
ResourceType |
Trait |
| Modifier and Type | Method and Description |
|---|---|
static RamlFragment |
byName(String name) |
abstract Rule |
getRule(Raml10Grammar grammar) |
static RamlFragment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RamlFragment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RamlFragment DocumentationItem
public static final RamlFragment DataType
public static final RamlFragment NamedExample
public static final RamlFragment ResourceType
public static final RamlFragment Trait
public static final RamlFragment AnnotationTypeDeclaration
public static final RamlFragment Library
public static final RamlFragment Overlay
public static final RamlFragment Extension
public static final RamlFragment Default
public static RamlFragment[] values()
for (RamlFragment c : RamlFragment.values()) System.out.println(c);
public static RamlFragment 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 null@Nullable public static RamlFragment byName(String name)
public abstract Rule getRule(Raml10Grammar grammar)
Copyright © 2016. All rights reserved.