All Known Implementing Classes:
MetacardCswRecordMap

public interface CswRecordMap
Maps property names from a CSW query to catalog taxonomy
  • Method Summary

    Modifier and Type
    Method
    Description
    getProperty(String propertyName)
    Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped.
    getProperty(String propertyName, NamespaceSupport context)
    Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped.
    boolean
    hasProperty(String propertyName)
    Returns true if the property name has a corresponding catalog taxonomy attribute.
    boolean
    hasProperty(String propertyName, NamespaceSupport context)
    Returns true if the property name has a corresponding catalog taxonomy attribute.
  • Method Details

    • getProperty

      String getProperty(String propertyName, NamespaceSupport context)
      Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped. NamespaceSupport will be used to resolve namespaces. If NamespaceSupport is null, then getProperty(String) should be used.
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      context - Namespace context from the CSW query
      Returns:
      Catalog taxonomy attribute name.
    • getProperty

      String getProperty(String propertyName)
      Gets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped. If the property name is prefixed, then the prefix will be removed and first match will be returned.
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      Returns:
      Catalog taxonomy attribute name
    • hasProperty

      boolean hasProperty(String propertyName, NamespaceSupport context)
      Returns true if the property name has a corresponding catalog taxonomy attribute. NamespaceSupport will be used to resolve namespaces. If NamespaceSupport is null, then hasProperty(String) should be used.
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      context - Namespace context from the CSW query
      Returns:
      True if the property name has a corresponding catalog taxonomy attribute.
    • hasProperty

      boolean hasProperty(String propertyName)
      Returns true if the property name has a corresponding catalog taxonomy attribute. If the property name is prefixed, then the prefix will be removed before performing the check.
      Parameters:
      propertyName - CSW query property name. Can be prefixed.
      Returns:
      True if the property name has a corresponding catalog taxonomy attribute.