org.deegree.services.csw.profile
Class EbrimProfile
java.lang.Object
org.deegree.services.csw.profile.EbrimProfile
- All Implemented Interfaces:
- ServiceProfile
public class EbrimProfile
- extends Object
- implements ServiceProfile
TODO add class documentation here
- Version:
- $Revision: $, $Date: $
- Author:
- Lyn Goltz, last edited by: $Author: lyn $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SERVICENAME_CSW
public static final String SERVICENAME_CSW
- See Also:
- Constant Field Values
SERVICENAME_CSW_EBRIM
public static final String SERVICENAME_CSW_EBRIM
- See Also:
- Constant Field Values
SERVICENAME_WRS
public static final String SERVICENAME_WRS
- See Also:
- Constant Field Values
RIM_NS
public static final String RIM_NS
- See Also:
- Constant Field Values
IMPLEMENTATION_METADATA
protected static final ImplementationMetadata<CSWConstants.CSWRequestType> IMPLEMENTATION_METADATA
EbrimProfile
public EbrimProfile()
getSupportedVersions
public List<String> getSupportedVersions()
- Specified by:
getSupportedVersions
in interface ServiceProfile
- Returns:
- all versions supported of the service
getImplementationMetadata
public ImplementationMetadata<CSWConstants.CSWRequestType> getImplementationMetadata()
- Specified by:
getImplementationMetadata
in interface ServiceProfile
- Returns:
- the
ImplementationMetadata
instance of the service
getSupportedServiceNames
public String[] getSupportedServiceNames()
- Specified by:
getSupportedServiceNames
in interface ServiceProfile
- Returns:
- all service names supported of the service
getAcceptFormat
public String getAcceptFormat(GetCapabilities getCapabilitiesRequest)
throws OWSException
- Specified by:
getAcceptFormat
in interface ServiceProfile
- Returns:
- the format accepted of the service dependent of the GetCapabilities request, never
null
. If
the format os not accepted a OWSException
is thrown.
- Throws:
OWSException
- if the format is not accepted
getCapabilitiesHandler
public CapabilitiesHandler getCapabilitiesHandler(XMLStreamWriter writer,
DeegreeServicesMetadataType mainControllerConf,
DeegreeServiceControllerType mainConf,
Set<CSWConstants.Sections> sections,
ServiceIdentificationType identification,
Version version,
boolean isTransactionEnabled,
boolean isEnabledInspireExtension,
ServiceProviderType provider,
URL extendedCapabilities)
- Description copied from interface:
ServiceProfile
- TODO
- Specified by:
getCapabilitiesHandler
in interface ServiceProfile
- Returns:
- an instance of a
GetCapabilitiesHandler
to hanlde the a GetCapabilities request
getDefaultTypeNames
public QName[] getDefaultTypeNames()
- Specified by:
getDefaultTypeNames
in interface ServiceProfile
- Returns:
- the defaultTypeNames supported for a
DescribeRecord
request
getSchema
public URL getSchema(QName typeName)
- Specified by:
getSchema
in interface ServiceProfile
- Returns:
- the URL of the schema assigned to the type name,
null
if no schema can be found
getSchemaReferences
public List<URL> getSchemaReferences(QName typeName)
- Specified by:
getSchemaReferences
in interface ServiceProfile
- Parameters:
typeName
- a list of schema references assigned to the type name, null
if no schema reference can be
found
- Returns:
checkVersion
public Version checkVersion(Version version)
- Description copied from interface:
ServiceProfile
- Checks is the version is supported and must be handled as another version. This can be required if two version
should be handled equal.
- Specified by:
checkVersion
in interface ServiceProfile
- Parameters:
version
- the version to check
- Returns:
- the version to use instead (often the same as the given one)
supportsOperation
public boolean supportsOperation(CSWConstants.CSWRequestType type)
- Description copied from interface:
ServiceProfile
- Checks if the given
CSWConstants.CSWRequestType
is supported by this service
- Specified by:
supportsOperation
in interface ServiceProfile
- Returns:
- true, if the request is supported, false otherwise
getGetRecordByIdSchemaLocation
public String getGetRecordByIdSchemaLocation(Version version)
- Specified by:
getGetRecordByIdSchemaLocation
in interface ServiceProfile
- Returns:
- the schemalocation for the a
GetRecordById
request
isStrict
public boolean isStrict()
- Specified by:
isStrict
in interface ServiceProfile
- Returns:
- true if the service handles unknown ids requestes by a
GetRecordById
strict, false otherwise
returnAsDC
public boolean returnAsDC(URI outputSchema)
throws MetadataStoreException
- Description copied from interface:
ServiceProfile
- Determine if the given outputSchema should be handled as DublinCore.
- Specified by:
returnAsDC
in interface ServiceProfile
- Parameters:
outputSchema
- the outputsschema, can be null
- Returns:
- true, if dublinCore should be forced, false otherwise
- Throws:
MetadataStoreException
Copyright © 2011. All Rights Reserved.