Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for getLicense (0.2 sec)

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

        /**
         * Gets the license URL of the image.
         * @return the license URL
         */
        public String getLicense() {
            return license;
        }
    
        /**
         * Sets the license URL of the image.
         * @param license the license URL to set
         */
        public void setLicense(final String license) {
            this.license = license;
        }
    
        @Override
        public String toString() {
    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/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java

            assertEquals("Sample image title", image.getTitle());
            assertEquals("Tokyo, Japan", image.getGeoLocation());
            assertEquals("http://www.example.com/license.txt", image.getLicense());
        }
    
        public void test_parseXmlSitemapsWithVideos() {
            final String xml =
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java

                        buf = null;
                    }
                } else if (IMAGE_LICENSE_ELEMENT.equals(elementName)) {
                    if (buf != null && currentImage != null) {
                        currentImage.setLicense(buf.toString().trim());
                        buf = null;
                    }
                } else if (VIDEO_VIDEO_ELEMENT.equals(elementName)) {
                    if (currentVideo != null && sitemapUrl != 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)
Back to top