Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for GetLocation (0.13 sec)

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

            }
        } // -- InputSource clone()
    
        /**
         * Get the path/URL of the POM or {@code null} if unknown.
         *
         * @return String
         */
        public String getLocation() {
            return this.location;
        } // -- String getLocation()
    
        /**
         * Get the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @return String
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/MergerTest.java

                InputLocation propertiesLocation = model.getLocation("properties");
                assertNotNull(propertiesLocation);
                assertEquals(13, propertiesLocation.getLineNumber());
                assertEquals(5, propertiesLocation.getColumnNumber());
                InputLocation filterPropLocation = propertiesLocation.getLocation("my.filter.value");
                assertNotNull(filterPropLocation);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/DefaultToolchainsReader.java

            } catch (XMLStreamException e) {
                throw new ToolchainsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public PersistedToolchains read(Reader input, Map<String, ?> options) throws IOException {
    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. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

            String modelId = null;
    
            if (req.getLocation() != null) {
                line = req.getLocation().getLineNumber();
                column = req.getLocation().getColumnNumber();
                if (req.getLocation().getSource() != null) {
                    modelId = req.getLocation().getSource().getModelId();
                    source = req.getLocation().getSource().getLocation();
                }
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/DefaultSettingsReader.java

            } catch (XMLStreamException e) {
                throw new SettingsParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        @Override
        public Settings read(Reader input, Map<String, ?> options) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java

            assertEquals("", problem.getLocation());
    
            problem = new DefaultProblem(null, null, "SOURCE", -1, -1, null);
            assertEquals("SOURCE", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, 42, -1, null);
            assertEquals("line 42", problem.getLocation());
    
            problem = new DefaultProblem(null, null, null, -1, 127, null);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  7. impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/DefaultMetadataReader.java

            } catch (XMLStreamException e) {
                throw new MetadataParseException(
                        e.getMessage(),
                        e.getLocation().getLineNumber(),
                        e.getLocation().getColumnNumber(),
                        e);
            }
        }
    
        public Metadata read(InputStream input, Map<String, ?> options) throws IOException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. 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)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/StringSource.java

        }
    
        @Override
        public String getLocation() {
            return location;
        }
    
        /**
         * Gets the content of this source.
         *
         * @return The underlying character stream, never {@code null}.
         */
        public String getContent() {
            return content;
        }
    
        @Override
        public String toString() {
            return getLocation();
        }
    
        @Override
    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. 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)
Back to top