simpleLatestElem.setAttribute( "servicName", sPdh.getProxyDatasetService( null ).getName() );
addProxiesElem.addContent( simpleLatestElem );
}
else if ( curPdh instanceof LatestCompleteProxyDsHandler )
{
LatestCompleteProxyDsHandler lcPdh = (LatestCompleteProxyDsHandler) curPdh;
Element latestElem = new Element( "latestComplete", defNS );
latestElem.setAttribute( "name", lcPdh.getProxyDatasetName() );
latestElem.setAttribute( "top", lcPdh.isLocateAtTopOrBottom() ? "true" : "false" );
latestElem.setAttribute( "servicName", lcPdh.getProxyDatasetService( null ).getName() );
latestElem.setAttribute( "lastModifiedLimit", Long.toString( lcPdh.getLastModifiedLimit()));
addProxiesElem.addContent( latestElem );
}
else
{
logger.warn( "writeDatasetScanAddProxies(): unknown type of ProxyDatasetHandler <" + curPdh.getProxyDatasetName() + ">.");