Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 175 for DOCUMENT (0.03 sec)

  1. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

                        <version>1.0.0</version>
                    </project>
                    """;
    
                Document document = Document.of(pomXml);
                ModelVersionUtils.updateModelVersion(document, targetVersion);
                Element root = document.root();
                Element modelVersionElement = root.child("modelVersion").orElse(null);
                assertNotNull(modelVersionElement);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  2. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java

                    </project>
                    """;
    
                Document document = Document.of(pomXml);
                Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), document);
    
                UpgradeContext context = createMockContext();
                strategy.doApply(context, pomMap);
    
                // Verify the structure
                Editor editor = new Editor(document);
                Element root = editor.root();
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 27.8K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                        <artifactId>child-project</artifactId>
                    </project>
                    """;
    
                Document parentDoc = Document.of(parentPomXml);
                Document childDoc = Document.of(childPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("/project/pom.xml"), parentDoc);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  4. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategyTest.java

                        </dependencies>
                    </project>
                    """;
    
                Document parentDoc = Document.of(parentPomXml);
                Document moduleADoc = Document.of(moduleAPomXml);
                Document moduleBDoc = Document.of(moduleBPomXml);
    
                Map<Path, Document> pomMap = new HashMap<>();
                pomMap.put(Paths.get("project", "pom.xml"), parentDoc);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java

        /**
         * Extracts YAML front matter metadata from the document.
         *
         * @param document the parsed Markdown document
         * @param extractData the extract data to populate
         */
        protected void extractFrontMatterMetadata(final Node document, final ExtractData extractData) {
            final YamlFrontMatterVisitor visitor = new YamlFrontMatterVisitor();
            document.accept(visitor);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Nov 23 03:46:53 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

     *
     * <p>Strategies work with domtrip Documents for perfect formatting preservation.
     * Subclasses can create domtrip Editors from Documents as needed:
     * <pre>
     * Editor editor = new Editor(document);
     * // ... perform domtrip operations ...
     * // Document is automatically updated
     * </pre>
     */
    public abstract class AbstractUpgradeStrategy implements UpgradeStrategy {
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/indexer/IndexUpdater.java

            return null;
        }
    
        /**
         * Processes a document through the ingest pipeline if an ingest factory is available.
         * Applies all configured ingesters to transform and enrich the document data.
         *
         * @param accessResult the access result containing document metadata
         * @param map the document data map to process
         * @return the processed document map after applying all ingesters
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java

                UpgradeContext context = createMockContext();
                Map<Path, Document> pomMap = Map.of(
                        Paths.get("pom.xml"), mock(Document.class),
                        Paths.get("module/pom.xml"), mock(Document.class));
    
                // Mock strategies with different results
                when(mockStrategies.get(0).isApplicable(context)).thenReturn(true);
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtils.java

         * This is used during inference when the model version can be inferred.
         *
         * @param document the XML document
         * @return true if the element was removed, false if it didn't exist
         */
        public static boolean removeModelVersion(Document document) {
            Element root = document.root();
            if (root == null) {
                return false;
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

     * reader.setScrollSize(1000); // Set the scroll size
     * reader.setLimitOfDocumentSize(1024 * 1024); // Limit document size to 1MB
     * reader.setQuery(QueryBuilders.termQuery("field", "value")); // Set a query
     *
     * Map<String, Object> document;
     * while ((document = reader.read()) != null) {
     *     // Process the document
     *     System.out.println(document);
     * }
     *
     * reader.close(); // Close the reader to release resources
     * }
     * </pre>
     */
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top