Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
Returns whether the given NeXus group object can be added as a child group
to this base class instance according to the NXDL definition for this base class.
Returns the ILazyWriteableDataset for the field within this object with the given name,
or null if no such field exists, or the dataset for this field is not a
ILazyWriteableDataset
Creates and adds a new ILazyWriteableDataset to this group for the given field name,
with the given rank (dimensionality) and of the given element class
Returns whether the given NeXus group object can be added as a child group
to this base class instance according to the NXDL definition for this base class.
Parameters:
nexusObject - potential child nexus group object
Returns:
true if the given group object can be added as a child of this base
class instance, false otherwise
getChild
<N extends NXobject> N getChild(java.lang.String name,
java.lang.Class<N> nxClass)
Returns the child of this node of the given type with the given name.
Parameters:
name - of child
nxClass - class of child
Returns:
named child NXobject of given NeXus class or null if none
Sets the dataset for the field with the given name
Parameters:
name -
value -
Returns:
the new data node, for convenience
getDataset
IDataset getDataset(java.lang.String name)
Gets the dataset for the field with the given name, if it exists, otherwise null.
Note that this method should only be used for small datasets, i.e. those set before the scan.
To get the dataset for larger datasets (i.e. data acquired during the scan) use
getDataNode(name).getDataset() which returns an ILazyDataset.
Parameters:
name - dataset name
Returns:
the dataset for the field with the given name, or null if the no such dataset exists
initializeLazyDataset
ILazyWriteableDataset initializeLazyDataset(java.lang.String name,
int rank,
java.lang.Class<?> clazz)
Creates and adds a new ILazyWriteableDataset to this group for the given field name,
with the given rank (dimensionality) and of the given element class
Creates and adds a new datanode to this group for the given field name and
with the given dataset as its value. The given dataset may be either a
ILazyWriteableDataset or an IDataset.
Adds an external link within the given name within this node to the node
with the given path within the file with the given name.
The external file need not exist at the time this method is invoked.
Parameters:
name - name of link within this group
externalFileName - name of external file to link to
pathToNode - path of node within external file to link to
Returns the ILazyWriteableDataset for the field within this object with the given name,
or null if no such field exists, or the dataset for this field is not a
ILazyWriteableDataset
Parameters:
name - field name
Returns:
the ILazyWriteableDataset for the given field if it exists, otherwise null
Get the value of the given attribute as a date. If the first argument is
not null then returns the value of attribute of the field
or child group with that name.
Parameters:
name - name of node (if null then current group)
attrName - attribute name
Returns:
value of attribute as a date, or null if
no such attribute or value cannot be parsed as a date
Get the value of the given attribute as a number. If the first argument is
not null then returns the value of attribute of the field
or child group with that name.
Get the value of the given attribute as a Double, or null if not set.
If the first argument is not null then returns the value of attribute of the
field or child group with that name.
Get the value of the given attribute as a Long, or null if not set.
If the first argument is not null then returns the value of attribute of the
field or child group with that name.
Get the value of the given attribute as a Boolean, or null if not set.
If the first argument is not null then returns the value of attribute of the
field or child group with that name.
Parameters:
name - name of node (if null then current group)
attrName - attribute name
Returns:
value of attribute as a Boolean, or null if not set
Get the value of the given attribute as a String. If the first argument is
not null then returns the value of attribute of the field
or child group with that name.
Get the value of the given attribute. If the first argument is
not null then returns the value of attribute of the field
or child group with that name.
Parameters:
name - name of node (if null then current group)
attrName - attribute name
Returns:
value of attribute as a long
putChild
<N extends NXobject> void putChild(java.lang.String name,
N child)
Add a child node with the given name. This method should be used with caution
as it allows a child group to be added that may not be permitted by the NXDL
base class definition for this base class. In preference, the relevant
set method on the base class specific sub-interface of this interface
should be used.
Adds the child nodes with the given names.
This method should be used with caution as it allows a child group
to be added that may not be permitted by the NXDL
base class definition for this base class. In preference, the relevant
set method on the base class specific sub-interface of this interface
should be used.