public class ContentMap extends Object implements Map<String,Object>
content.propName
. It first tries to read a property with name (key) and if not present checks for the
presence of child node. Few special property names map to the JCR methods: \@name, \@id, \@path, \@level, \@nodeTypeConstructor and Description |
---|
ContentMap(javax.jcr.Node content) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object arg0) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
javax.jcr.Node |
getJCRNode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String arg0,
Object arg1) |
void |
putAll(Map<? extends String,? extends Object> arg0) |
Object |
remove(Object arg0) |
int |
size() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object arg0)
containsValue
in interface Map<String,Object>
public javax.jcr.Node getJCRNode()
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.