Enum Class XmlDocument.Type

java.lang.Object
java.lang.Enum<XmlDocument.Type>
com.android.manifmerger.XmlDocument.Type
All Implemented Interfaces:
Serializable, Comparable<XmlDocument.Type>, Constable
Enclosing class:
XmlDocument

public static enum XmlDocument.Type extends Enum<XmlDocument.Type>
The document type.
  • Enum Constant Details

    • OVERLAY

      public static final XmlDocument.Type OVERLAY
      A manifest overlay as found in the build types and variants.
    • MAIN

      public static final XmlDocument.Type MAIN
      The main android manifest file.
    • LIBRARY

      public static final XmlDocument.Type LIBRARY
      A library manifest that is imported in the application.
  • Method Details

    • values

      public static XmlDocument.Type[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static XmlDocument.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null