public enum GraphMLSharingPolicy extends Enum<GraphMLSharingPolicy>
GraphML.shareable()
,
XamlSerializer
Enum Constant and Description |
---|
ALWAYS
Always share the object.
|
AUTO
Specifies that the share mode of a member should be determined automatically according to the current property value.
|
NEVER
Never share the object.
|
Modifier and Type | Method and Description |
---|---|
static GraphMLSharingPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static GraphMLSharingPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GraphMLSharingPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GraphMLSharingPolicy ALWAYS
This will also always place the object in the resources section, even if it only occurs once in the document.
public static final GraphMLSharingPolicy AUTO
public static final GraphMLSharingPolicy NEVER
public static final GraphMLSharingPolicy fromOrdinal(int ordinal)
public int value()
public static GraphMLSharingPolicy valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static GraphMLSharingPolicy[] values()
for (GraphMLSharingPolicy c : GraphMLSharingPolicy.values()) System.out.println(c);