org.apache.ws.util.helper
Class Dom2SaajConverter

java.lang.Object
  extended byorg.apache.ws.util.helper.Dom2SaajConverter

public class Dom2SaajConverter
extends java.lang.Object

LOG-DONE

Author:
Ian P. Springer

Constructor Summary
Dom2SaajConverter()
          Creates a new Dom2SaajConverter object.
 
Method Summary
 javax.xml.soap.DetailEntry addDetailEntry(javax.xml.soap.Detail detail, org.w3c.dom.Element domElem)
          Adds a DOM Element as an entry to a SAAJ Detail.
 javax.xml.soap.SOAPElement toSOAPElement(org.w3c.dom.Element domElem)
          Converts a DOM Element to a SAAJ SOAPElement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Dom2SaajConverter

public Dom2SaajConverter()
                  throws javax.xml.soap.SOAPException
Creates a new Dom2SaajConverter object.

Throws:
javax.xml.soap.SOAPException - DOCUMENT_ME
Method Detail

addDetailEntry

public javax.xml.soap.DetailEntry addDetailEntry(javax.xml.soap.Detail detail,
                                                 org.w3c.dom.Element domElem)
                                          throws javax.xml.soap.SOAPException
Adds a DOM Element as an entry to a SAAJ Detail.

Parameters:
detail - a SAAJ detail
domElem - a DOM element to be added as an entry in the specified detail
Returns:
a SAAJ detail entry
Throws:
javax.xml.soap.SOAPException

toSOAPElement

public javax.xml.soap.SOAPElement toSOAPElement(org.w3c.dom.Element domElem)
                                         throws javax.xml.soap.SOAPException
Converts a DOM Element to a SAAJ SOAPElement.

Parameters:
domElem - a DOM Element
Returns:
a SOAPElement
Throws:
javax.xml.soap.SOAPException


Copyright © 2004-2005 Apache Software Foundation. All Rights Reserved.