Interface CswRecordMap
- All Known Implementing Classes:
MetacardCswRecordMap
public interface CswRecordMap
Maps property names from a CSW query to catalog taxonomy
-
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.
-
Method Details
-
getProperty
Gets 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, thengetProperty(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
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
Returns true if the property name has a corresponding catalog taxonomy attribute.NamespaceSupportwill be used to resolve namespaces. IfNamespaceSupportis null, thenhasProperty(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
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.
-