it.geosolutions.imageio.plugins.jp2k.box
Class PaletteBoxMetadataNode

Object
  extended by IIOMetadataNode
      extended by BaseJP2KBoxMetadataNode
          extended by PaletteBoxMetadataNode
All Implemented Interfaces:
Element, Node, NodeList

public class PaletteBoxMetadataNode
extends BaseJP2KBoxMetadataNode

This class is designed to represent a palette box for JPEG 2000 JP2 file format. A palette box has a length, and a fixed type of "pclr". Its content contains the number of palette entry, the number of color components, the bit depths of the output components, the LUT. Currently, only 8-bit color index is supported.


Field Summary
 
Fields inherited from interface Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE
 
Constructor Summary
PaletteBoxMetadataNode(PaletteBox box)
           
 
Method Summary
 String getBitDepths(int index)
          Return the bit depths for all the color components.
 String getNumComp()
          Return the number of color components.
 String getNumEntries()
           
 byte[][] getRawLUT()
          Return the Raw LUT.
 
Methods inherited from class BaseJP2KBoxMetadataNode
getBoxType
 
Methods inherited from class IIOMetadataNode
appendChild, cloneNode, compareDocumentPosition, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getAttributes, getBaseURI, getChildNodes, getElementsByTagName, getElementsByTagNameNS, getFeature, getFirstChild, getLastChild, getLength, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTagName, getTextContent, getUserData, getUserObject, hasAttribute, hasAttributeNS, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, item, lookupNamespaceURI, lookupPrefix, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setNodeValue, setPrefix, setTextContent, setUserData, setUserObject
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PaletteBoxMetadataNode

public PaletteBoxMetadataNode(PaletteBox box)
Method Detail

getNumEntries

public String getNumEntries()

getNumComp

public String getNumComp()
Return the number of color components.


getBitDepths

public String getBitDepths(int index)
Return the bit depths for all the color components.


getRawLUT

public byte[][] getRawLUT()
Return the Raw LUT.



Copyright © 2006-2010 GeoSolutions. All Rights Reserved.