Class MetacardCswRecordMap
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.endpoint.mappings.MetacardCswRecordMap
- All Implemented Interfaces:
CswRecordMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetProperty(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.booleanhasProperty(String propertyName) Returns true if the property name has a corresponding catalog taxonomy attribute.booleanhasProperty(String propertyName, NamespaceSupport context) Returns true if the property name has a corresponding catalog taxonomy attribute.
-
Constructor Details
-
MetacardCswRecordMap
public MetacardCswRecordMap()
-
-
Method Details
-
getProperty
Description copied from interface:CswRecordMapGets the catalog taxonomy attribute name for the property name, or returns the property name if not mapped.NamespaceSupportwill be used to resolve namespaces. IfNamespaceSupportis null, thenCswRecordMap.getProperty(String)should be used.- Specified by:
getPropertyin interfaceCswRecordMap- Parameters:
propertyName- CSW query property name. Can be prefixed.context- Namespace context from the CSW query- Returns:
- Catalog taxonomy attribute name.
-
getProperty
Description copied from interface:CswRecordMapGets 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.- Specified by:
getPropertyin interfaceCswRecordMap- Parameters:
propertyName- CSW query property name. Can be prefixed.- Returns:
- Catalog taxonomy attribute name
-
hasProperty
Description copied from interface:CswRecordMapReturns true if the property name has a corresponding catalog taxonomy attribute.NamespaceSupportwill be used to resolve namespaces. IfNamespaceSupportis null, thenCswRecordMap.hasProperty(String)should be used.- Specified by:
hasPropertyin interfaceCswRecordMap- 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
Description copied from interface:CswRecordMapReturns 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.- Specified by:
hasPropertyin interfaceCswRecordMap- Parameters:
propertyName- CSW query property name. Can be prefixed.- Returns:
- True if the property name has a corresponding catalog taxonomy attribute.
-