net.sf.xbus.base.xml
Class IteratedWhitespaceInElementDeletion

java.lang.Object
  extended by net.sf.xbus.base.xml.IteratedWhitespaceInElementDeletion
All Implemented Interfaces:
IteratedNodeOperation

public class IteratedWhitespaceInElementDeletion
extends java.lang.Object
implements IteratedNodeOperation

IteratedWhitespaceInElementAndCommentDeletion implements a DOM node operation to delete text nodes containing only whitespace within xml tags. This operation is used in DOM tree traversal operations by instantiating an object of this class.

Author:
Stephan Düwel

Constructor Summary
IteratedWhitespaceInElementDeletion()
           
 
Method Summary
 void iteratedProcedure(org.w3c.dom.Node node)
          iteratedProcedure deletes all whitespace text nodes directly below the specified node if it is an element node.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IteratedWhitespaceInElementDeletion

public IteratedWhitespaceInElementDeletion()
Method Detail

iteratedProcedure

public void iteratedProcedure(org.w3c.dom.Node node)
iteratedProcedure deletes all whitespace text nodes directly below the specified node if it is an element node. It is used in traversals.

Specified by:
iteratedProcedure in interface IteratedNodeOperation
Parameters:
node - the actual node to process