view artifact-database/src/main/java/org/dive4elements/artifactdatabase/state/StaticFacet.java @ 524:ab13ab6acc5c facet-metadata

New method to add meta data to a facet.
author Raimund Renkert <rrenkert@intevation.de>
date Wed, 02 Jul 2014 12:29:21 +0200
parents 0416d9fb3668
children 7bdc45945e5d
line wrap: on
line source
/*
 * 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);
}

http://dive4elements.wald.intevation.org