Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for InputSource (0.06 sec)

  1. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

        public String toString() {
            if (inputs != null) {
                return inputs.stream().map(InputSource::toString).collect(Collectors.joining(", ", "merged[", "]"));
            }
            return getModelId() + " " + getLocation();
        }
    
        public static InputSource merge(InputSource src1, InputSource src2) {
            return new InputSource(Stream.concat(src1.sources(), src2.sources()).collect(Collectors.toSet()));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        }
    
        // -----------/
        // - Methods -/
        // -----------/
    
        /**
         * Method clone.
         *
         * @return InputSource
         */
        public InputSource clone() {
            try {
                InputSource copy = (InputSource) super.clone();
    
                return copy;
            } catch (Exception ex) {
                throw (RuntimeException)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

        public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
                return new PersistedToolchains(new MavenToolchainsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

        private final int lineNumber;
        private final int columnNumber;
        private final InputSource source;
        private final Map<Object, InputLocation> locations;
        private final InputLocation importedFrom;
    
        public InputLocation(InputSource source) {
            this.lineNumber = -1;
            this.columnNumber = -1;
            this.source = source;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java

                        included = true;
                    }
                }
    
                @Override
                public InputSource resolveEntity(final String publicId, final String systemId) throws IOException, SAXException {
                    final InputSource is = new InputSource(ResourceUtil.getResourceAsStream("org/codelibs/core/xml/included.xml"));
                    is.setSystemId("included.xml");
                    return is;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

        public Settings read(Reader input, Map<String, ?> options) throws IOException {
            Objects.requireNonNull(input, "input cannot be null");
    
            try (Reader in = input) {
                InputSource source = (InputSource) options.get(InputSource.class.getName());
                return new Settings(new SettingsStaxReader().read(in, isStrict(options), source));
            } catch (XMLStreamException e) {
                throw new SettingsParseException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/xml/SAXParserUtil.java

         *            使用する{@link SAXParser}。{@literal null}であってはいけません
         * @param inputSource
         *            構文解析されるコンテンツを含む{@link InputSource}。{@literal null}であってはいけません
         * @param handler
         *            使用するSAX {@link DefaultHandler}。{@literal null}であってはいけません
         */
        public static void parse(final SAXParser parser, final InputSource inputSource, final DefaultHandler handler) {
            assertArgumentNotNull("parser", parser);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
                    options.put(ModelProcessor.INPUT_SOURCE, new org.apache.maven.model.InputSource(inputSource));
    
                    return modelProcessor.read(is, options);
                } catch (IOException e) {
    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-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

            try (InputStream is = getClass().getResourceAsStream("/poms/factory/complex.xml")) {
    
                InputSource inputSource = new InputSource(null, "classpath:/poms/factory/complex.xml");
                Model model = new MavenStaxReader().read(is, true, inputSource);
                InputLocation propertiesLocation = model.getLocation("properties");
                assertNotNull(propertiesLocation);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Reader.java

     */
    package org.apache.maven.model.io.xpp3;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    
    import org.apache.maven.model.InputSource;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.v4.MavenStaxReader;
    import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
    
    /**
     * @deprecated Use MavenStaxReader instead
     */
    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