public class TableHDUDataNode extends HDUDataNode
DataNode interface for
representing binary or ASCII tables in FITS HDUs.| Constructor and Description |
|---|
TableHDUDataNode(nom.tam.fits.Header header,
FITSDataNode.ArrayDataMaker hdudata)
Initialises a
TableHDUDataNode from an Header
object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allowsChildren()
The DefaultDataNode implementation of this method returns
false.
|
java.lang.Object |
getDataObject(DataType dtype)
The DefaultDataNode implementation returns any data object
which has been registered using
DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object). |
java.lang.String |
getDescription()
Gets a concise description of this object.
|
java.lang.String |
getNodeTLA()
The DefaultDataNode implementation returns the string "...".
|
java.lang.String |
getNodeType()
Returns a short sentence indicating what kind of node this is.
|
uk.ac.starlink.table.StarTable |
getStarTable()
Returns the StarTable containing the data.
|
boolean |
hasDataObject(DataType dtype)
The DefaultDataNode implementation returns true for
only those data objects which have been registered using
DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object). |
boolean |
isStarTable() |
configureDetail, getHDUIndex, getHduType, getHeader, getPathElement, getPathSeparatorbeep, getChildIterator, getChildMaker, getCreator, getIcon, getLabel, getName, getParentObject, makeChild, makeErrorChild, registerDataObject, setChildMaker, setCreator, setDescription, setIconID, setLabel, setName, setParentObject, toStringpublic TableHDUDataNode(nom.tam.fits.Header header,
FITSDataNode.ArrayDataMaker hdudata)
throws NoSuchDataException
TableHDUDataNode from an Header
object. The stream is read to the end of the HDU.header - a FITS header object from which the node is to be createdhdudata - object which can supply the data stream where
the data residesNoSuchDataExceptionpublic uk.ac.starlink.table.StarTable getStarTable()
throws java.io.IOException
java.io.IOExceptionpublic boolean isStarTable()
public boolean allowsChildren()
DefaultDataNodeallowsChildren in interface DataNodeallowsChildren in class HDUDataNodetrue if the node is of a type which can have
child nodes, false otherwisepublic java.lang.String getDescription()
DataNodegetName method, since they may be presented together.
It should be on one line, and preferably no longer than around
70 characters. The null value may be returned if
there is nothing to say.getDescription in interface DataNodegetDescription in class HDUDataNodepublic java.lang.String getNodeTLA()
DefaultDataNodegetNodeTLA in interface DataNodegetNodeTLA in class HDUDataNodepublic java.lang.String getNodeType()
DataNodegetNodeType in interface DataNodegetNodeType in class HDUDataNodeDataNodepublic boolean hasDataObject(DataType dtype)
DefaultDataNodeDefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object).hasDataObject in interface DataNodehasDataObject in class DefaultDataNodedtype - data object type of interestpublic java.lang.Object getDataObject(DataType dtype) throws DataObjectException
DefaultDataNodeDefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object).getDataObject in interface DataNodegetDataObject in class DefaultDataNodedtype - data object type of interestDataObjectExceptionCopyright © 2017 Central Laboratory of the Research Councils. All Rights Reserved.