Enum XmlEncoderFlags

    • Enum Constant Detail

      • ENCODE_NAMESPACE

        public static final XmlEncoderFlags ENCODE_NAMESPACE
        Should be of type String.
      • ADD_SCHEMA_LOCATION

        public static final XmlEncoderFlags ADD_SCHEMA_LOCATION
        Should be of type boolean.
      • XML_VERSION

        public static final XmlEncoderFlags XML_VERSION
        Should be of type String.
      • XML_OPTIONS

        public static final XmlEncoderFlags XML_OPTIONS
        Should be of type java.util.function.Supplier<org.apache.xmlbeans.XmlOptions>.
    • Method Detail

      • values

        public static XmlEncoderFlags[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (XmlEncoderFlags c : XmlEncoderFlags.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static XmlEncoderFlags valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
        NullPointerException - if the argument is null