kwd.getKeyword().add(kw); service.getKeywords().add(kwd); service.setServiceType(serviceType); service.setServiceTypeVersion("1.0.0"); service.setTitle(title); service.setAbstract(abstract_); service.setAccessConstraints(accessConstraints); service.setFees(fees);
/** * Maps to the capabilities' service identification abstract * * @see ServiceInfo#getDescription() */ public String getDescription() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getAbstract(); }
/** @see ServiceInfo#getTitle() */ public String getTitle() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getTitle(); }
/** * Maps to the capabilities' service identification keywords list * * @see ServiceInfo#getDescription() */ public Set<String> getKeywords() { Set<String> kws = new HashSet<String>(); ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); if (serviceIdentification != null) { @SuppressWarnings("unchecked") List<KeywordsType> keywords = serviceIdentification.getKeywords(); if (keywords != null) { for (KeywordsType k : keywords) { kws.addAll(k.getKeyword()); } kws.remove(null); } } return kws; }
/** * @see WFSProtocol#getServiceKeywords() */ public Set<String> getServiceKeywords() { List<KeywordsType> capsKeywords = getServiceIdentification().getKeywords(); return extractKeywords(capsKeywords); }
kwd.getKeyword().add(kw); service.getKeywords().add(kwd); service.setServiceType(serviceType); service.setServiceTypeVersion("1.0.0"); service.setTitle(title); service.setAbstract(abstract_); service.setAccessConstraints(accessConstraints); service.setFees(fees);
/** * Maps to the capabilities' service identification keywords list * * @see ServiceInfo#getDescription() */ public Set<String> getKeywords() { Set<String> kws = new HashSet<String>(); ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); if (serviceIdentification != null) { @SuppressWarnings("unchecked") List<KeywordsType> keywords = serviceIdentification.getKeywords(); if (keywords != null) { for (KeywordsType k : keywords) { kws.addAll(k.getKeyword()); } kws.remove(null); } } return kws; }
/** * Maps to the capabilities' service identification abstract * * @see ServiceInfo#getDescription() */ public String getDescription() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getAbstract(); }
/** * @see WFSProtocol#getServiceTitle() */ public String getServiceTitle() { return getServiceIdentification().getTitle(); }
caps.setServiceIdentification(si); si.setTitle(csw.getTitle()); si.setAbstract(csw.getAbstract()); si.getKeywords().add(kw); si.setServiceType(CSW); si.setServiceTypeVersion(CSW_VERSION); si.setFees(csw.getFees()); si.setAccessConstraints(csw.getAccessConstraints());
/** * @see WFSProtocol#getServiceAbstract() */ public String getServiceAbstract() { return getServiceIdentification().getAbstract(); }
/** @see ServiceInfo#getTitle() */ public String getTitle() { ServiceIdentificationType serviceIdentification = capabilities.getServiceIdentification(); return serviceIdentification == null ? null : serviceIdentification.getTitle(); }
caps.setServiceIdentification(si); si.setTitle(csw.getTitle()); si.setAbstract(csw.getAbstract()); si.getKeywords().add(kw); si.setServiceType(CSW); si.setServiceTypeVersion(CSW_VERSION); si.setFees(csw.getFees()); si.setAccessConstraints(csw.getAccessConstraints());