| java.lang.Object de.latlon.adv.EBRIM_Mapping
EBRIM_Mapping | public class EBRIM_Mapping (Code) | | Maps valid ebrim propertypaths including variables (aka aliases) e.g. $o1 to the according wfs-propertyPaths.
version: $Revision: 1.8 $ author: Rutger Bezema author: last edited by: $Author: bezema $ version: 1.0. $Revision: 1.8 $, $Date: 2007-06-21 13:53:57 $ since: 2.0 |
Constructor Summary | |
public | EBRIM_Mapping() The constructor parses the configuration file 'adv_catalog.properties' containing the propertypath mappings from
ebrim to gml. |
Method Summary | |
public void | init(org.apache.xalan.extensions.XSLProcessorContext context, org.apache.xalan.templates.ElemExtensionCall extElem) A very important method, it allows the retrieval of the original dom tree from the xslt-processor, which in it's
turn can be used to find the prefix mappings used in the document. | public NodeList | mapElementSetName(Node elementSetNameNode) This method take an elementSetName node and conerts it's content into a list of wfs:PropertyName nodes. | public String | mapPropertyPath(Node node) | public String | mapTypeNameElement(Node typeNameElement) Maps the typename of the given Element if the targetNamespace attribute of the given Node equals the rimNS.
Parameters: typeNameElement - the TypeName Element inside a DescribeRecord request. | public String | mapTypeNames(Node node) |
EBRIM_Mapping | public EBRIM_Mapping()(Code) | | The constructor parses the configuration file 'adv_catalog.properties' containing the propertypath mappings from
ebrim to gml.
|
init | public void init(org.apache.xalan.extensions.XSLProcessorContext context, org.apache.xalan.templates.ElemExtensionCall extElem)(Code) | | A very important method, it allows the retrieval of the original dom tree from the xslt-processor, which in it's
turn can be used to find the prefix mappings used in the document.
Parameters: context - the xslt Context, which will be given by the xalan processor Parameters: extElem - a class encapsulating some calling parameters from the xslt script, it is not used in this class. |
mapElementSetName | public NodeList mapElementSetName(Node elementSetNameNode)(Code) | | This method take an elementSetName node and conerts it's content into a list of wfs:PropertyName nodes. Depending
on the (String) value of the elementSetNameNode (brief, summary, full) the propertyNames will have different
values. For this method to work a temporal document is builded from which one element is created, this element
will hold all child elements.
Parameters: elementSetNameNode - the ElementSetName Node of the incoming GetRecords request. a Nodelist containing nodes. |
mapPropertyPath | public String mapPropertyPath(Node node) throws XMLParsingException(Code) | | maps a property name of GetRecords, Delete and Update request from the catalogue schema to the underlying WFS
schema
Parameters: node - containing the propertyPath the mapped propertypath throws: XMLParsingException - |
mapTypeNameElement | public String mapTypeNameElement(Node typeNameElement)(Code) | | Maps the typename of the given Element if the targetNamespace attribute of the given Node equals the rimNS.
Parameters: typeNameElement - the TypeName Element inside a DescribeRecord request. the mapping of the featureType requested or an empty string (e.g. ""). |
mapTypeNames | public String mapTypeNames(Node node) throws XMLParsingException(Code) | | maps the property names of given typenames in the typeNames attribute of a GetRecords request to the catalogue
schema of the underlying WFS schema
Parameters: node - the GetRecords request Node the mapped propertypath throws: XMLParsingException - |
|
|