|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.xbus.base.xml.IteratedWhitespaceInElementAndCommentDeletion
public class IteratedWhitespaceInElementAndCommentDeletion
IteratedWhitespaceInElementAndCommentDeletion
implements a DOM
node operation to delete text nodes containing only whitespace within xml
tags and comment nodes. This operation is used in DOM tree traversal
operations by instantiating an object of this class.
Constructor Summary | |
---|---|
IteratedWhitespaceInElementAndCommentDeletion()
|
Method Summary | |
---|---|
void |
iteratedProcedure(org.w3c.dom.Node node)
iteratedProcedure deletes all comment nodes and whitespace
text nodes directly below the specified node - the latter if the parent
is an element node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IteratedWhitespaceInElementAndCommentDeletion()
Method Detail |
---|
public void iteratedProcedure(org.w3c.dom.Node node)
iteratedProcedure
deletes all comment nodes and whitespace
text nodes directly below the specified node - the latter if the parent
is an element node. It is used in traversals.
iteratedProcedure
in interface IteratedNodeOperation
node
- the actual node to process
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |