public class InspireResourceLocator
extends java.lang.Object
| Constructor and Description |
|---|
InspireResourceLocator(java.lang.String url) |
| Modifier and Type | Method and Description |
|---|---|
InspireResourceLocator |
addMediaType(MediaType mediaType)
Add a
MediaType |
java.util.Set<MediaType> |
getMediaTypes()
Get the
MediaTypes |
java.lang.String |
getURL()
Get the URL
|
boolean |
isSetMediaTypes()
Check if media types are set
|
boolean |
isSetUrl()
Check if the URL is set
|
InspireResourceLocator |
setMediaTypes(java.util.Collection<MediaType> mediaTypes)
Set the
MediaTypes, clears the existing collection |
java.lang.String |
toString() |
public java.lang.String getURL()
public boolean isSetUrl()
true, if the URL is setpublic java.util.Set<MediaType> getMediaTypes()
MediaTypespublic InspireResourceLocator setMediaTypes(java.util.Collection<MediaType> mediaTypes)
MediaTypes, clears the existing collectionmediaTypes - the media types to setpublic InspireResourceLocator addMediaType(MediaType mediaType)
MediaTypemediaType - the media type to addpublic boolean isSetMediaTypes()
true, if media types are setpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015–2018 52°North Initiative for Geospatial Open Source Software GmbH. All rights reserved.