view flys-artifacts/doc/conf/artifacts/map.xml @ 4496:d8992459b408

Add method to return the facets of an artifact This methos should be used to get the facets of an artifact instead of accessing the facets member variable directly.
author Björn Ricks <bjoern.ricks@intevation.de>
date Wed, 14 Nov 2012 11:11:04 +0100
parents 14188f8daefb
children d43ef9f709cd
line wrap: on
line source
<?xml version="1.0" encoding="UTF-8"?>
<artifact name="new_map">
    <states>
         <state id="state.map.river" description="state.winfo.river" state="de.intevation.flys.artifacts.states.RiverSelect">
            <data name="river" type="String" />
         </state>

         <transition transition="de.intevation.flys.artifacts.transitions.DefaultTransition">
             <from state="state.map.river"/>
             <to state="state.map.new"/>
         </transition>

         <state id="state.map.new" description="state.map.new" state="de.intevation.flys.artifacts.MapArtifact$MapState">
            <outputmodes>
                <outputmode name="map" description="output.uesk.map.description" type="map">
                    <facets>
                        <facet name="floodmap.wsplgen"/>
                        <facet name="floodmap.barriers"/>
                        <facet name="floodmap.riveraxis"/>
                        <facet name="floodmap.wmsbackground"/>
                        <facet name="floodmap.kms"/>
                        <facet name="floodmap.qps"/>
                        <facet name="floodmap.hws"/>
                        <facet name="floodmap.hydr_boundaries"/>
                        <facet name="floodmap.hydr_boundaries_poly"/>
                        <facet name="floodmap.catchment"/>
                        <facet name="floodmap.floodplain"/>
                        <facet name="floodmap.lines"/>
                        <facet name="floodmap.buildings"/>
                        <facet name="floodmap.fixpoints"/>
                        <facet name="floodmap.floodmaps"/>
                        <facet name="floodmap.gauge_location"/>
                        <facet name="floodmap.externalwms"/>
                    </facets>
                </outputmode>
            </outputmodes>
        </state>
    </states>
</artifact>

http://dive4elements.wald.intevation.org