Class GmdConverter
java.lang.Object
org.codice.ddf.spatial.ogc.csw.catalog.converter.AbstractGmdConverter
org.codice.ddf.spatial.ogc.csw.catalog.converter.GmdConverter
- All Implemented Interfaces:
com.thoughtworks.xstream.converters.Converter,com.thoughtworks.xstream.converters.ConverterMatcher
-
Field Summary
Fields inherited from class org.codice.ddf.spatial.ogc.csw.catalog.converter.AbstractGmdConverter
UTC_TIME_ZONE, XSD_FACTORY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddCRSInformation(MetacardImpl metacard, XstreamPathValueTracker pathValueTracker) protected voidaddDistributionInfo(MetacardImpl metacard, XstreamPathValueTracker pathValueTracker) protected voidaddGeospatialExtent(MetacardImpl metacard, XstreamPathValueTracker pathValueTracker) protected voidaddIdentificationInfo(MetacardImpl metacard, XstreamPathValueTracker pathValueTracker) protected XstreamPathValueTrackerbuildPaths(MetacardImpl metacard) Builds up the xml paths and values to write.protected StringGet the name of the root name.Get a list of aliases to be passed toXStream.alias(String, Class).Methods inherited from class org.codice.ddf.spatial.ogc.csw.catalog.converter.AbstractGmdConverter
buildTree, canConvert, marshal, unmarshal
-
Constructor Details
-
GmdConverter
public GmdConverter()
-
-
Method Details
-
getXstreamAliases
Description copied from class:AbstractGmdConverterGet a list of aliases to be passed toXStream.alias(String, Class).- Specified by:
getXstreamAliasesin classAbstractGmdConverter- Returns:
- list of aliases
-
buildPaths
Description copied from class:AbstractGmdConverterBuilds up the xml paths and values to write. Order matters! Paths should be added in the order they must be written.- Specified by:
buildPathsin classAbstractGmdConverter- Parameters:
metacard- must be non-null- Returns:
- XstreamPathValueTracker containing XML paths and values to write
-
getRootNodeName
Description copied from class:AbstractGmdConverterGet the name of the root name.- Specified by:
getRootNodeNamein classAbstractGmdConverter- Returns:
- root node
-
addDistributionInfo
-
addCRSInformation
-
addIdentificationInfo
protected void addIdentificationInfo(MetacardImpl metacard, XstreamPathValueTracker pathValueTracker) -
addGeospatialExtent
-