ch.randelshofer.media.tiff
Class TIFFNode
java.lang.Object
ch.randelshofer.media.tiff.TIFFNode
- Direct Known Subclasses:
- TIFFDirectory, TIFFField
public abstract class TIFFNode
- extends java.lang.Object
TIFFNode.
- Version:
- 1.0 2010-07-25 Created.
- Author:
- Werner Randelshofer
|
Field Summary |
protected IFDEntry |
ifdEntry
The IFDEntry from which this node was read. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ifdEntry
protected IFDEntry ifdEntry
- The IFDEntry from which this node was read.
IFDEntry is null, if this node has not been read from a TIFF file.
TIFFNode
public TIFFNode(TIFFTag tag)
getTagName
public java.lang.String getTagName()
getTag
public TIFFTag getTag()
getTagNumber
public int getTagNumber()
- Returns the tag number or -1 if not known.
getIFDEntry
public IFDEntry getIFDEntry()
add
public void add(TIFFNode node)
getChildren
public java.util.ArrayList<TIFFNode> getChildren()
getParent
public TIFFNode getParent()
preorderIterator
public java.util.Iterator<TIFFNode> preorderIterator()
getChildCount
public int getChildCount()
getChildAt
public TIFFNode getChildAt(int i)