Source code: com/aendvari/common/model/osm/OsmModelTreeFactory.java
1 /*
2 * OsmModelTreeFactory.java
3 *
4 * Copyright (c) 2001, 2002 Aendvari, Ltd. All Rights Reserved.
5 *
6 * See the file LICENSE for terms of use.
7 *
8 */
9
10 package com.aendvari.common.model.osm;
11
12 import com.aendvari.common.model.ModelTree;
13 import com.aendvari.common.model.ModelTreeFactory;
14
15
16 /**
17 * <p>Implements the {@link ModelTreeFactory} interface to create a
18 * OsmModelTree instance.</p>
19 *
20 * @author Scott Milne
21 *
22 */
23
24 public class OsmModelTreeFactory implements ModelTreeFactory
25 {
26 /**
27 * Creates a new instance of a {@link ModelTree}.
28 *
29 * @return A {@link ModelTree} instance.
30 *
31 */
32
33 public ModelTree createModelTree()
34 {
35 return new OsmModelTree();
36 }
37 }
38