source: osm/applications/editors/josm/plugins/opendata/includes/org/opengis/filter/expression/PropertyName.java@ 28000

Last change on this file since 28000 was 28000, checked in by donvip, 12 years ago

Import new "opendata" JOSM plugin

File size: 1.6 KB
Line 
1/*
2 * GeoTools - The Open Source Java GIS Toolkit
3 * http://geotools.org
4 *
5 * (C) 2011, Open Source Geospatial Foundation (OSGeo)
6 * (C) 2005 Open Geospatial Consortium Inc.
7 *
8 * All Rights Reserved. http://www.opengis.org/legal/
9 */
10package org.opengis.filter.expression;
11
12// Annotations
13import org.opengis.annotation.XmlElement;
14import org.xml.sax.helpers.NamespaceSupport;
15
16
17/**
18 * Expression class whose value is computed by retrieving the value indicated
19 * by the provided name.
20 * <p>
21 * The most common applicatoin of this is to retrive
22 * a {@linkplain org.opengis.feature.Feature feature}'s property using
23 * an xpath expression.
24 * </p>
25 * <p>
26 * Please note that the Filter specification allows a limited subset of
27 * XPath to be used for the PropertyName. We encourage implementations to
28 * match this functionality.
29 * </p>
30 *
31 * @source $URL: http://svn.osgeo.org/geotools/branches/2.7.x/modules/library/opengis/src/main/java/org/opengis/filter/expression/PropertyName.java $
32 * @version <A HREF="http://www.opengis.org/docs/02-059.pdf">Implementation specification 1.0</A>
33 * @author Chris Dillard (SYS Technologies)
34 * @since GeoAPI 2.0
35 */
36@XmlElement("PropertyName")
37public interface PropertyName extends Expression {
38 /**
39 * Returns the name of the property whose value will be returned by the
40 * {@link #evaluate evaluate} method.
41 */
42 String getPropertyName();
43
44 /**
45 * Returns namespace context information, or null if unavailable/inapplicable
46 *
47 * @return namespace context information, or null if unavailable/inapplicable
48 */
49 NamespaceSupport getNamespaceContext();
50
51}
Note: See TracBrowser for help on using the repository browser.