mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-06-23 18:05:32 +00:00
This doesn't include the wrapper extractor, yet, but there are two extractors that extract metadata from Eclipse Project XML and Alfresco Model XML files. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5980 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
50 lines
2.1 KiB
XML
50 lines
2.1 KiB
XML
<?xml version='1.0' encoding='UTF-8'?>
|
|
<!DOCTYPE beans PUBLIC '-//SPRING//DTD BEAN//EN' 'http://www.springframework.org/dtd/spring-beans.dtd'>
|
|
|
|
<!-- Test configurations for XmlMetadataExtracters -->
|
|
<beans>
|
|
<import resource="classpath:alfresco/application-context.xml" />
|
|
|
|
<!-- An extractor that operates on Alfresco models -->
|
|
<bean id="extracter.xml.AlfrescoModelMetadataExtracter"
|
|
class="org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter"
|
|
parent="baseMetadataExtracter"
|
|
init-method="init" >
|
|
<property name="mappingProperties">
|
|
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
|
|
<property name="location">
|
|
<value>classpath:xml-metadata/alfresco-model-mappings.properties</value>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="xpathMappingProperties">
|
|
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
|
|
<property name="location">
|
|
<value>classpath:xml-metadata/alfresco-model-xpath-mappings.properties</value>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
</bean>
|
|
|
|
<!-- An extractor that operates on Eclipse project files -->
|
|
<bean id="extracter.xml.EclipseProjectMetadataExtracter"
|
|
class="org.alfresco.repo.content.metadata.xml.XPathMetadataExtracter"
|
|
parent="baseMetadataExtracter"
|
|
init-method="init" >
|
|
<property name="mappingProperties">
|
|
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
|
|
<property name="location">
|
|
<value>classpath:xml-metadata/eclipse-project-mappings.properties</value>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
<property name="xpathMappingProperties">
|
|
<bean class="org.springframework.beans.factory.config.PropertiesFactoryBean">
|
|
<property name="location">
|
|
<value>classpath:xml-metadata/eclipse-project-xpath-mappings.properties</value>
|
|
</property>
|
|
</bean>
|
|
</property>
|
|
</bean>
|
|
|
|
</beans> |