SchematicEntryLiteral literal = (SchematicEntryLiteral)store.get(key);
if (literal == null) {
if (!createIfMissing) return null;
literal = new SchematicEntryLiteral(key);
store.put(key, literal);
return new DocumentEditor((MutableDocument)literal.getContent());
}
// this makes a copy and puts the new copy into the store ...
return literal.edit(key, store, shouldAcquireLock(acquireLock));
}