| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- |
| - $Id$ |
| --> |
| <xconf xpath="/cocoon/source-factories" |
| unless="/cocoon/source-factories/component-instance[@name = 'jcr']"> |
| |
| <component-instance name="jcr" |
| class="org.apache.cocoon.jcr.source.JCRSourceFactory"> |
| <folder-node type="rep:root" new-folder="nt:folder" new-file="nt:file"/> |
| <folder-node type="nt:unstructured" new-folder="nt:unstructured" new-file="nt:file"/> |
| <folder-node type="nt:folder" new-folder="nt:folder" new-file="nt:file"/> |
| |
| <file-node type="nt:file" content-path="jcr:content" content-type="nt:resource"/> |
| <file-node type="nt:linkedFile" content-ref="jcr:content"/> |
| |
| <content-node type="nt:resource" |
| content-prop="jcr:data" |
| mimetype-prop="jcr:mimeType" |
| lastmodified-prop="jcr:lastModified" |
| validity-prop="jcr:lastModified"/> |
| </component-instance> |
| </xconf> |