Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for parsing (0.21 sec)

  1. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParser.java

        /**
         * Parse the model obtained previously by a previous call to {@link #locate(Path)}.
         *
         * @param source the source to parse, never {@code null}
         * @param options possible parsing options, may be {@code null}
         * @return the parsed {@link Model}, never {@code null}
         * @throws ModelParserException if the model cannot be parsed
         */
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        @Nonnull
        default T fromXmlString(@Nonnull String xml) throws XmlReaderException {
            return read(new StringReader(xml));
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Nov 17 15:52:15 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  3. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

        // TODO These two tests display a lack of symmetry with respect to the input which is a free form string and the
        //      mojo descriptor which comes back. All the free form parsing needs to be done somewhere else, this is
        //      really the function of the CLI, and then the pre-processing of that output still needs to be fed into
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 13.1K bytes
    - Viewed (0)
  4. 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";
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                // even before the arguments from the command line are parsed.  Any exception
                // that would happen here should cause the build to fail at a later stage
                // (when actually parsing the POM) and will lead to a better exception being
                // displayed to the user, so just bail out and return false.
            }
            return false;
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  6. maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

    public interface ToolchainsBuilder {
    
        /**
         * Builds the toolchains model from the configured toolchain files.
         *
         * @param userToolchainsFile The path to the toolchains file, may be <code>null</code> to disable parsing.
         * @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does
         *         not exist.
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.8K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static Model fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultModelXmlFactory().fromXmlString(xml);
        }
    
        /**
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Dec 07 20:05:02 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static Model fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultModelXmlFactory().fromXmlString(xml);
        }
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param version the version string to parse
         * @return the version parsed from the given string
         * @throws org.apache.maven.api.services.VersionParserException if the parsing failed
         * @see org.apache.maven.api.services.VersionParser#parseVersion(String)
         */
        @Nonnull
        Version parseVersion(@Nonnull String version);
    
        /**
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 30K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

        }
    
        /**
         * Simply parse the given xml string.
         *
         * @param xml the input xml string
         * @return the parsed object
         * @throws XmlReaderException if an error occurs during the parsing
         * @see #toXmlString(Object)
         */
        public static PluginDescriptor fromXml(@Nonnull String xml) throws XmlReaderException {
            return new DefaultPluginXmlFactory().fromXmlString(xml);
        }
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 5K bytes
    - Viewed (0)
Back to top