public class DefaultBrowseGraphic extends ISOMetadata implements BrowseGraphic
Limitations:
XML
instead.Defined in the sis-metadata
module
identifiers, LOGGER
Constructor and Description |
---|
DefaultBrowseGraphic()
Constructs an initially empty browse graphic.
|
DefaultBrowseGraphic(BrowseGraphic object)
Constructs a new instance initialized with the values from the specified metadata object.
|
DefaultBrowseGraphic(URI fileName)
Creates a browse graphics initialized to the specified URI.
|
Modifier and Type | Method and Description |
---|---|
static DefaultBrowseGraphic |
castOrCopy(BrowseGraphic object)
Returns a SIS metadata implementation with the values of the given arbitrary implementation.
|
InternationalString |
getFileDescription()
Returns the text description of the illustration.
|
URI |
getFileName()
Returns the name of the file that contains a graphic that provides an illustration of the dataset.
|
String |
getFileType()
Format in which the illustration is encoded.
|
Collection<Constraints> |
getImageConstraints()
Returns the restrictions on access and / or use of browse graphic.
|
Collection<OnlineResource> |
getLinkages()
Return the links to browse graphic.
|
void |
setFileDescription(InternationalString newValue)
Sets the text description of the illustration.
|
void |
setFileName(URI newValue)
Sets the name of the file that contains a graphic that provides an illustration of the dataset.
|
void |
setFileType(String newValue)
Sets the format in which the illustration is encoded.
|
void |
setImageConstraints(Collection<? extends Constraints> newValues)
Sets the restrictions on access and / or use of browse graphic.
|
void |
setLinkages(Collection<? extends OnlineResource> newValues)
Sets the links to browse graphic.
|
getIdentifierMap, getIdentifiers, getStandard
checkWritePermission, clone, collectionType, copyCollection, copyList, copySet, freeze, isModifiable, nonNullCollection, nonNullList, nonNullSet, singleton, unmodifiable, writeCollection, writeList, writeSet
asMap, asTreeTable, equals, equals, getInterface, hashCode, isEmpty, prune, toString
public DefaultBrowseGraphic()
public DefaultBrowseGraphic(URI fileName)
fileName
- The name of the file that contains a graphic.public DefaultBrowseGraphic(BrowseGraphic object)
object
- The metadata to copy values from, or null
if none.castOrCopy(BrowseGraphic)
public static DefaultBrowseGraphic castOrCopy(BrowseGraphic object)
null
, then this method returns null
.DefaultBrowseGraphic
, then it is returned unchanged.DefaultBrowseGraphic
instance is created using the
copy constructor
and returned. Note that this is a shallow copy operation, since the other
metadata contained in the given object are not recursively copied.object
- The object to get as a SIS implementation, or null
if none.null
if the argument was null.public URI getFileName()
getFileName
in interface BrowseGraphic
null
.public void setFileName(URI newValue)
newValue
- The new filename.public InternationalString getFileDescription()
getFileDescription
in interface BrowseGraphic
null
.public void setFileDescription(InternationalString newValue)
newValue
- The new file description.public String getFileType()
getFileType
in interface BrowseGraphic
null
.public void setFileType(String newValue)
ImageIO.getReaderFormatNames()
.newValue
- The new file type.public Collection<Constraints> getImageConstraints()
public void setImageConstraints(Collection<? extends Constraints> newValues)
newValues
- The new restrictions on access and / or use of browse graphic.public Collection<OnlineResource> getLinkages()
public void setLinkages(Collection<? extends OnlineResource> newValues)
newValues
- The new links to browse graphic.Copyright © 2010–2015 The Apache Software Foundation. All rights reserved.