org.deegree.services.metadata
Class MetadataUtils

java.lang.Object
  extended by 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 $

Constructor Summary
MetadataUtils()
           
 
Method Summary
static Address convertFromJAXB(AddressType ad)
           
static Pair<ServiceIdentification,ServiceProvider> convertFromJAXB(DeegreeServicesMetadataType md)
           
static ResponsibleParty convertFromJAXB(ServiceContactType sc)
           
static ServiceIdentification convertFromJAXB(ServiceIdentificationType si)
           
static ServiceProvider convertFromJAXB(ServiceProviderType sp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MetadataUtils

public MetadataUtils()
Method Detail

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.