opennlp.tools.formats.ad

## Class ADSentenceStream.SentenceParser.Node

- java.lang.Object
- - opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement
  - - opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.Node

- Enclosing class:
    ADSentenceStream.SentenceParser

      public class ADSentenceStream.SentenceParser.Node
      extends ADSentenceStream.SentenceParser.TreeElement

  Represents the AD node

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Node()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addElement(ADSentenceStream.SentenceParser.TreeElement element)`
    `ADSentenceStream.SentenceParser.TreeElement[]` | `getElements()`
    `String` | `toString()`

    - ### Methods inherited from class opennlp.tools.formats.ad.ADSentenceStream.SentenceParser.TreeElement

      `getLevel, getMorphologicalTag, getSyntacticTag, isLeaf, setLevel, setMorphologicalTag, setSyntacticTag`

    - ### Methods inherited from class java.lang.Object

      `equals, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Node

          public Node()

  - ### Method Detail

    - #### addElement

          public void addElement(ADSentenceStream.SentenceParser.TreeElement element)

    - #### getElements

          public ADSentenceStream.SentenceParser.TreeElement[] getElements()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2026 The Apache Software Foundation. All rights reserved.