Schema schema = RenderKit.getInstance().findSchema(slot.getSchema()); MetaObject metaObject = MetaObjectFactory.createObject(slot.getObject(), schema);
MetaObject metaObject = MetaObjectFactory.createObject(slot.getObject(), slot.getSchema());
    protected PresentationContext createPresentationContext(MetaSlot slot) {        Schema schema = RenderKit.getInstance().findSchema(slot.getSchema());        MetaObject metaObject = MetaObjectFactory.createObject(slot.getObject(), schema);                PresentationContext newContext = getContext().createSubContext(metaObject);        newContext.setSchema(slot.getSchema());        newContext.setLayout(slot.getLayout());        newContext.setProperties(slot.getProperties());                return newContext;    }