org.apache.axis2.jaxws.message.databinding.impl
Class SOAPEnvelopeBlockFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
      extended by org.apache.axis2.jaxws.message.databinding.impl.SOAPEnvelopeBlockFactoryImpl
All Implemented Interfaces:
BlockFactory, SOAPEnvelopeBlockFactory

public class SOAPEnvelopeBlockFactoryImpl
extends BlockFactoryImpl
implements SOAPEnvelopeBlockFactory

Creates a SOAPEnvelopeBlock


Constructor Summary
SOAPEnvelopeBlockFactoryImpl()
          Default Constructor required for Factory
 
Method Summary
 Block createFrom(java.lang.Object businessObject, java.lang.Object context, QName qName)
          Create from business object
 Block createFrom(org.apache.axiom.om.OMElement omElement, java.lang.Object context, QName qName)
          createBlock from XMLStreamReader
 boolean isElement()
           
 
Methods inherited from class org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
createFrom, createFrom
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.axis2.jaxws.message.factory.BlockFactory
createFrom, createFrom
 

Constructor Detail

SOAPEnvelopeBlockFactoryImpl

public SOAPEnvelopeBlockFactoryImpl()
Default Constructor required for Factory

Method Detail

createFrom

public Block createFrom(org.apache.axiom.om.OMElement omElement,
                        java.lang.Object context,
                        QName qName)
                 throws javax.xml.stream.XMLStreamException
Description copied from interface: BlockFactory
createBlock from XMLStreamReader

Specified by:
createFrom in interface BlockFactory
Parameters:
omElement - OMElement
context - Associated Context or null
Throws:
javax.xml.stream.XMLStreamException

createFrom

public Block createFrom(java.lang.Object businessObject,
                        java.lang.Object context,
                        QName qName)
                 throws WebServiceException
Description copied from interface: BlockFactory
Create from business object

Specified by:
createFrom in interface BlockFactory
context - Associated Context or null
Throws:
WebServiceException

isElement

public boolean isElement()
Specified by:
isElement in interface BlockFactory
Returns:
true if business object must be rendered as an element example JAXBFactory ...true example SourceFactory...false


Copyright © 2007 Apache Web Services Project. All Rights Reserved.