Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/StaticFacet.java @ 514:0416d9fb3668
Added interface for static facet.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:06:19 +0200 |
parents | |
children | 7bdc45945e5d |
comparison
equal
deleted
inserted
replaced
513:69f99bdf3d65 | 514:0416d9fb3668 |
---|---|
1 /* | |
2 * Copyright (c) 2014 by Intevation GmbH | |
3 * | |
4 * This program is free software under the LGPL (>=v2.1) | |
5 * Read the file LGPL.txt coming with the software for details | |
6 * or visit http://www.gnu.org/licenses/ if it does not exist. | |
7 */ | |
8 | |
9 package org.dive4elements.artifactdatabase.state; | |
10 | |
11 import java.io.Serializable; | |
12 | |
13 import org.dive4elements.artifacts.Artifact; | |
14 import org.dive4elements.artifacts.CallMeta; | |
15 import org.w3c.dom.Document; | |
16 | |
17 | |
18 public interface StaticFacet | |
19 extends Facet | |
20 { | |
21 /** | |
22 * Setup the static facet by parsing the data document. | |
23 * | |
24 * @param artifact The artifact | |
25 * @param data The document | |
26 * @param meat The call meta | |
27 */ | |
28 public void setup(Artifact artifact, Document data, CallMeta meta); | |
29 } |