|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.enterprise.servlet.WFSRequestMapping
public class WFSRequestMapping
This class respectively its method mapPropertyValue(Node)
can be used by XSLT scripts to map a node value
(key) to another, corresponding value (value). The mappings are taken from the properties file
org.deegree.enterprise.servlet.wfsrequestmapping.properties
. If no matching value for a key is defined
in the properties file, the returned String
is null.
The node reference passed to this method must point to an element that contains a single text node, e.g. <PropertyName>/MyProperty/value</PropertyName>
If a special behavior is needed by a 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.
mapPropertyValue(Node)
,
Properties
Field Summary | |
---|---|
protected static java.lang.String |
propertiesFile
TODO why is this here and ununused? |
Constructor Summary | |
---|---|
WFSRequestMapping()
|
Method Summary | |
---|---|
static java.lang.String |
mapPropertyValue(org.w3c.dom.Node node)
This method can be used by XSLT scripts to map a node value (key) to another, corresponding value (value). |
static java.lang.String |
mapPropertyValue(org.w3c.dom.Node node,
java.lang.String typeName)
This method can be used by XSLT scripts to map a node value (key) to another, corresponding value (value). |
static java.lang.String |
mapPropertyValue(org.w3c.dom.Node node,
java.lang.String typeName,
java.lang.String nsp)
This method can be used by XSLT scripts 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 |
---|
protected static java.lang.String propertiesFile
Constructor Detail |
---|
public WFSRequestMapping()
Method Detail |
---|
public static java.lang.String mapPropertyValue(org.w3c.dom.Node node)
org.deegree.enterprise.servlet.wfsrequestmapping.properties
. If no matching value for a key is
defined in the properties file, the returned String
is null.
The node reference passed to this method must point to an element that contains a single text node, e.g. <PropertyName>/MyProperty/value</PropertyName>
node
- node that will be mapped
public static java.lang.String mapPropertyValue(org.w3c.dom.Node node, java.lang.String typeName)
org.deegree.enterprise.servlet.wfsrequestmapping.properties
. If no matching value for a key is
defined in the properties file, the returned String
is null.
The node reference passed to this method must point to an element that contains a single text node, e.g. <PropertyName>/MyProperty/value</PropertyName>
node
- node that will be mappedtypeName
- feature type name
public static java.lang.String mapPropertyValue(org.w3c.dom.Node node, java.lang.String typeName, java.lang.String nsp)
org.deegree.enterprise.servlet.wfsrequestmapping.properties
. If no matching value for a key is
defined in the properties file, the returned String
is null.
The node reference passed to this method must point to an element that contains a single text node, e.g. <PropertyName>/MyProperty/value</PropertyName>
node
- node that will be mappedtypeName
- feature type namensp
-
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org