Class CData

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.w3c.dom.CDATASection, org.w3c.dom.CharacterData, org.w3c.dom.Node, org.w3c.dom.Text, Item, Textual

    public class CData
    extends AbstractTextual
    implements org.w3c.dom.CDATASection
    The iDOM CDATA.
    Author:
    tomyeh
    See Also:
    Text, Serialized Form
    • Constructor Detail

      • CData

        public CData​(java.lang.String text)
        Constructor.
      • CData

        public CData()
        Constructor.
    • Method Detail

      • checkText

        protected void checkText​(java.lang.String text)
        Description copied from class: AbstractTextual
        Checks whether the text is valid. It is usually overridden by the deriving classes to check more specifically.
        Overrides:
        checkText in class AbstractTextual
      • getName

        public final java.lang.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:
        Namespaceable.getTagName()
      • getNodeType

        public final short getNodeType()
        Specified by:
        getNodeType in interface org.w3c.dom.Node