Class ResourceLeaf

All Implemented Interfaces:
Serializable, Cloneable, EventListener, TreeWillExpandListener, MutableTreeNode, TreeNode

public final class ResourceLeaf extends ResourceNode
JTree node which represents a leaf (which represents either a raw file or a document).
Author:
BaseX Team 2005-21, BSD License, Lukas Kircher
See Also:
  • Field Details

    • raw

      public final boolean raw
      Represents raw file (true) or document (false).
    • abbr

      public final boolean abbr
      This leaf is a dummy node displaying that node listing is abbreviated.
  • Constructor Details

    • ResourceLeaf

      public ResourceLeaf(byte[] name, byte[] path, boolean raw, boolean abbr, BaseXTree tree, Context context)
      Constructor.
      Parameters:
      name - name of content node
      path - node path
      raw - represented node is raw file
      abbr - abbreviated node listing
      tree - tree reference
      context - database context
  • Method Details