Class FlyweightCDATA

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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.

    See Also:
    Serialized Form
    • Field Detail

      • text

        protected java.lang.String text
        Text of the CDATA node
    • Constructor Detail

      • FlyweightCDATA

        public FlyweightCDATA​(java.lang.String text)
        DOCUMENT ME!
        Parameters:
        text - is the CDATA text