Class TLcdCSWRecordPropertyRetrieverProvider

java.lang.Object
com.luciad.ogc.csw.record.TLcdCSWRecordPropertyRetrieverProvider
All Implemented Interfaces:
ILcdPropertyRetrieverProvider

public class TLcdCSWRecordPropertyRetrieverProvider extends Object implements ILcdPropertyRetrieverProvider
Property retriever provider that retrieves CSW dublin core queryable elements (such as "dc:title") from TLcdCSWRecord objects. This can be used to apply a CSW OGC Filter query condition to a set of CSW records using TLcdOGCFilterEvaluator.
Since:
2017.0
See Also:
  • Constructor Details

    • TLcdCSWRecordPropertyRetrieverProvider

      public TLcdCSWRecordPropertyRetrieverProvider(TLcdCSWRecordType aRecordType)
      Creates a new provider for the given record type.
      Since:
      2017.1
    • TLcdCSWRecordPropertyRetrieverProvider

      public TLcdCSWRecordPropertyRetrieverProvider(TLcdCSWRecordType aCSWRecordType, boolean aInsertEmptyValues)
      Creates a new provider with the given behavior for handling missing values.
      See Also:
  • Method Details

    • isInsertEmptyValues

      public boolean isInsertEmptyValues()
      Returns whether or not missing property values should be replaced with empty values (e.g. empty string or undefined bounds). This can be useful to pass CSW compliance tests. Dates are an exception to this.
      Returns:
      true to replace missing property values with empty values
    • getPropertyRetriever

      public ILcdPropertyRetriever getPropertyRetriever(TLcdOGCXPath aXPath)
      Description copied from interface: ILcdPropertyRetrieverProvider
      Returns an instance of ILcdPropertyRetriever that corresponds to the given OGC XPath expression. If the XPath expression is invalid for a given object, the ILcdPropertyRetriever.retrieveProperty(Object) method should return null.
      Specified by:
      getPropertyRetriever in interface ILcdPropertyRetrieverProvider
      Parameters:
      aXPath - the given OGC XPath expression
      Returns:
      the corresponding property retriever.
    • getSupportedProperties

      public List<QName> getSupportedProperties()
      Returns the properties that are supported by this provider.
      Returns:
      the list of properties mentioned in the class javadoc