Class FlyweightCDATA

All Implemented Interfaces:
Serializable, Cloneable, CDATA, CharacterData, Node
Direct Known Subclasses:
DefaultCDATA

public class FlyweightCDATA extends AbstractCDATA implements CDATA

FlyweightCDATA is a Flyweight pattern implementation of a singly linked, read-only XML CDATA.

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

Version:
$Revision: 1.8 $
See Also:
  • Field Details

    • text

      protected String text
      Text of the CDATA node
  • Constructor Details

    • FlyweightCDATA

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