| Class REXML::Text |
|
Represents text in an XML document
| Methods |
| Attributes |
| :raw | [RW] | |
| :string | [R] | string is String content, raw is a boolean |
| Included modules |
| Public Class methods |
| new(arg, respect_whitespace=false, parent=nil, pattern=PATTERN, raw=false) |
Constructor @param 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. @param whitespace (boolean, optional) if true, whitespace is respected @param parent (Parent, optional) if given, the parent of this object will be set to the argument
| parse_stream(source, listener) |
| Public Instance methods |
| clone() |
| <=>( other ) |
| to_s() |
| write( writer, indent=-1 ) |