Summary
Encapsulates an element node in a RhoML tree.
Constructors
| Constructor. |
|
RhoElement(string name, string value, IDictionary<string, string> attributes, List<RhoNode> elements) |
Instance methods
void | |
Appends this node and all children to the specified string builder, converting them to RhoML format that would
parse back into this tree. |
string | | Converts this node to a RhoML string. |
Instance properties
IDictionary<string, string> | |
Gets or sets a dictionary of attributes. Not null. There is a key for each named attribute specified on the
element. Attributes whose value was omitted will have the value of null in this dictionary. |
IList<RhoNode> | |
Gets or sets a read-only list of child elements. Not null. May be empty, or contain any RhoNode
instance in any order. |
IEnumerable<RhoNode> | | Enumerates all descendants of this node, in an unspecified order. |
string | | Gets or sets the name of the element. Null for the root element, otherwise non-null. |
string | | Gets or sets the value of the default attribute. Null if the default attribute was omitted. |