com.ebm_ws.infra.xmlmapping.utils
Class XmlHelper

java.lang.Object
  extended by com.ebm_ws.infra.xmlmapping.utils.XmlHelper

public class XmlHelper
extends java.lang.Object


Constructor Summary
XmlHelper()
           
 
Method Summary
static java.lang.String getContent(org.w3c.dom.Element iNode)
           
static void serializeXml(org.w3c.dom.Node iNode, java.io.OutputStream iOutput)
          Serializes the given Xml structure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlHelper

public XmlHelper()
Method Detail

serializeXml

public static void serializeXml(org.w3c.dom.Node iNode,
                                java.io.OutputStream iOutput)
                         throws java.io.UnsupportedEncodingException,
                                javax.xml.transform.TransformerException
Serializes the given Xml structure. Output is indented, encoded in utf-8.

Parameters:
iNode -
iOutput -
Throws:
java.io.UnsupportedEncodingException
javax.xml.transform.TransformerException

getContent

public static java.lang.String getContent(org.w3c.dom.Element iNode)


Copyright © 2008 eBMWebsourcing. All Rights Reserved.