All Downloads are FREE. Search and download functionalities are using the official Maven repository.

generated.docs.javadoc.org.eclipse.dawnsci.nexus.NexusNodeFactory.html Maven / Gradle / Ivy






NexusNodeFactory (h5jan API)












org.eclipse.dawnsci.nexus

Class NexusNodeFactory

  • java.lang.Object
    • org.eclipse.dawnsci.nexus.NexusNodeFactory


  • public class NexusNodeFactory
    extends java.lang.Object
    Factory class for creating instances of NeXus base classes.
    • Method Detail

      • createNXobjectForClass

        public static NXobject createNXobjectForClass(java.lang.String baseClassName,
                                                      long oid)
      • createNXobjectForClass

        public static NXobject createNXobjectForClass(NexusBaseClass baseClass,
                                                      long oid)
      • createNXobjectForClass

        public static NXobject createNXobjectForClass(java.lang.String baseClassName)
      • getNextOid

        public static long getNextOid()
        Get the next unique object id. Note that this value is unique across all instances in this VM (i.e. it is a static field).
        Returns:
        the next oid
      • createTree

        public static Tree createTree(java.net.URI uri)
        Create a new Tree with given URI.
        Parameters:
        uri -
        Returns:
        new tree
      • createTreeFile

        public static TreeFile createTreeFile(java.net.URI uri)
        Create a new TreeFile given URI.
        Parameters:
        uri - uri
        Returns:
        new tree file
      • createTreeFile

        public static TreeFileImpl createTreeFile(java.lang.String fileName)
        Create a new tree file with given file name
        Parameters:
        fileName - filename
        Returns:
        new tree file
      • createDataNode

        public static DataNode createDataNode()
        Create a new data node.
        Returns:
        new data node
      • createGroupNode

        public static GroupNode createGroupNode()
        Create a group node that does not have a nexus class, or whose nexus class is not yet known.
        Returns:
      • createSymbolicNode

        public static SymbolicNode createSymbolicNode(java.net.URI uri,
                                                      java.lang.String pathToNode)
        Create a new symbolic node
        Parameters:
        uri - uri
        pathToNode - path to node
        Returns:
        new symbolic node
      • createNXreflections

        public static NXreflections createNXreflections(long oid)
        Create a new NXreflections with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXreflections
      • createNXmonochromator

        public static NXmonochromator createNXmonochromator(long oid)
        Create a new NXmonochromator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXmonochromator
      • createNXinsertion_device

        public static NXinsertion_device createNXinsertion_device(long oid)
        Create a new NXinsertion_device with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXinsertion_device
      • createNXguide

        public static NXguide createNXguide(long oid)
        Create a new NXguide with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXguide
      • createNXguide

        public static NXguide createNXguide()
        Create a new NXguide.
        Returns:
        new NXguide
      • createNXcollimator

        public static NXcollimator createNXcollimator(long oid)
        Create a new NXcollimator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcollimator
      • createNXcollimator

        public static NXcollimator createNXcollimator()
        Create a new NXcollimator.
        Returns:
        new NXcollimator
      • createNXbending_magnet

        public static NXbending_magnet createNXbending_magnet(long oid)
        Create a new NXbending_magnet with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXbending_magnet
      • createNXsensor

        public static NXsensor createNXsensor(long oid)
        Create a new NXsensor with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsensor
      • createNXsensor

        public static NXsensor createNXsensor()
        Create a new NXsensor.
        Returns:
        new NXsensor
      • createNXmonitor

        public static NXmonitor createNXmonitor(long oid)
        Create a new NXmonitor with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXmonitor
      • createNXmonitor

        public static NXmonitor createNXmonitor()
        Create a new NXmonitor.
        Returns:
        new NXmonitor
      • createNXlog

        public static NXlog createNXlog(long oid)
        Create a new NXlog with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXlog
      • createNXlog

        public static NXlog createNXlog()
        Create a new NXlog.
        Returns:
        new NXlog
      • createNXxraylens

        public static NXxraylens createNXxraylens(long oid)
        Create a new NXxraylens with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXxraylens
      • createNXxraylens

        public static NXxraylens createNXxraylens()
        Create a new NXxraylens.
        Returns:
        new NXxraylens
      • createNXsample

        public static NXsample createNXsample(long oid)
        Create a new NXsample with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsample
      • createNXsample

        public static NXsample createNXsample()
        Create a new NXsample.
        Returns:
        new NXsample
      • createNXfilter

        public static NXfilter createNXfilter(long oid)
        Create a new NXfilter with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXfilter
      • createNXfilter

        public static NXfilter createNXfilter()
        Create a new NXfilter.
        Returns:
        new NXfilter
      • createNXcite

        public static NXcite createNXcite(long oid)
        Create a new NXcite with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcite
      • createNXcite

        public static NXcite createNXcite()
        Create a new NXcite.
        Returns:
        new NXcite
      • createNXcylindrical_geometry

        public static NXcylindrical_geometry createNXcylindrical_geometry(long oid)
        Create a new NXcylindrical_geometry with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcylindrical_geometry
      • createNXvelocity_selector

        public static NXvelocity_selector createNXvelocity_selector(long oid)
        Create a new NXvelocity_selector with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXvelocity_selector
      • createNXdetector_module

        public static NXdetector_module createNXdetector_module(long oid)
        Create a new NXdetector_module with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXdetector_module
      • createNXslit

        public static NXslit createNXslit(long oid)
        Create a new NXslit with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXslit
      • createNXslit

        public static NXslit createNXslit()
        Create a new NXslit.
        Returns:
        new NXslit
      • createNXpolarizer

        public static NXpolarizer createNXpolarizer(long oid)
        Create a new NXpolarizer with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXpolarizer
      • createNXpolarizer

        public static NXpolarizer createNXpolarizer()
        Create a new NXpolarizer.
        Returns:
        new NXpolarizer
      • createNXdetector

        public static NXdetector createNXdetector(long oid)
        Create a new NXdetector with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXdetector
      • createNXdetector

        public static NXdetector createNXdetector()
        Create a new NXdetector.
        Returns:
        new NXdetector
      • createNXmirror

        public static NXmirror createNXmirror(long oid)
        Create a new NXmirror with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXmirror
      • createNXmirror

        public static NXmirror createNXmirror()
        Create a new NXmirror.
        Returns:
        new NXmirror
      • createNXsubentry

        public static NXsubentry createNXsubentry(long oid)
        Create a new NXsubentry with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsubentry
      • createNXsubentry

        public static NXsubentry createNXsubentry()
        Create a new NXsubentry.
        Returns:
        new NXsubentry
      • createNXdetector_group

        public static NXdetector_group createNXdetector_group(long oid)
        Create a new NXdetector_group with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXdetector_group
      • createNXpinhole

        public static NXpinhole createNXpinhole(long oid)
        Create a new NXpinhole with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXpinhole
      • createNXpinhole

        public static NXpinhole createNXpinhole()
        Create a new NXpinhole.
        Returns:
        new NXpinhole
      • createNXaperture

        public static NXaperture createNXaperture(long oid)
        Create a new NXaperture with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXaperture
      • createNXaperture

        public static NXaperture createNXaperture()
        Create a new NXaperture.
        Returns:
        new NXaperture
      • createNXparameters

        public static NXparameters createNXparameters(long oid)
        Create a new NXparameters with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXparameters
      • createNXparameters

        public static NXparameters createNXparameters()
        Create a new NXparameters.
        Returns:
        new NXparameters
      • createNXsource

        public static NXsource createNXsource(long oid)
        Create a new NXsource with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsource
      • createNXsource

        public static NXsource createNXsource()
        Create a new NXsource.
        Returns:
        new NXsource
      • createNXinstrument

        public static NXinstrument createNXinstrument(long oid)
        Create a new NXinstrument with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXinstrument
      • createNXinstrument

        public static NXinstrument createNXinstrument()
        Create a new NXinstrument.
        Returns:
        new NXinstrument
      • createNXpositioner

        public static NXpositioner createNXpositioner(long oid)
        Create a new NXpositioner with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXpositioner
      • createNXpositioner

        public static NXpositioner createNXpositioner()
        Create a new NXpositioner.
        Returns:
        new NXpositioner
      • createNXdisk_chopper

        public static NXdisk_chopper createNXdisk_chopper(long oid)
        Create a new NXdisk_chopper with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXdisk_chopper
      • createNXtransformations

        public static NXtransformations createNXtransformations(long oid)
        Create a new NXtransformations with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXtransformations
      • createNXuser

        public static NXuser createNXuser(long oid)
        Create a new NXuser with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXuser
      • createNXuser

        public static NXuser createNXuser()
        Create a new NXuser.
        Returns:
        new NXuser
      • createNXentry

        public static NXentry createNXentry(long oid)
        Create a new NXentry with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXentry
      • createNXentry

        public static NXentry createNXentry()
        Create a new NXentry.
        Returns:
        new NXentry
      • createNXdata

        public static NXdata createNXdata(long oid)
        Create a new NXdata with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXdata
      • createNXdata

        public static NXdata createNXdata()
        Create a new NXdata.
        Returns:
        new NXdata
      • createNXroot

        public static NXroot createNXroot(long oid)
        Create a new NXroot with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXroot
      • createNXroot

        public static NXroot createNXroot()
        Create a new NXroot.
        Returns:
        new NXroot
      • createNXgrating

        public static NXgrating createNXgrating(long oid)
        Create a new NXgrating with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXgrating
      • createNXgrating

        public static NXgrating createNXgrating()
        Create a new NXgrating.
        Returns:
        new NXgrating
      • createNXattenuator

        public static NXattenuator createNXattenuator(long oid)
        Create a new NXattenuator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXattenuator
      • createNXattenuator

        public static NXattenuator createNXattenuator()
        Create a new NXattenuator.
        Returns:
        new NXattenuator
      • createNXshape

        public static NXshape createNXshape(long oid)
        Create a new NXshape with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXshape
      • createNXshape

        public static NXshape createNXshape()
        Create a new NXshape.
        Returns:
        new NXshape
      • createNXprocess

        public static NXprocess createNXprocess(long oid)
        Create a new NXprocess with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXprocess
      • createNXprocess

        public static NXprocess createNXprocess()
        Create a new NXprocess.
        Returns:
        new NXprocess
      • createNXgeometry

        public static NXgeometry createNXgeometry(long oid)
        Create a new NXgeometry with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXgeometry
      • createNXgeometry

        public static NXgeometry createNXgeometry()
        Create a new NXgeometry.
        Returns:
        new NXgeometry
      • createNXevent_data

        public static NXevent_data createNXevent_data(long oid)
        Create a new NXevent_data with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXevent_data
      • createNXevent_data

        public static NXevent_data createNXevent_data()
        Create a new NXevent_data.
        Returns:
        new NXevent_data
      • createNXenvironment

        public static NXenvironment createNXenvironment(long oid)
        Create a new NXenvironment with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXenvironment
      • createNXorientation

        public static NXorientation createNXorientation(long oid)
        Create a new NXorientation with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXorientation
      • createNXflipper

        public static NXflipper createNXflipper(long oid)
        Create a new NXflipper with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXflipper
      • createNXflipper

        public static NXflipper createNXflipper()
        Create a new NXflipper.
        Returns:
        new NXflipper
      • createNXbeam_stop

        public static NXbeam_stop createNXbeam_stop(long oid)
        Create a new NXbeam_stop with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXbeam_stop
      • createNXbeam_stop

        public static NXbeam_stop createNXbeam_stop()
        Create a new NXbeam_stop.
        Returns:
        new NXbeam_stop
      • createNXnote

        public static NXnote createNXnote(long oid)
        Create a new NXnote with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXnote
      • createNXnote

        public static NXnote createNXnote()
        Create a new NXnote.
        Returns:
        new NXnote
      • createNXcapillary

        public static NXcapillary createNXcapillary(long oid)
        Create a new NXcapillary with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcapillary
      • createNXcapillary

        public static NXcapillary createNXcapillary()
        Create a new NXcapillary.
        Returns:
        new NXcapillary
      • createNXfermi_chopper

        public static NXfermi_chopper createNXfermi_chopper(long oid)
        Create a new NXfermi_chopper with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXfermi_chopper
      • createNXmoderator

        public static NXmoderator createNXmoderator(long oid)
        Create a new NXmoderator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXmoderator
      • createNXmoderator

        public static NXmoderator createNXmoderator()
        Create a new NXmoderator.
        Returns:
        new NXmoderator
      • createNXsample_component

        public static NXsample_component createNXsample_component(long oid)
        Create a new NXsample_component with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsample_component
      • createNXcollection

        public static NXcollection createNXcollection(long oid)
        Create a new NXcollection with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcollection
      • createNXcollection

        public static NXcollection createNXcollection()
        Create a new NXcollection.
        Returns:
        new NXcollection
      • createNXoff_geometry

        public static NXoff_geometry createNXoff_geometry(long oid)
        Create a new NXoff_geometry with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXoff_geometry
      • createNXtranslation

        public static NXtranslation createNXtranslation(long oid)
        Create a new NXtranslation with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXtranslation
      • createNXbeam

        public static NXbeam createNXbeam(long oid)
        Create a new NXbeam with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXbeam
      • createNXbeam

        public static NXbeam createNXbeam()
        Create a new NXbeam.
        Returns:
        new NXbeam
      • createNXcrystal

        public static NXcrystal createNXcrystal(long oid)
        Create a new NXcrystal with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcrystal
      • createNXcrystal

        public static NXcrystal createNXcrystal()
        Create a new NXcrystal.
        Returns:
        new NXcrystal
      • createNXfresnel_zone_plate

        public static NXfresnel_zone_plate createNXfresnel_zone_plate(long oid)
        Create a new NXfresnel_zone_plate with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXfresnel_zone_plate
      • createNXspin_rotator

        public static NXspin_rotator createNXspin_rotator(long oid)
        Create a new NXspin_rotator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXspin_rotator
      • createNXquadrupole_magnet

        public static NXquadrupole_magnet createNXquadrupole_magnet(long oid)
        Create a new NXquadrupole_magnet with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXquadrupole_magnet
      • createNXsolenoid_magnet

        public static NXsolenoid_magnet createNXsolenoid_magnet(long oid)
        Create a new NXsolenoid_magnet with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXsolenoid_magnet
      • createNXseparator

        public static NXseparator createNXseparator(long oid)
        Create a new NXseparator with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXseparator
      • createNXseparator

        public static NXseparator createNXseparator()
        Create a new NXseparator.
        Returns:
        new NXseparator
      • createNXmagnetic_kicker

        public static NXmagnetic_kicker createNXmagnetic_kicker(long oid)
        Create a new NXmagnetic_kicker with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXmagnetic_kicker
      • createNXcontainer

        public static NXcontainer createNXcontainer(long oid)
        Create a new NXcontainer with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXcontainer
      • createNXcontainer

        public static NXcontainer createNXcontainer()
        Create a new NXcontainer.
        Returns:
        new NXcontainer
      • createNXelectrostatic_kicker

        public static NXelectrostatic_kicker createNXelectrostatic_kicker(long oid)
        Create a new NXelectrostatic_kicker with the given oid.
        Parameters:
        oid - unique object oid.
        Returns:
        new NXelectrostatic_kicker




© 2015 - 2024 Weber Informatics LLC | Privacy Policy