org.openspml.v2.util.xml
Class XmlUtil

java.lang.Object
  extended byorg.openspml.v2.util.xml.XmlUtil

public class XmlUtil
extends java.lang.Object


Constructor Summary
XmlUtil()
           
 
Method Summary
static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node node)
           
static java.lang.String getSoapBodyContents(java.lang.String message)
           
static java.lang.String makeXmlFragmentFromDoc(java.lang.String xml)
           
static java.lang.String serializeNode(org.w3c.dom.Node node)
          This is not part of DOM - so we provide a helper method; this one assumes xerces.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XmlUtil

public XmlUtil()
Method Detail

serializeNode

public static java.lang.String serializeNode(org.w3c.dom.Node node)
                                      throws Spml2Exception
This is not part of DOM - so we provide a helper method; this one assumes xerces.

Throws:
Spml2Exception

makeXmlFragmentFromDoc

public static java.lang.String makeXmlFragmentFromDoc(java.lang.String xml)

getFirstChildElement

public static org.w3c.dom.Element getFirstChildElement(org.w3c.dom.Node node)

getSoapBodyContents

public static java.lang.String getSoapBodyContents(java.lang.String message)
                                            throws Spml2Exception
Throws:
Spml2Exception


Copyright © Sun Microsystems, Inc. All Rights Reserved.