public enum NodeOperationType extends java.lang.Enum<NodeOperationType> implements ConvertibleName
Example:
<activity android:name="com.foo.bar.ActivityUI"
tools:node="remove_children">
</activity>
| Enum Constant and Description |
|---|
MERGE
Merges further definitions of the same element with this one.
|
MERGE_ONLY_ATTRIBUTES
Remove all children from the target element before merging it into the resulting merged
manifest.
|
REMOVE
Remove the next definition of the same element from the resulting merged manifest.
|
REMOVE_ALL
Remove all definitions of the same element from the resulting merged manifest.
|
REMOVE_CHILDREN
Remove all children from the target element before merging it into the resulting merged
manifest.
|
REPLACE
Replace further definitions of the same element with this one.
|
STRICT
No further definition of this element should be encountered.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOverriding()
Returns true if the element will override (remove or replace) lower priority elements.
|
boolean |
isSelectable()
Returns true if this operation supports a
Selector |
java.lang.String |
toCamelCaseName()
Returns a camel case version of itself.
|
java.lang.String |
toXmlName()
Returns a xml lower-hyphen separated name of itself.
|
static NodeOperationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeOperationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeOperationType MERGE
public static final NodeOperationType MERGE_ONLY_ATTRIBUTES
public static final NodeOperationType REPLACE
public static final NodeOperationType REMOVE
public static final NodeOperationType REMOVE_ALL
public static final NodeOperationType REMOVE_CHILDREN
public static final NodeOperationType STRICT
public static NodeOperationType[] values()
for (NodeOperationType c : NodeOperationType.values()) System.out.println(c);
public static NodeOperationType 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 nullpublic boolean isSelectable()
Selectorpublic java.lang.String toXmlName()
ConvertibleNametoXmlName in interface ConvertibleNamepublic java.lang.String toCamelCaseName()
ConvertibleNametoCamelCaseName in interface ConvertibleNamepublic boolean isOverriding()