Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getDataMap (0.21 sec)

  1. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        public boolean containsKey(final String key) {
            return params.containsKey(key);
        }
    
        public Map<String, Object> asMap() {
            return new ParamMap<>(new HashMap<>(getDataMap(params)));
        }
    
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
            if (params instanceof final ParamMap<String, Object> paramMap) {
                return paramMap.getParent();
            }
            return params;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/util/RenderDataUtilTest.java

        public void test_register() {
            RenderData data = new RenderData();
    
            RenderDataUtil.register(data, "key1", null);
            assertNull(data.getDataMap().get("key1"));
    
            RenderDataUtil.register(data, "key5", "");
            assertEquals(data.getDataMap().get("key5"), "");
    
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

                        || c >= 0x10000 && c <= 0x10FFFF) {
                    buf.append(c);
                }
            }
            return buf.toString().trim();
        }
    
        public static Map<String, Object> getDataMap(final AccessResultData<?> accessResultData) {
            // create input source
            final InputSource is = new InputSource(new ByteArrayInputStream(accessResultData.getData()));
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XpathTransformer.java

        public Object getData(final AccessResultData<?> accessResultData) {
            if (dataClass == null) {
                return super.getData(accessResultData);
            }
    
            final Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                    }
                    return new String(data, Constants.UTF_8_CHARSET);
                }
            }
    
            final Map<String, Object> dataMap = XmlUtil.getDataMap(accessResultData);
            if (Map.class.equals(dataClass)) {
                return dataMap;
            }
    
            try {
                final Object obj = dataClass.getDeclaredConstructor().newInstance();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:41:37 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top