Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 57 for setLocation (0.12 sec)

  1. 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)
  2. 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)
  3. 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)
  4. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocation.java

            return lineNumber;
        }
    
        public int getColumnNumber() {
            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;
        }
    
        /**
    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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java

            return source;
        }
    
        public int getLineNumber() {
            return lineNumber;
        }
    
        public int getColumnNumber() {
            return columnNumber;
        }
    
        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.3K bytes
    - Viewed (0)
  10. api/maven-api-model/src/main/java/org/apache/maven/api/model/InputLocationTracker.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.model;
    
    public interface InputLocationTracker {
        InputLocation getLocation(Object field);
    
        /**
         * Gets the parent InputLocation where this InputLocation may have been imported from.
         * Can return {@code null}.
         *
         * @return InputLocation
         * @since 4.0.0
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 15 13:24:49 UTC 2024
    - 1.1K bytes
    - Viewed (0)
Back to top