deegree 2.1 (2007/11/08 09:57 build-328-official)

org.deegree.enterprise.servlet
Class WFSRequestMapping

java.lang.Object
  extended by org.deegree.enterprise.servlet.WFSRequestMapping

public class WFSRequestMapping
extends Object

The class or in detail its method @see #mapPropertyValue(Node) can be used by a XSLT script to map a node value (key) to another, corresponding value (value). The mapping will be defined by a properties file containing key-value-pairs as can be read by @see #java.util.Properties. as default org.deegree.enterprise.servlet.wfsrequestmapping.properties will be read (which per default is empty). If no matching value for a key is defined in the properties file the key will be returned instead.

The node passed to this method must include a text and no other nodes. E.g. <PropertyName>/MyProperty/value</PropertyName>

If special behaviors are needed by an deegree WFS instance and/or you do not want to edit the default properties and use your own one you should write a class that extends this or it as pattern.

Since:
2.0
Version:
$Revision: 6259 $, 1.0. $Revision: 6259 $, $Date: 2007-03-20 10:15:15 +0100 (Di, 20 Mär 2007) $
Author:
Andreas Poth, last edited by: $Author: bezema $

Field Summary
protected static String propertiesFile
           
 
Constructor Summary
WFSRequestMapping()
           
 
Method Summary
static String mapPropertyValue(Node node)
          The method is used by a XSLT script to map a node value (key) to another, corresponding value (value).
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propertiesFile

protected static String propertiesFile
Constructor Detail

WFSRequestMapping

public WFSRequestMapping()
Method Detail

mapPropertyValue

public static String mapPropertyValue(Node node)
The method is used by a XSLT script to map a node value (key) to another, corresponding value (value). The mapping will be defined by a properties file containing key-value-pairs as can be read by @see #java.util.Properties. as default org.deegree.enterprise.servlet.wfsrequestmapping.properties will be read (which per default is empty). If no matching value for a key is defined in the properties file the key will be returned instead.

The node passed to this method must include a text and no other nodes. E.g. <PropertyName>/MyProperty/value</PropertyName>

Parameters:
node -
Returns:
Throws:
XMLParsingException

deegree 2.1 (2007/11/08 09:57 build-328-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://deegree.sourceforge.net