Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for isStrict (0.06 sec)

  1. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

                if (inputStream != null) {
                    return xml.read(inputStream, request.isStrict());
                } else if (reader != null) {
                    return xml.read(reader, request.isStrict());
                } else if (path != null) {
                    try (InputStream is = Files.newInputStream(path)) {
                        return xml.read(is, request.isStrict());
                    }
                } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

            } catch (XMLStreamException e) {
                throw new SettingsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

                return new Metadata(new MetadataStaxReader().read(in, isStrict(options)));
            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        private boolean isStrict(Map<String, ?> options) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

                this.transformer = transformer;
                return this;
            }
    
            public XmlReaderRequestBuilder strict(boolean strict) {
                this.strict = strict;
                return this;
            }
    
            public XmlReaderRequestBuilder modelId(String modelId) {
                this.modelId = modelId;
                return this;
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                InputSource source = getSource(options);
                boolean strict = isStrict(options);
                MavenStaxReader mr = new MavenStaxReader();
                mr.setAddLocationInformation(source != null);
                Model model = new Model(mr.read(parser, strict, source != null ? source.toApiSource() : null));
                return model;
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java

    @Deprecated(since = "4.0.0")
    public interface ModelReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.model.io.isStrict";
    
        /**
         * The key for the option to enable tracking of line/column numbers. This option is of type
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java

     *
     */
    public interface MetadataReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.artifact.repository.metadata.io.isStrict";
    
        /**
         * Reads the metadata from the specified file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java

    @Deprecated(since = "4.0.0")
    public interface SettingsReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.settings.io.isStrict";
    
        /**
         * Reads the settings from the specified file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java

    @Deprecated(since = "4.0.0")
    public interface ToolchainsReader {
    
        /**
         * The key for the option to enable strict parsing. This option is of type {@link Boolean} and defaults to {@code
         * true}. If {@code false}, unknown elements will be ignored instead of causing a failure.
         */
        String IS_STRICT = "org.apache.maven.toolchains.io.isStrict";
    
        /**
         * Reads the toolchains from the specified file.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top