Source code: com/arranger/jarl/util/IWidgetConfigSegmentFactory.java
1 package com.arranger.jarl.util;
2
3 import org.w3c.dom.Element;
4
5 import java.util.Collection;
6
7 /**
8 * IWidgetConfigSegmentFactory created on Feb 25, 2003
9 */
10 public interface IWidgetConfigSegmentFactory {
11
12 /**
13 * Create a concrete {@link WidgetConfigSegment} based on this element
14 * @param element
15 * @return a specific {@link WidgetConfigSegment}
16 */
17 public WidgetConfigSegment createSegment(Element element);
18
19 /**
20 * @return a collection of {@link WidgetConfigSegment}
21 */
22 public Collection getConfigSegments();
23 }