Class FlyweightText

All Implemented Interfaces:
Serializable, Cloneable, CharacterData, Node, Text
Direct Known Subclasses:
DefaultText

public class FlyweightText extends AbstractText implements Text

FlyweightText is a Flyweight pattern implementation of a singly linked, read-only XML Text.

This node could be shared across documents and elements though it does not support the parent relationship.

Version:
$Revision: 1.7 $
Author:
James Strachan
See Also:
  • Field Details

    • text

      protected String text
      Text of the Text node
  • Constructor Details

    • FlyweightText

      public FlyweightText(String text)
      DOCUMENT ME!
      Parameters:
      text - is the Text text
  • Method Details