Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for parser (0.07 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/root/DefaultRootLocator.java

                XMLStreamReader parser = XMLInputFactory.newFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java

                map.put(parser.getName(), parse(parser, toType));
            }
            return map;
        }
    
        /**
         * Parses a sequence of XML elements and converts them to the appropriate {@link Collection} type.
         *
         * @param parser The XML parser
         * @return Converted Collection instance
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/MavenInvokerTestSupport.java

            Files.writeString(appJava, appJavaString);
    
            Parser<R> parser = createParser();
            try (Invoker<R> invoker = createInvoker()) {
                for (String goal : goals) {
                    Path logFile = cwd.resolve(goal + "-build.log").toAbsolutePath();
                    int exitCode = invoker.invoke(parser.parse(ParserRequest.mvn(
                                    List.of("-l", logFile.toString(), goal),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/MavenCliTest.java

            final CommandLineParser parser = new DefaultParser();
    
            final Options options = new Options();
            options.addOption(Option.builder(CLIManager.PROJECT_LIST).hasArg().build());
    
            ProjectActivation activation;
    
            activation = new ProjectActivation();
            performProjectActivation(
                    parser.parse(options, new String[] {"-pl", "test1,+test2,?test3,+?test4"}), activation);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/resident/DefaultResidentMavenInvokerTest.java

    import java.nio.file.Path;
    import java.util.Arrays;
    
    import com.google.common.jimfs.Configuration;
    import com.google.common.jimfs.Jimfs;
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenInvokerRequest;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.cling.invoker.ProtoLookup;
    import org.apache.maven.cling.invoker.mvn.DefaultMavenParser;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvn/forked/DefaultForkedMavenInvokerTest.java

     * under the License.
     */
    package org.apache.maven.cling.invoker.mvn.forked;
    
    import java.nio.file.Path;
    import java.util.Arrays;
    
    import org.apache.maven.api.cli.Invoker;
    import org.apache.maven.api.cli.Parser;
    import org.apache.maven.api.cli.mvn.MavenOptions;
    import org.apache.maven.api.cli.mvn.forked.ForkedMavenInvokerRequest;
    import org.apache.maven.cling.invoker.mvn.MavenInvokerTestSupport;
    import org.junit.jupiter.api.Test;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java

            try (final InputStream is = responseData.getResponseBody()) {
                final DOMParser parser = getDomParser();
                parser.parse(new InputSource(is));
                final Document document = parser.getDocument();
                // base href
                final String baseHref = getBaseHref(document);
                URI uri;
                try {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Oct 24 12:16:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelParseException.java

         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsParseException.java

         */
        private final int lineNumber;
    
        /**
         * The one-based index of the column containing the error.
         */
        private final int columnNumber;
    
        /**
         * Creates a new parser exception with the specified details.
         *
         * @param message The error message, may be {@code null}.
         * @param lineNumber The one-based index of the line containing the error or {@code -1} if unknown.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  10. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

            }
        }
    
        /**
         * Method read.
         *
         * @param parser a parser object.
         * @param strict a strict object.
         * @throws IOException IOException if any.
         * @throws XmlPullParserException XmlPullParserException if
         * any.
         * @return Settings
         */
        public Settings read(XMLStreamReader parser, boolean strict) throws IOException, XmlPullParserException {
            try {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top