Class Text

All Implemented Interfaces:
Serializable, Cloneable, CharacterData, Node, Text, Item, Textual

public class Text extends AbstractTextual implements Text
The iDOM Text.
Author:
tomyeh
See Also:
  • Constructor Details

    • Text

      public Text(String text)
      Constructor.
    • Text

      public Text()
      Constructor.
  • Method Details

    • isCoalesceable

      public final boolean isCoalesceable()
      Always returns true to denote it allows to be coalesced with its siblings with the same type (class).
      Specified by:
      isCoalesceable in interface Textual
      Overrides:
      isCoalesceable in class AbstractTextual
    • getName

      public final String getName()
      Description copied from interface: Item
      Gets the name of the item. For vertices that support namespace (implements Namespaceable), it is the same as getTagName.
      Specified by:
      getName in interface Item
      See Also:
    • getNodeType

      public final short getNodeType()
      Specified by:
      getNodeType in interface Node