@Override protected AggregateInformation unwrap(final DefaultAssociatedResource container) { if (container instanceof AggregateInformation) { return (AggregateInformation) container; } else { return new DefaultAggregateInformation(container); } }
/** * For JAXB unmarhalling of ISO 19119 document only. Sets {@link #operation} to a temporary * {@link OperationName} placeholder. That temporary instance will be replaced by the real * one when the enclosing {@link DefaultServiceIdentification} is unmarshalled. */ private void setOperationName(final String name) { if (operation == null) { operation = new OperationName(name); } }
/** * Sets the factor which provides a general understanding of the density of spatial data in the resource(s). * * @param newValues the new spatial resolutions. * * @since 0.5 */ public void setSpatialResolutions(final Collection<? extends Resolution> newValues) { spatialResolutions = writeCollection(newValues, spatialResolutions, Resolution.class); }
metadata.add("ResourceFormatSpecificationAlternativeTitle ",f.getName().toString()); CheckedHashSet<Locale> localeCheckedHashSet= (CheckedHashSet<Locale>) defaultDataIdentification.getLanguages(); for(Locale l:localeCheckedHashSet){ metadata.add("IdentificationInfoLanguage-->",l.getDisplayLanguage(Locale.ENGLISH)); CodeListSet<TopicCategory> categoryList= (CodeListSet<TopicCategory>) defaultDataIdentification.getTopicCategories(); for(TopicCategory t:categoryList){ metadata.add("IdentificationInfoTopicCategory-->",t.name()); Collection<Extent> extentList=((DefaultDataIdentification) i).getExtents(); for(Extent e:extentList){ ArrayList<GeographicExtent> geoElements= (ArrayList<GeographicExtent>) e.getGeographicElements();
xhtmlContentHandler.endElement("p"); xhtmlContentHandler.newline(); Collection<Extent> extentList=((DefaultDataIdentification) i).getExtents(); for(Extent e:extentList){ ArrayList<GeographicExtent> geoElements= (ArrayList<GeographicExtent>) e.getGeographicElements();
/** * Sets the citation for the resource(s). * * @param newValue the new citation. */ public void setCitation(final Citation newValue) { checkWritePermission(); citation = newValue; }
/** * Sets the versions of the service. * * @param newValues the new versions of the service. */ public void setServiceTypeVersions(final Collection<? extends String> newValues) { serviceTypeVersions = writeCollection(newValues, serviceTypeVersions, String.class); }
/** * Sets a label for the keyword category in natural language. * * @param newValue the new keyword category in natural language. */ public void setClassName(final InternationalString newValue) { checkWritePermission(); className = newValue; }
/** * Converts a GeoAPI interface to the SIS implementation for XML marshalling. * * @param value the bound type value, here the GeoAPI interface. * @return the adapter for the given value, here the SIS implementation. */ @Override public DefaultKeywords marshal(final Keywords value) { return DefaultKeywords.castOrCopy(value); } }
/** * Sets the identifier of the resource in the context of the given service instance. * * @param newValue the new identifier of the resource. */ public void setScopedName(final ScopedName newValue) { checkWritePermission(); this.scopedName = newValue; }
/** * Sets applications, determined by the user for which the resource and/or resource series is not suitable. * * @param newValue the new user determined limitations. */ public void setUserDeterminedLimitations(final InternationalString newValue) { checkWritePermission(); this.userDeterminedLimitations = newValue; }
/** * Sets the type of relation between the resources. * * @param newValue the new association type. */ @Override public void setAssociationType(final AssociationType newValue) { super.setAssociationType(newValue); }
/** * Sets the format in which the illustration is encoded. * Raster formats are encouraged to use one of the names returned by * {@link javax.imageio.ImageIO#getReaderFormatNames()}. * * @param newValue the new file type. */ public void setFileType(final String newValue) { checkWritePermission(); fileType = newValue; }
/** * Sets the reference to the metadata of the associated resource. * * @param newValue the new reference to the metadata. */ public void setMetadataReference(final Citation newValue) { checkWritePermission(); metadataReference = newValue; } }
/** * Sets the method used to spatially represent geographic information. * * @param newValues the new spatial representation types. * * @since 0.5 */ public void setSpatialRepresentationTypes(final Collection<? extends SpatialRepresentationType> newValues) { spatialRepresentationTypes = writeCollection(newValues, spatialRepresentationTypes, SpatialRepresentationType.class); }
/** * Sets a summary of the intentions with which the resource(s) was developed. * * @param newValue the new summary of intention. */ public void setPurpose(final InternationalString newValue) { checkWritePermission(); purpose = newValue; }
/** * Sets the information on the resources that the service operates on. * * @param newValues the new information on the resources that the service operates on. */ public void setOperatesOn(final Collection<? extends DataIdentification> newValues) { operatesOn = writeCollection(newValues, operatesOn, DataIdentification.class); }
/** * Sets a description of the format of the resource(s). * * @param newValues the new resource format. * * @see org.apache.sis.metadata.iso.distribution.DefaultDistribution#setDistributionFormats(Collection) */ public void setResourceFormats(final Collection<? extends Format> newValues) { resourceFormats = writeCollection(newValues, resourceFormats, Format.class); }
/** * Sets code that identifies the level of processing in the producers coding system of a resource. * * @param newValue New code that identifies the level of processing. * * @since 0.5 */ public void setProcessingLevel(final Identifier newValue) { checkWritePermission(); processingLevel = newValue; }
/** * Sets category keywords, their type, and reference source. * * @param newValues the new descriptive keywords. */ public void setDescriptiveKeywords(final Collection<? extends Keywords> newValues) { descriptiveKeywords = writeCollection(newValues, descriptiveKeywords, Keywords.class); }