public class MockValueMap
extends org.apache.sling.api.wrappers.ValueMapDecorator
Implements the following conversions:
| Constructor and Description |
|---|
MockValueMap(org.apache.sling.api.resource.Resource resource) |
MockValueMap(org.apache.sling.api.resource.Resource resource,
Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
get(String name,
Class<T> type) |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> map) |
clear, containsKey, containsValue, entrySet, get, get, isEmpty, keySet, remove, size, toString, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic MockValueMap(org.apache.sling.api.resource.Resource resource)
Copyright © 2007–2014 The Apache Software Foundation. All rights reserved.