Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for setCaption (1.61 sec)

  1. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapImage.java

        }
    
        /**
         * Gets the caption of the image.
         * @return the caption
         */
        public String getCaption() {
            return caption;
        }
    
        /**
         * Sets the caption of the image.
         * @param caption the caption to set
         */
        public void setCaption(final String caption) {
            this.caption = caption;
        }
    
        /**
         * Gets the geographic location of the image.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:34:36 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                        buf = null;
                    }
                } else if (IMAGE_CAPTION_ELEMENT.equals(elementName)) {
                    if (buf != null && currentImage != null) {
                        currentImage.setCaption(buf.toString().trim());
                        buf = null;
                    }
                } else if (IMAGE_GEO_LOCATION_ELEMENT.equals(elementName)) {
                    if (buf != null && currentImage != null) {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 13:19:40 UTC 2025
    - 34.9K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            final SitemapImage image = sitemapUrl.getImages().get(0);
            assertEquals("http://www.example.com/image.jpg", image.getLoc());
            assertEquals("Sample image caption", image.getCaption());
            assertEquals("Sample image title", image.getTitle());
            assertEquals("Tokyo, Japan", image.getGeoLocation());
            assertEquals("http://www.example.com/license.txt", image.getLicense());
        }
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
Back to top