Interface Node

All Known Subinterfaces:
DataNode, GroupNode, NXaberration, NXactivity, NXactuator, NXaperture, NXapm_charge_state_analysis, NXapm_event_data, NXapm_instrument, NXapm_measurement, NXapm_paraprobe_tool_common, NXapm_paraprobe_tool_parameters, NXapm_paraprobe_tool_process, NXapm_ranging, NXapm_reconstruction, NXapm_simulation, NXatom, NXattenuator, NXbeam, NXbeam_splitter, NXbeam_stop, NXbeam_transfer_matrix_table, NXbending_magnet, NXcalibration, NXcapillary, NXcg_alpha_complex, NXcg_cylinder, NXcg_ellipsoid, NXcg_face_list_data_structure, NXcg_grid, NXcg_half_edge_data_structure, NXcg_hexahedron, NXcg_parallelogram, NXcg_point, NXcg_polygon, NXcg_polyhedron, NXcg_polyline, NXcg_primitive, NXcg_roi, NXcg_tetrahedron, NXcg_triangle, NXcg_unit_normal, NXchemical_composition, NXcircuit, NXcite, NXcollection, NXcollectioncolumn, NXcollimator, NXcomponent, NXcontainer, NXcoordinate_system, NXcorrector_cs, NXcrystal, NXcs_computer, NXcs_filter_boolean_mask, NXcs_memory, NXcs_prng, NXcs_processor, NXcs_profiling, NXcs_profiling_event, NXcs_storage, NXcsg, NXcylindrical_geometry, NXdata, NXdeflector, NXdelocalization, NXdetector, NXdetector_channel, NXdetector_group, NXdetector_module, NXdisk_chopper, NXdispersion, NXdispersion_function, NXdispersion_repeated_parameter, NXdispersion_single_parameter, NXdispersion_table, NXdistortion, NXebeam_column, NXelectromagnetic_lens, NXelectron_detector, NXelectronanalyzer, NXelectrostatic_kicker, NXem_ebsd, NXem_eds, NXem_eels, NXem_event_data, NXem_img, NXem_instrument, NXem_interaction_volume, NXem_measurement, NXem_optical_system, NXem_simulation, NXenergydispersion, NXentry, NXenvironment, NXevent_data, NXfabrication, NXfermi_chopper, NXfilter, NXfit, NXfit_function, NXflipper, NXfresnel_zone_plate, NXgeometry, NXgrating, NXguide, NXhistory, NXibeam_column, NXimage, NXinsertion_device, NXinstrument, NXisocontour, NXlog, NXmagnetic_kicker, NXmanipulator, NXmatch_filter, NXmicrostructure, NXmicrostructure_feature, NXmicrostructure_ipf, NXmicrostructure_mtex_config, NXmicrostructure_odf, NXmicrostructure_pf, NXmicrostructure_slip_system, NXmirror, NXmoderator, NXmonitor, NXmonochromator, NXnote, NXobject, NXoff_geometry, NXoptical_fiber, NXoptical_lens, NXoptical_polarizer, NXoptical_window, NXorientation, NXparameters, NXpdb, NXpeak, NXphase, NXpid_controller, NXpinhole, NXpolarizer, NXpositioner, NXprocess, NXprogram, NXpump, NXquadric, NXquadrupole_magnet, NXreflections, NXregion, NXregistration, NXresolution, NXroi_process, NXroot, NXrotations, NXsample, NXsample_component, NXscan_controller, NXsensor, NXseparator, NXshape, NXsimilarity_grouping, NXslit, NXsolenoid_magnet, NXsolid_geometry, NXsource, NXspatial_filter, NXspectrum, NXspin_rotator, NXspindispersion, NXsubentry, NXsubsampling_filter, NXsubstance, NXtransformations, NXtranslation, NXunit_cell, NXuser, NXvelocity_selector, NXwaveplate, NXxraylens, SymbolicNode
All Known Implementing Classes:
DataNodeImpl, GroupNodeImpl, NodeImpl, SymbolicNodeImpl

public interface Node
Fundamental unit of tree which can possess attributes
  • Field Details

  • Method Details

    • getID

      byte[] getID()
      Returns:
      ID
    • getNumberOfAttributes

      int getNumberOfAttributes()
      Returns:
      number of attributes on node
    • containsAttribute

      boolean containsAttribute(String name)
      Parameters:
      name -
      Returns:
      true if node contains attribute of given name
    • getAttribute

      Attribute getAttribute(String name)
      Get attribute of given name from node
      Parameters:
      name -
      Returns:
      attribute (can be null if there is no attribute of given name)
    • addAttribute

      void addAttribute(Attribute attr)
      Add given attribute to node
      Parameters:
      attr -
    • getAttributeNameIterator

      Iterator<String> getAttributeNameIterator()
      Returns:
      iterator over attribute names in node
    • getAttributeNames

      Set<String> getAttributeNames()
      Returns:
      set of attribute names
    • getAttributeIterator

      Iterator<? extends Attribute> getAttributeIterator()
      Returns:
      iterator over attribute names in node
    • removeAttribute

      void removeAttribute(String name)
      Remove the attribute with the given name from the node
      Parameters:
      name -
    • removeAttribute

      void removeAttribute(Attribute attr)
      Remove the given attribute from the node, if present.
      Parameters:
      attr -
    • isGroupNode

      boolean isGroupNode()
      Returns:
      true if this node is a GroupNode, false otherwise
    • isDataNode

      boolean isDataNode()
      Returns:
      true if this node is a DataNode, false otherwise
    • isSymbolicNode

      boolean isSymbolicNode()
      Returns:
      true if this node is a SymbolicNode, false otherwise