<!DOCTYPE class>
<class name='Text' extends='Child'>
   Represents text in an XML document
  <include name='Comparable'>
    
  </include>
  <attribute name='string' type='accessor'>
     string is String content, raw is a boolean
  </attribute>
  <attribute name='raw' type='accessor'>
     string is String content, raw is a boolean
  </attribute>
  <method name='initialize'>
    <argument name='arg'>
      if a String, the content is set to the String.  If a Text, the object is shallowly cloned.  If a Source, the source is parsed for text content up to the next element.  If a parent, the parent of this object is set to the argument. 
    </argument>
    <argument default='false' name='whitespace'>
      (boolean, optional) if true, whitespace is respected 
    </argument>
    <argument default='nil' name='parent'>
      (Parent, optional) if given, the parent of this object will be set to the argument
    </argument>
    <argument default='PATTERN' name='pattern'/>
     Constructor 
  </method>
  <method name='clone'/>
  <method name='&lt;=&gt;'>
    <argument name='other'>
      a String or a Text 
    </argument>
    <return>
      true if the content of this object matches the supplied  argument's content
    </return>
     
  </method>
  <method name='to_s'/>
  <method name='write'>
    <argument name='writer'/>
    <argument default='0' name='indent'/>
  </method>
  <method name='Text'>
    <argument name='parse_stream source'/>
    <argument name='listener'/>
  </method>
</class>