Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 150 for LOCATION (0.65 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.api.services.xml;
    
    public interface Location {
    
        /**
         * Return the line number where the current event ends,
         * returns -1 if none is available.
         * @return the current line number
         */
        int getLineNumber();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/mdo/java/InputLocation.java

            return locations;
        }
    
        /**
         * Merges the {@code source} location into the {@code target} location.
         *
         * @param target the target location
         * @param source the source location
         * @param sourceDominant the boolean indicating of {@code source} is dominant compared to {@code target}
         * @return the merged location
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Feb 07 21:28:01 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/JavaPathType.java

         * This method is the converse of {@link #location()}.
         *
         * @param location identification of a path in the {@code javax.tool} API
         * @return Java path type associated to the given location
         */
        public static Optional<JavaPathType> valueOf(JavaFileManager.Location location) {
            for (JavaPathType type : JavaPathType.values()) {
                if (location.equals(type.location)) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 15K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlWriterException.java

        private final Location location;
    
        /**
         * @param message the message for the exception
         * @param e the exception itself
         */
        public XmlWriterException(String message, Location location, Exception e) {
            super(message, e);
            this.location = location;
        }
    
        public Location getLocation() {
            return location;
        }
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/StaxLocation.java

    import org.apache.maven.api.services.xml.Location;
    
    public class StaxLocation implements Location {
    
        private final javax.xml.stream.Location location;
    
        public static Location getLocation(Exception e) {
            return toLocation(e instanceof XMLStreamException xe ? xe.getLocation() : null);
        }
    
        public static Location toLocation(javax.xml.stream.Location location) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 25 10:50:01 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelReader.java

                return model;
            } catch (XMLStreamException e) {
                Location location = e.getLocation();
                throw new ModelParseException(
                        e.getMessage(),
                        location != null ? location.getLineNumber() : -1,
                        location != null ? location.getColumnNumber() : -1,
                        e);
            } catch (Exception e) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Feb 26 17:04:44 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/PathSource.java

    class PathSource implements ModelSource {
    
        private final Path path;
        private final String location;
    
        PathSource(Path path) {
            this(path, null);
        }
    
        PathSource(Path path, String location) {
            this.path = path;
            this.location = location != null ? location : path.toString();
        }
    
        @Override
        public Path getPath() {
            return path;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  8. maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.java

        // -----------/
    
        /**
         * Gets the location of the specified field in the input
         * source.
         *
         * @param field The key of the field, must not be
         * <code>null</code>.
         * @return The location of the field in the input source or
         * <code>null</code> if unknown.
         */
        public InputLocation getLocation(Object field);
        /**
         * Sets the location of the specified field.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultLifecyclePluginAnalyzer.java

                    plugin.setVersion(gs.version);
    
                    plugin.setLocation("", location);
                    plugin.setLocation("groupId", location);
                    plugin.setLocation("artifactId", location);
                    plugin.setLocation("version", location);
    
                    Plugin existing = plugins.get(plugin);
                    if (existing != null) {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Jan 10 12:55:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  10. platforms/core-execution/snapshots/src/main/java/org/gradle/internal/vfs/FileSystemAccess.java

         */
        Optional<HashCode> readRegularFileContentHash(String location);
    
        /**
         * Reads the hierarchy of files at the given location.
         */
        FileSystemLocationSnapshot read(String location);
    
        /**
         * Visits the hierarchy of files which match the filter at the given location.
         *
         * Returns empty {@link Optional} if filter doesn't match anything.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 15 08:29:37 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top