|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--net.sf.vex.SpaceNormalizer
Normalizes the space in an XML document. A StyleSheet determines the elements for which it is acceptable to delete space.
Constructor Summary | |
SpaceNormalizer(StyleSheet styleSheet)
Class constructor. |
Method Summary | |
StyleSheet |
getStyleSheet()
Returns the style sheet used to determine when it is acceptable to collapse space. |
void |
normalize(Document doc)
Normalize the space in the document. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpaceNormalizer(StyleSheet styleSheet)
styleSheet
- StyleSheet to use to determine when it is acceptable
to collapse space.Method Detail |
public StyleSheet getStyleSheet()
public void normalize(Document doc)
doc
- Document to normalize.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |