Class NQXML::Tag |
|
Methods |
Attributes |
:isTagEnd | [R] |
Public Class methods |
new(name, attrs, isTagEnd=false, source=nil) |
Public Instance methods |
==(anObj) |
isTagStart() |
writeXMLTo(io, beforeChildren=true) |
Write XML to io. Use the "<<" method, not print or puts, because io might be a String or Array and not an IO object.
to_s() |
Prints tag. If it's start of tag, prints unencoded attributes.
event_key() |
makeTagEnd(bool) |
Allow tags to change their end state.
to_s() |
If this tag is an end tag, return the normalized end tag version.
preModifyIndent(currentLevel) |
Before an end tag, decrease the indentation level.
postModifyIndent(currentLevel) |
After a start tag, increase the indentation level.
to_s() |
Return a print string for this tag.