Enum ParserOptions

    • Enum Constant Detail

      • RESOLVE_ALL_BINDINGS

        public static final ParserOptions RESOLVE_ALL_BINDINGS
        If the binding-based resolution is executed by RESOLVE_BINDINGS and this option is true, references are transitively and recursively resolved with bindings.
      • RESOLVE_BINDINGS

        public static final ParserOptions RESOLVE_BINDINGS
        Controls the binding-based resolution. If the option is true, bindings are used to resolve references directly after the parsing.
      • RESOLVE_BINDINGS_OF_INFERABLE_TYPES

        public static final ParserOptions RESOLVE_BINDINGS_OF_INFERABLE_TYPES
        If this option is true, the bindings of variables with var as type are used to resolve the type.
      • CREATE_LAYOUT_INFORMATION

        public static final ParserOptions CREATE_LAYOUT_INFORMATION
        If this option is true, a minimal layout information is stored for every model element during the parsing. If the option is not set or set to false, no layout information is created.
      • PREFER_BINDING_CONVERSION

        public static final ParserOptions PREFER_BINDING_CONVERSION
        If the binding-based resolution is executed and the reference resolution encounters a reference for which a binding is available and a mapping to a physical file, this option controls if the file is loaded or the binding is converted. If the option is true, bindings are converted without loading the file. Otherwise, the file is loaded.
      • RESOLVE_EVERYTHING

        public static final ParserOptions RESOLVE_EVERYTHING
        If this option is true, references without bindings are resolved during the binding-based resolution.
      • REGISTER_LOCAL

        public static final ParserOptions REGISTER_LOCAL
        If this option is true, the mapping between logical and physical URIs in the JavaClasspath are only stored for the ResourceSet of a corresponding model element.
    • Method Detail

      • values

        public static ParserOptions[] 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 (ParserOptions c : ParserOptions.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ParserOptions 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
      • setValue

        public void setValue​(Object v)
      • getValue

        public Object getValue()
      • isTrue

        public boolean isTrue()