Class FlyweightText

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

    See Also:
    Serialized Form
    • Field Detail

      • text

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

      • FlyweightText

        public FlyweightText(java.lang.String text)
        DOCUMENT ME!
        Parameters:
        text - is the Text text