public static enum TransformContext.Shape extends java.lang.Enum<TransformContext.Shape>
Enum Constant and Description |
---|
CREATE
The apply method for this context creates a model at the
context pending location , using the {@link |
DELETE
The apply method for this context deletes the model of the
context location . |
MOVE
The apply method for this context moves the model of the
context location to the context
pending location , possibly changing its file type. |
READ
The apply method for this context reads from the model of the
context location (and does not write to it). |
WRITE
The apply method for this context writes to the model of the
context location . |
Modifier and Type | Method and Description |
---|---|
static TransformContext.Shape |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransformContext.Shape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformContext.Shape READ
context location
(and does not write to it). Occasionally
useful as part of a multiple context transform which needs to gather
information in one context for use in another.public static final TransformContext.Shape WRITE
context location
.public static final TransformContext.Shape CREATE
context pending location
, using the {@linkpublic static final TransformContext.Shape DELETE
context location
.public static final TransformContext.Shape MOVE
context location
to the context
pending location
, possibly changing its file type.public static TransformContext.Shape[] values()
for (TransformContext.Shape c : TransformContext.Shape.values()) System.out.println(c);
public static TransformContext.Shape 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 null