dom :: XMLOnelinerTag :: defaultinit
dom $ XMLOnelinerTag :: SELF
Type of this instance, automatically specialized in every classdom :: XMLAttrTag :: attributes=
List of attributes in a Tagdom :: XMLAttrTag :: attributes_to_map
Attributes as a map (ignoring malformed attributes)core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
dom :: XMLAttrTag :: defaultinit
dom :: XMLTag :: defaultinit
dom :: XMLOnelinerTag :: defaultinit
dom :: XMLEntity :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
core :: Object :: output_class_name
Display class name on stdout (debug only).
# One-liner XML Tag (Ends with />)
class XMLOnelinerTag
super XMLAttrTag
redef fun to_s do
var s = "<{tag_name}"
if not attributes.is_empty then
s += " "
s += attributes.join(" ")
end
s += "/>"
return s
end
end
lib/dom/xml_entities.nit:173,1--186,3