org.openhealthexchange.openpixpdq.util
Class AxiomUtil

java.lang.Object
  extended by org.openhealthexchange.openpixpdq.util.AxiomUtil

public class AxiomUtil
extends java.lang.Object

This class takes care of the utility methods related to Axiom elements.

Version:
2.1 Jan 22, 2008
Author:
Wenzhi Li

Constructor Summary
AxiomUtil()
           
 
Method Summary
static void prettify(org.apache.axiom.om.OMElement wsdlElement, javax.xml.transform.stream.StreamResult result)
          Writes this OMElement in a prettified format to a StreamResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxiomUtil

public AxiomUtil()
Method Detail

prettify

public static void prettify(org.apache.axiom.om.OMElement wsdlElement,
                            javax.xml.transform.stream.StreamResult result)
                     throws javax.xml.stream.XMLStreamException,
                            javax.xml.transform.TransformerConfigurationException,
                            javax.xml.transform.TransformerException
Writes this OMElement in a prettified format to a StreamResult.

Parameters:
wsdlElement - the Axiom OMElement to be written
result - the StreamResult as the output
Throws:
javax.xml.stream.XMLStreamException
javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerException