com.virtualweaver.xotics.datamodel
Interface XoTextContainer

All Superinterfaces:
java.lang.Cloneable, XoNode, XoObject
All Known Implementing Classes:
XoTextContainerSupport

public interface XoTextContainer
extends XoObject

XoObject implementing this interface is considered as XO Object whose only child is a XML PCDATA text. Thus, text content is a property as with XoText. It is assumed that implementations have an xoTextContent property of any type and associated accessors, representing text content value. Any implementation with missing getXoTextContent() or setXoTextContent() is considered as invalid.

Version:
4.1

Method Summary
 boolean isCdataSection()
          Indicates whether this node is a CDATA Section.
 void setCdataSection(boolean iscdata)
          Sets this node as a CDATA Section or not.
 
Methods inherited from interface com.virtualweaver.xotics.datamodel.XoObject
addPropertyChangeListener, addVetoableChangeListener, checkXoValidity, clone, equalsXoObject, getLocale, getXmlLocalName, getXmlNameSpace, getXmlWhiteSpace, getXoDMInstance, getXoParent, isXoPropertyToWrite, removePropertyChangeListener, removeVetoableChangeListener, setIntegrated, setLocale, setXmlLocalName, setXmlNameSpace, setXmlWhiteSpace, setXoDMInstance, setXoParent
 

Method Detail

isCdataSection

public boolean isCdataSection()
Indicates whether this node is a CDATA Section.

Returns:
boolean to tell whether or not this node is a CDATA section.

setCdataSection

public void setCdataSection(boolean iscdata)
                     throws java.beans.PropertyVetoException
Sets this node as a CDATA Section or not.

Parameters:
iscdata - boolean to tell whether or not this node is a CDATA section.
Throws:
java.beans.PropertyVetoException