it.geosolutions.geonetwork.op
Class GNMetadataGetVersion
java.lang.Object
it.geosolutions.geonetwork.op.GNMetadataGetVersion
public class GNMetadataGetVersion
- extends Object
Get the version number for a given Metadata.
GN does not provide the version seq number in an XML format, so this
implementation it's quite a hack: it calls metadata.edit service in debug mode,
and parses the version number from there.
2 drawbacks here:
- debug mode should be enabled,
- the resulting document is about 1MB
- Author:
- ETj (etj at geo-solutions.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NS_GEONET
public static final Namespace NS_GEONET
NS_GMD
public static final Namespace NS_GMD
GNMetadataGetVersion
public GNMetadataGetVersion()
get
public static String get(HTTPUtils connection,
String gnServiceURL,
Long id)
throws GNLibException,
GNServerException
- Throws:
GNLibException
GNServerException
Copyright © 2011-2012 GeoSolutions. All Rights Reserved.