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

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

public class XMLBoxMetadataNode
extends BaseJP2KBoxMetadataNode

This class is defined to represent a XML box of JPEG JP2 file format. This type of box has a length, a type of "xml ". Its content is a text string of a XML instance.


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
XMLBoxMetadataNode(JP2KBox box)
           
 
Method Summary
 String getNodeValue()
           
 ByteArrayInputStream getRawXml()
           
 Object getUserObject()
           
 String getXml()
           
 
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, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getSchemaTypeInfo, getTagName, getTextContent, getUserData, 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

XMLBoxMetadataNode

public XMLBoxMetadataNode(JP2KBox box)
Method Detail

getXml

public String getXml()

getRawXml

public ByteArrayInputStream getRawXml()

getNodeValue

public String getNodeValue()
                    throws DOMException
Specified by:
getNodeValue in interface Node
Overrides:
getNodeValue in class IIOMetadataNode
Throws:
DOMException

getUserObject

public Object getUserObject()
Overrides:
getUserObject in class IIOMetadataNode


Copyright © 2006-2010 GeoSolutions. All Rights Reserved.