Class GagawaNodeTreeAccessor

java.lang.Object
de.xima.fc.logic.dom.GagawaNodeTreeAccessor
All Implemented Interfaces:
ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>, ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>

@Deprecated public final class GagawaNodeTreeAccessor extends Object implements ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>
Deprecated.
A ITreeAccessor for Gagawa DOM Nodes.
Since:
8.1.0
Author:
XIMA MEDIA GmbH
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final ITreeAccessor<com.hp.gagawa.java.Node, ?>
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.hp.gagawa.java.Node>
    getChildren(com.hp.gagawa.java.Node node)
    Deprecated.
    Gets the children of the given node.
    com.hp.gagawa.java.Node
    getId(com.hp.gagawa.java.Node node)
    Deprecated.
    Gets the ID of the given node.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • INSTANCE

      public static final ITreeAccessor<com.hp.gagawa.java.Node, ?> INSTANCE
      Deprecated.
  • Method Details

    • getChildren

      public List<com.hp.gagawa.java.Node> getChildren(com.hp.gagawa.java.Node node)
      Deprecated.
      Description copied from interface: ITreeAccessor
      Gets the children of the given node. It is generally recommended to return a list of nodes for fast random access, but implementations must be compatible with general iterables.
      Specified by:
      getChildren in interface ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>
      Specified by:
      getChildren in interface ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>
      Parameters:
      node - The node for which to get the children.
      Returns:
      A list of all children of the given tree node, empty array if it is a leaf node.
    • getId

      public com.hp.gagawa.java.Node getId(com.hp.gagawa.java.Node node)
      Deprecated.
      Description copied from interface: ITreeAccessor
      Gets the ID of the given node. The ID must be unique within the tree, but it is not required to be unique across different trees.
      Specified by:
      getId in interface ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>
      Specified by:
      getId in interface ITreeAccessor<com.hp.gagawa.java.Node, com.hp.gagawa.java.Node>
      Parameters:
      node - A node for which to retrieve its ID.
      Returns:
      The (unique) identifier of the given tree node.