new( arg = UNDEFINED, parent=nil, context=nil )
Class Public methods
Constructor
arg
if not supplied, will be set to the default value. If a String, the name of
this object will be set to the argument. If an Element, the object will be shallowly cloned; name,
attributes, and namespaces will be copied. Children will not
be copied.
parent
if supplied, must be a Parent, and will be used
as the parent of this object.
context
If supplied, must be a hash containing context items