XCMS Toolkit

schemajic.codec
Class TextRemovalMachine

java.lang.Object
  extended by schemajic.codec.TextRemovalMachine

public class TextRemovalMachine
extends java.lang.Object

Removes all empty TEXT nodes from a Document Object Model (DOM) tree.

Version:
1.00 - 2006/02/12
Author:
support@phillipgriffin.com

Constructor Summary
TextRemovalMachine()
          Constructor for TextRemovalMachine.
 
Method Summary
 void clean(org.w3c.dom.Element root)
          Starts at the root node of a DOM and cleans the tree of empty text.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextRemovalMachine

public TextRemovalMachine()
Constructor for TextRemovalMachine.

Method Detail

clean

public void clean(org.w3c.dom.Element root)
Starts at the root node of a DOM and cleans the tree of empty text.

Parameters:
root - the root of the DOM tree

XCMS Toolkit


Copyright © 2005-2006 GRIFFIN Consulting. All Rights Reserved.