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.
|
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported| 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, setFromTreepublic 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 IIOMetadataformatName - 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
IllegalArgumentExceptionpublic boolean isReadOnly()
true since this object does not support the
mergeTree, setFromTree, and
reset methods.isReadOnly in class IIOMetadatatrue since this IIOMetadata object
cannot be modified.public void mergeTree(String formatName, Node root) throws IIOInvalidTreeException
UnsupportedOperationExceptionmergeTree in class IIOMetadataIIOInvalidTreeExceptionjavax.imageio.metadata.IIOMetadata#mergeTree(),
isReadOnly()public void reset()
UnsupportedOperationExceptionreset in class IIOMetadataIIOMetadata.reset(),
isReadOnly()Copyright © 2006–2019 GeoSolutions. All rights reserved.