|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectIIOMetadata
CoreCommonIIOStreamMetadata
public class CoreCommonIIOStreamMetadata
Class representing common stream metadata
Field Summary | |
---|---|
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. |
Fields inherited from class IIOMetadata |
---|
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, standardFormatSupported |
Constructor Summary | |
---|---|
CoreCommonIIOStreamMetadata(String[] datasetNames)
Public constructor for common stream metadata object. |
Method Summary | |
---|---|
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. |
Methods inherited from class IIOMetadata |
---|
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardChromaNode, getStandardCompressionNode, getStandardDataNode, getStandardDimensionNode, getStandardDocumentNode, getStandardTextNode, getStandardTileNode, getStandardTransparencyNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String nativeMetadataFormatName
public static final String nativeMetadataFormatClassName
IIOMetadataFormat
and
representing the native metadata format for this object.
Constructor Detail |
---|
public CoreCommonIIOStreamMetadata(String[] datasetNames)
CoreCommonIIOStreamMetadata
object given the dataset names
available within the underlying stream.
datasetNames
- the dataset names available within the datasource.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |