public enum AliasStrategy extends Enum<AliasStrategy>
Modifier and Type | Class and Description |
---|---|
static class |
AliasStrategy.DataDecoder
A Data decoder for this Enum
|
Enum Constant and Description |
---|
REFER
Adds a 'id' attribute to the element with the anchor and the 'ref'
attribute to the elements with the alias.
|
REFER_RESOLVE
A combination of REFER and RESOLVE.
|
RESOLVE
The elements or value from the anchor are resolved (copied) under the
element with the alias.
|
Modifier and Type | Field and Description |
---|---|
static String |
REFER_RESOLVE_STR |
static String |
REFER_STR |
static String |
RESOLVE_STR |
Modifier and Type | Method and Description |
---|---|
static AliasStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AliasStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliasStrategy REFER
public static final AliasStrategy RESOLVE
public static final AliasStrategy REFER_RESOLVE
public static final String REFER_STR
public static final String RESOLVE_STR
public static final String REFER_RESOLVE_STR
public static AliasStrategy[] values()
for (AliasStrategy c : AliasStrategy.values()) System.out.println(c);
public static AliasStrategy 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 nullCopyright © 2020. All rights reserved.