org.knime.core.data.xml.io
Class XMLCellWriterUtil

java.lang.Object
  extended by org.knime.core.data.xml.io.XMLCellWriterUtil

 class XMLCellWriterUtil
extends Object

Utility class to write xml.

Author:
Heiko Hofer

Constructor Summary
XMLCellWriterUtil()
           
 
Method Summary
(package private) static void writeNode(XMLStreamWriter writer, Node node, Node pre, int depth, String indentChar, String linefeedChar, List<Boolean> preserveSpaceStack)
          Writes a Node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XMLCellWriterUtil

XMLCellWriterUtil()
Method Detail

writeNode

static void writeNode(XMLStreamWriter writer,
                      Node node,
                      Node pre,
                      int depth,
                      String indentChar,
                      String linefeedChar,
                      List<Boolean> preserveSpaceStack)
               throws XMLStreamException
Writes a Node

Parameters:
writer - the writer to use
node - the node to write
pre - the predecessor of this node
depth - the depth of this node in the XML tree
indentChar - the char that should be used for indentation
linefeedChar - the linefeed character used for pretty printing
preserveSpaceStack - if spaces should be preserved
Throws:
XMLStreamException - when exception occurs


Copyright, 2003 - 2012. All rights reserved.
University of Konstanz, Germany.
Chair for Bioinformatics and Information Mining, Prof. Dr. Michael R. Berthold.
You may not modify, publish, transmit, transfer or sell, reproduce, create derivative works from, distribute, perform, display, or in any way exploit any of the content, in whole or in part, except as otherwise expressly permitted in writing by the copyright owner or as specified in the license file distributed with this product.