Class NQXML::Tag
In: nqxml/entities.rb
nqxml/dispatcher.rb
examples/reverseTags.rb
examples/dumpXML.rb
Parent: NamedAttributes
Methods
==    event_key    isTagStart    makeTagEnd    new    postModifyIndent    preModifyIndent    to_s    to_s    to_s    writeXMLTo   
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.