Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 58 for getLocation (0.06 sec)

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

            return columnNumber;
        }
    
        public InputSource getSource() {
            return source;
        }
    
        public InputLocation getLocation(Object key) {
            return locations != null ? locations.get(key) : null;
        }
    
        public Map<Object, InputLocation> getLocations() {
            return locations;
        }
    
        /**
         * Gets the parent InputLocation where this InputLocation may have been imported from.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  2. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java

            @Override
            public InputStream getInputStream() throws IOException {
                return source.openStream();
            }
    
            @Override
            public String getLocation() {
                return source.getLocation();
            }
    
            @Override
            public ModelSource2 getRelatedSource(String relPath) {
                Source rel = source.resolve(relPath);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputSource.java

            this.importedFrom = null;
        }
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
         * @return the location
         */
        public String getLocation() {
            return this.location;
        }
    
        /**
         * Get the identifier of the POM in the format {@code <groupId>:<artifactId>:<version>}.
         *
         * @return the model id
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultPluginXmlFactory.java

    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxReader;
    import org.apache.maven.plugin.descriptor.io.PluginDescriptorStaxWriter;
    
    import static org.apache.maven.internal.impl.StaxLocation.getLocation;
    import static org.apache.maven.internal.impl.StaxLocation.getMessage;
    import static org.apache.maven.internal.impl.Utils.nonNull;
    
    @Named
    @Singleton
    public class DefaultPluginXmlFactory implements PluginXmlFactory {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/test/java/org/apache/maven/building/StringSourceTest.java

        }
    
        @Test
        void testGetLocation() {
            StringSource source = new StringSource("Hello World!");
            assertEquals("(memory)", source.getLocation());
    
            source = new StringSource("Hello World!", "LOCATION");
            assertEquals("LOCATION", source.getLocation());
        }
    
        @Test
        void testGetContent() {
            StringSource source = new StringSource(null);
            assertEquals("", source.getContent());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/main/java/org/apache/maven/building/UrlSource.java

        }
    
        @Override
        public String getLocation() {
            return url.toString();
        }
    
        /**
         * Gets the URL of this source.
         *
         * @return The underlying URL, never {@code null}.
         */
        public URL getUrl() {
            return url;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
        public int hashCode() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

        @Override
        public int getLineNumber() {
            return lineNumber;
        }
    
        @Override
        public int getColumnNumber() {
            return columnNumber;
        }
    
        @Override
        public String getLocation() {
            StringBuilder buffer = new StringBuilder(256);
    
            if (!getSource().isEmpty()) {
                if (buffer.length() > 0) {
                    buffer.append(", ");
                }
    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. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                        return source.getInputStream();
                    }
    
                    @Override
                    public String getLocation() {
                        return source.getLocation();
                    }
    
                    @Override
                    public Source resolve(String relative) {
                        return null;
                    }
                };
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

            this.hashCode = Objects.hash(path);
        }
    
        @Override
        public InputStream getInputStream() throws IOException {
            return Files.newInputStream(path);
        }
    
        @Override
        public String getLocation() {
            return path.toString();
        }
    
        /**
         * Gets the file of this source.
         *
         * @return The underlying file, never {@code null}.
         * @deprecated Use {@link #getPath()} instead.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        @Nullable
        Reader getReader();
    
        @Nullable
        Transformer getTransformer();
    
        boolean isStrict();
    
        @Nullable
        String getModelId();
    
        @Nullable
        String getLocation();
    
        boolean isAddDefaultEntities();
    
        interface Transformer {
            /**
             * Interpolate the value read from the xml document
             *
             * @param source    The source value
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jul 09 12:10:26 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top