Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for Parse (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlFactory.java

            write(XmlWriterRequest.<T>builder().content(content).writer(writer).build());
        }
    
        void write(@Nonnull XmlWriterRequest<T> request) throws XmlWriterException;
    
        /**
         * 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)
         */
    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)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionParser.java

    import org.apache.maven.api.annotations.Nonnull;
    
    /**
     * Service interface to parse {@link Version} and {@link VersionRange}.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface VersionParser extends Service {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 19 19:08:55 GMT 2023
    - 2.7K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelVersionParser.java

     *
     * @since 4.0.0
     */
    public interface ModelVersionParser {
    
        /**
         * Parses the specified version string, for example "1.0".
         *
         * @param version the version string to parse, must not be {@code null}
         * @return the parsed version, never {@code null}
         * @throws VersionParserException if the string violates the syntax rules of this scheme
         */
        @Nonnull
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

                try {
                    this.delegate = versionScheme.parseVersion(delegateValue);
                } catch (InvalidVersionSpecificationException e) {
                    throw new VersionParserException("Unable to parse version: " + delegateValue, e);
                }
            }
    
            @Override
            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginDescriptorParsingException.java

            super(createMessage(plugin, descriptorLocation, e), e);
        }
    
        private static String createMessage(Plugin plugin, String descriptorLocation, Throwable e) {
            String message = "Failed to parse plugin descriptor";
    
            if (plugin != null) {
                message += " for " + plugin.getId();
            }
    
            if (descriptorLocation != null) {
                message += " (" + descriptorLocation + ")";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/rtinfo/internal/DefaultRuntimeInformation.java

                } else {
                    logger.warn("Could not locate " + resource + " on classpath, Maven runtime information not available");
                }
            } catch (IOException e) {
                String msg = "Could not parse " + resource + ", Maven runtime information not available";
                if (logger.isDebugEnabled()) {
                    logger.warn(msg, e);
                } else {
                    logger.warn(msg);
                }
            }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Dec 18 11:03:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/LifecycleProvider.java

     * leveraged using the {@link org.apache.maven.api.plugin.annotations.Execute}
     * annotation.  If a {@code META-INF/maven/lifecycle.xml} file is packaged
     * in the plugin, Maven will provide a default implementation that will parse
     * the file and return the contained lifecycle definitions.
     *
     * @since 4.0.0
     */
    @Experimental
    @Consumer
    public interface LifecycleProvider {
    
        List<Lifecycle> getLifecycles();
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Feb 28 23:54:53 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                    }
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write model", e);
            }
        }
    
        /**
         * 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)
         */
    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)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                    }
                }
            } catch (Exception e) {
                throw new XmlWriterException("Unable to write model: " + getMessage(e), getLocation(e), e);
            }
        }
    
        /**
         * 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)
         */
    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)
  10. maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

                    } catch (XmlPullParserException e) {
                        throw new ExpressionDocumentationException(
                                "Failed to parse documentation for expression root: " + root, e);
                    }
                }
            }
    
            return expressionDocumentation;
        }
    
        /**
         * <expressions>
         * <expression>
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 5.2K bytes
    - Viewed (0)
Back to top