public class CoreCommonIIOStreamMetadata
extends IIOMetadata
Modifier and Type | Field and Description |
---|---|
static String |
nativeMetadataFormatClassName
The name of the class implementing
IIOMetadataFormat and
representing the native metadata format for this object. |
static String |
nativeMetadataFormatName
The name of the native metadata format for this object.
|
Constructor and Description |
---|
CoreCommonIIOStreamMetadata(String[] datasetNames)
Public constructor for common stream metadata object.
|
Modifier and Type | Method and Description |
---|---|
Node |
getAsTree(String formatName)
Returns an XML DOM
Node object that represents the root of
a tree of common stream metadata contained within this object according
to the conventions defined by a given metadata format name. |
boolean |
isReadOnly()
Returns
true since this object does not support the
mergeTree , setFromTree , and
reset methods. |
void |
mergeTree(String formatName,
Node root)
Method unsupported.
|
void |
reset()
Method unsupported.
|
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
public static final String nativeMetadataFormatName
public static final String nativeMetadataFormatClassName
IIOMetadataFormat
and
representing the native metadata format for this object.public CoreCommonIIOStreamMetadata(String[] datasetNames)
CoreCommonIIOStreamMetadata
object given the dataset names
available within the underlying stream.datasetNames
- the dataset names available within the datasource.public Node getAsTree(String formatName)
Node
object that represents the root of
a tree of common stream metadata contained within this object according
to the conventions defined by a given metadata format name.getAsTree
in class IIOMetadata
formatName
- the name of the requested metadata format. Note that
actually, the only supported format name is the
nativeMetadataFormatName
.
Requesting other format names will result in an
IllegalArgumentException
public boolean isReadOnly()
true
since this object does not support the
mergeTree
, setFromTree
, and
reset
methods.isReadOnly
in class IIOMetadata
true
since this IIOMetadata
object
cannot be modified.public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
UnsupportedOperationException
mergeTree
in class IIOMetadata
IIOInvalidTreeException
javax.imageio.metadata.IIOMetadata#mergeTree()
,
isReadOnly()
public void reset()
UnsupportedOperationException
reset
in class IIOMetadata
IIOMetadata.reset()
,
isReadOnly()
Copyright © 2006-2018 GeoSolutions. All Rights Reserved.