Package de.pco.imageio
Class PcoIIOMetadata
java.lang.Object
javax.imageio.metadata.IIOMetadata
de.pco.imageio.PcoIIOMetadata
public class PcoIIOMetadata extends IIOMetadata
Metadata in the pluggable form for the ImageIO application
- Author:
- PCO
-
Field Summary
Fields Modifier and Type Field Description static StringnativeMetadataFormatNameFields inherited from class javax.imageio.metadata.IIOMetadata
controller, defaultController, extraMetadataFormatClassNames, extraMetadataFormatNames, nativeMetadataFormatClassName, standardFormatSupported -
Constructor Summary
Constructors Constructor Description PcoIIOMetadata(BildStruct bildStruct)Constructor from the bean that is backing the metadata. -
Method Summary
Modifier and Type Method Description NodegetAsTree(String formatName)Returns the root Node of the metadata description.BildStructgetBildStruct()Returns the backing BildStructintgetHeight()Returns the height of the image.protected IIOMetadataNodegetStandardChromaNode()protected IIOMetadataNodegetStandardCompressionNode()protected IIOMetadataNodegetStandardDataNode()protected IIOMetadataNodegetStandardDimensionNode()protected IIOMetadataNodegetStandardDocumentNode()protected IIOMetadataNodegetStandardTextNode()protected IIOMetadataNodegetStandardTransparencyNode()intgetWidth()Returns the width of the image.booleanisReadOnly()Returns false. bildStruct can be modified.voidmergeTree(String formatName, Node root)Loads all the values in bildStruct from the XML, given by means the root nodevoidreset()Not supported to reset the state of the metadataMethods inherited from class javax.imageio.metadata.IIOMetadata
activateController, getController, getDefaultController, getExtraMetadataFormatNames, getMetadataFormat, getMetadataFormatNames, getNativeMetadataFormatName, getStandardTileNode, getStandardTree, hasController, isStandardMetadataFormatSupported, setController, setFromTree
-
Field Details
-
nativeMetadataFormatName
- See Also:
- Constant Field Values
-
-
Constructor Details
-
PcoIIOMetadata
Constructor from the bean that is backing the metadata.- Parameters:
bildStruct-
-
-
Method Details
-
isReadOnly
public boolean isReadOnly()Returns false. bildStruct can be modified.- Specified by:
isReadOnlyin classIIOMetadata
-
getAsTree
Returns the root Node of the metadata description.- Specified by:
getAsTreein classIIOMetadata
-
mergeTree
Loads all the values in bildStruct from the XML, given by means the root node- Specified by:
mergeTreein classIIOMetadata- Throws:
IIOInvalidTreeException
-
reset
public void reset()Not supported to reset the state of the metadata- Specified by:
resetin classIIOMetadata
-
getWidth
public int getWidth()Returns the width of the image.- Returns:
-
getHeight
public int getHeight()Returns the height of the image.- Returns:
-
getBildStruct
Returns the backing BildStruct- Returns:
-
getStandardChromaNode
- Overrides:
getStandardChromaNodein classIIOMetadata
-
getStandardCompressionNode
- Overrides:
getStandardCompressionNodein classIIOMetadata
-
getStandardDataNode
- Overrides:
getStandardDataNodein classIIOMetadata
-
getStandardDimensionNode
- Overrides:
getStandardDimensionNodein classIIOMetadata
-
getStandardDocumentNode
- Overrides:
getStandardDocumentNodein classIIOMetadata
-
getStandardTextNode
- Overrides:
getStandardTextNodein classIIOMetadata
-
getStandardTransparencyNode
- Overrides:
getStandardTransparencyNodein classIIOMetadata
-