Class mozile.save.tidy

Object
   |
   +--mozile.Module
         |
         +--mozile.save.tidy

class mozile.save.tidy
extends mozile.Module

Field Summary
<static>  String newline
          Sets the newline character.
<static>  Boolean spaces
          Determines whether spaces are added to the output.
<static>  String tab
          Sets the tab character.
   
Method Summary
<static> Integer countAncestors(<Node> node)
           Counts the number of ancestor nodes this element has.
<static> String formatName(<String> name)
           Formats the name of a node using the mozile.save.format settings.
<static> String formatNode(<Node> node)
           Formats a node and its children as a string.
<static> Boolean isXML(<Node> node)
           Determines whether the given node is generic XML or not (i.e.
<static> String spaceAfter(<Node> node)
           Calculates the amount of space to add after the node.
<static> String spaceBefore(<Node> node)
           Calculates the amount of space to add before the node.
<static> String spaceBetween(<Node> node)
           Calculates the amount of space to add between child nodes.

Field Detail

newline

<static> String newline

spaces

<static> Boolean spaces

tab

<static> String tab


Method Detail

countAncestors

<static> Integer countAncestors(<Node> node)

formatName

<static> String formatName(<String> name)

formatNode

<static> String formatNode(<Node> node)

isXML

<static> Boolean isXML(<Node> node)

spaceAfter

<static> String spaceAfter(<Node> node)

spaceBefore

<static> String spaceBefore(<Node> node)

spaceBetween

<static> String spaceBetween(<Node> node)


Documentation generated by JSDoc on Wed Feb 20 13:25:28 2008