public class TableHDUDataNode extends HDUDataNode
DataNode interface for
representing binary or ASCII tables in FITS HDUs.| Constructor and Description |
|---|
TableHDUDataNode(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. |
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). |
String |
getDescription()
Gets a concise description of this object.
|
String |
getNodeTLA()
The
DefaultDataNode implementation returns the string "...". |
String |
getNodeType()
Returns a short sentence indicating what kind of node this is.
|
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(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 StarTable getStarTable() throws IOException
IOExceptionpublic boolean isStarTable()
public boolean allowsChildren()
DefaultDataNodeDefaultDataNode implementation of this method returns
false.allowsChildren in interface DataNodeallowsChildren in class HDUDataNodetrue if the node is of a type which can have
child nodes, false otherwisepublic 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 String getNodeTLA()
DefaultDataNodeDefaultDataNode implementation returns the string "...".getNodeTLA in interface DataNodegetNodeTLA in class HDUDataNodepublic String getNodeType()
DataNodegetNodeType in interface DataNodegetNodeType in class HDUDataNodeDataNodepublic boolean hasDataObject(DataType dtype)
DefaultDataNodeDefaultDataNode implementation returns true for
only those data objects which have been registered using
DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object).hasDataObject in interface DataNodehasDataObject in class DefaultDataNodedtype - data object type of interestgetDataObject(type) is likely to be successfulpublic Object getDataObject(DataType dtype) throws DataObjectException
DefaultDataNodeDefaultDataNode implementation returns any data object
which has been registered using DefaultDataNode.registerDataObject(uk.ac.starlink.datanode.nodes.DataType, java.lang.Object).getDataObject in interface DataNodegetDataObject in class DefaultDataNodedtype - data object type of interesttypeDataObjectExceptionCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.