Mercurial > dive4elements > framework
changeset 514:0416d9fb3668
Added interface for static facet.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 30 Apr 2014 15:06:19 +0200 |
parents | 69f99bdf3d65 |
children | 22d66b405b24 |
files | artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/StaticFacet.java |
diffstat | 1 files changed, 29 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/StaticFacet.java Wed Apr 30 15:06:19 2014 +0200 @@ -0,0 +1,29 @@ +/* + * Copyright (c) 2014 by Intevation GmbH + * + * This program is free software under the LGPL (>=v2.1) + * Read the file LGPL.txt coming with the software for details + * or visit http://www.gnu.org/licenses/ if it does not exist. + */ + +package org.dive4elements.artifactdatabase.state; + +import java.io.Serializable; + +import org.dive4elements.artifacts.Artifact; +import org.dive4elements.artifacts.CallMeta; +import org.w3c.dom.Document; + + +public interface StaticFacet +extends Facet +{ + /** + * Setup the static facet by parsing the data document. + * + * @param artifact The artifact + * @param data The document + * @param meat The call meta + */ + public void setup(Artifact artifact, Document data, CallMeta meta); +}