|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Object
|
+--mozile.Module
|
+--mozile.save.tidy
| 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 |
<static> String newline
<static> Boolean spaces
<static> String tab
| Method Detail |
<static> Integer countAncestors(<Node> node)
node - The node to start with.
<static> String formatName(<String> name)
name - The name to be formatted.
<static> String formatNode(<Node> node)
node - The node to calculate the spacing for.
<static> Boolean isXML(<Node> node)
node - The node to start with.
<static> String spaceAfter(<Node> node)
node - The node to calculate the spacing for.
<static> String spaceBefore(<Node> node)
node - The node to calculate the spacing for.
<static> String spaceBetween(<Node> node)
node - The node to calculate the spacing for.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||