|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<NodeOperationType>
com.android.manifmerger.NodeOperationType
public enum NodeOperationType
Defines node operation types as it can be provided by user's through attributes on the target xml element.
Example:
Enum Constant Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
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
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isSelectable()
Selector
public java.lang.String toXmlName()
ConvertibleName
toXmlName
in interface ConvertibleName
public java.lang.String toCamelCaseName()
ConvertibleName
toCamelCaseName
in interface ConvertibleName
public boolean isOverriding()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |