001package org.nuxeo.ecm.platform.publisher.descriptors; 002 003import java.io.Serializable; 004 005import org.nuxeo.common.xmap.annotation.XNode; 006import org.nuxeo.common.xmap.annotation.XObject; 007import org.nuxeo.ecm.platform.publisher.helper.RootSectionFinder; 008import org.nuxeo.ecm.platform.publisher.helper.RootSectionFinderFactory; 009 010/** 011 * Descriptor used to register {@link RootSectionFinder} factories. 012 * 013 * @author tiry 014 */ 015@XObject("rootSectionFinderFactory") 016public class RootSectionFinderFactoryDescriptor implements Serializable { 017 018 private static final long serialVersionUID = 1L; 019 020 @XNode("@class") 021 private Class<? extends RootSectionFinderFactory> factory; 022 023 public Class<? extends RootSectionFinderFactory> getFactory() { 024 return factory; 025 } 026}