public void materialize( org.jboss.dna.graph.Node persistentNode,
Node<Payload, PropertyPayload> node ) {
// Create the map of property info objects ...
Map<Name, PropertyInfo<PropertyPayload>> properties = new HashMap<Name, PropertyInfo<PropertyPayload>>();
for (Property property : persistentNode.getProperties()) {
Name propertyName = property.getName();
PropertyInfo<PropertyPayload> info = new PropertyInfo<PropertyPayload>(property, property.isMultiple(),
Status.UNCHANGED, null);
properties.put(propertyName, info);
}
// Set only the children ...