org.deegree.services.metadata
Class MetadataUtils
java.lang.Object
org.deegree.services.metadata.MetadataUtils
public class MetadataUtils
- extends Object
Class with utilities to work/convert various metadata 'formats', currently to protocol.ows.metadata from the metadata
jaxb beans.
- Version:
- $Revision: $, $Date: $
- Author:
- Andreas Schmitz, last edited by: $Author: stranger $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MetadataUtils
public MetadataUtils()
convertFromJAXB
public static ServiceIdentification convertFromJAXB(ServiceIdentificationType si)
- Parameters:
si
-
- Returns:
- null, if si is null
convertFromJAXB
public static Address convertFromJAXB(AddressType ad)
convertFromJAXB
public static ResponsibleParty convertFromJAXB(ServiceContactType sc)
convertFromJAXB
public static ServiceProvider convertFromJAXB(ServiceProviderType sp)
- Parameters:
sp
-
- Returns:
- null, if sp is null
convertFromJAXB
public static Pair<ServiceIdentification,ServiceProvider> convertFromJAXB(DeegreeServicesMetadataType md)
Copyright © 2011. All Rights Reserved.