Class SOAPEnvelopeBlockImpl
- java.lang.Object
-
- org.apache.axiom.om.ds.AbstractOMDataSource
-
- org.apache.axis2.jaxws.message.impl.BlockImpl<SOAPEnvelope,Void>
-
- org.apache.axis2.jaxws.message.databinding.impl.SOAPEnvelopeBlockImpl
-
- All Implemented Interfaces:
OMDataSource,OMDataSourceExt,Block<SOAPEnvelope,Void>,SOAPEnvelopeBlock
public class SOAPEnvelopeBlockImpl extends BlockImpl<SOAPEnvelope,Void> implements SOAPEnvelopeBlock
-
-
Constructor Summary
Constructors Constructor Description SOAPEnvelopeBlockImpl(SOAPEnvelope busObject, QName qName, BlockFactory factory)Called by SOAPEnvelopeBlockFactorySOAPEnvelopeBlockImpl(OMElement omElement, QName qName, BlockFactory factory)Called by SOAPEnvelopeBlockFactory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SOAPEnvelope_getBOFromOM(OMElement omElement, Void busContext)Default method for getting business object from OM.protected XMLStreamReader_getReaderFromBO(SOAPEnvelope busObj, Void busContext)Get an XMLStreamReader for the BusinessObject The derived Block must implement this methodprotected void_outputFromBO(SOAPEnvelope busObject, Void busContext, XMLStreamWriter writer)Output BusinessObject contents to a Writer.voidclose()ObjectgetObject()booleanisDestructiveRead()booleanisDestructiveWrite()booleanisElementData()-
Methods inherited from class org.apache.axis2.jaxws.message.impl.BlockImpl
_getBOFromBO, _getOMFromBO, _outputFromOM, _outputFromReader, _postPivot_getXMLStreamReader, _postPivot_outputTo, copy, getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getReader, getXMLStreamReader, isBusinessObject, isConsumed, isQNameAvailable, outputTo, serialize, setConsumed, setParent, setQName, traceString
-
Methods inherited from class org.apache.axiom.om.ds.AbstractOMDataSource
getProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setProperty
-
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.Block
getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getXMLStreamReader, isConsumed, isQNameAvailable, outputTo, setParent, traceString
-
Methods inherited from interface org.apache.axiom.om.OMDataSource
getReader, serialize, serialize, serialize
-
Methods inherited from interface org.apache.axiom.om.OMDataSourceExt
copy, getProperty, getXMLBytes, getXMLInputStream, hasProperty, setProperty
-
-
-
-
Constructor Detail
-
SOAPEnvelopeBlockImpl
public SOAPEnvelopeBlockImpl(SOAPEnvelope busObject, QName qName, BlockFactory factory)
Called by SOAPEnvelopeBlockFactory- Parameters:
busObject-busContext-qName-factory-
-
SOAPEnvelopeBlockImpl
public SOAPEnvelopeBlockImpl(OMElement omElement, QName qName, BlockFactory factory)
Called by SOAPEnvelopeBlockFactory- Parameters:
omElement-busContext-qName-factory-
-
-
Method Detail
-
_getBOFromOM
protected SOAPEnvelope _getBOFromOM(OMElement omElement, Void busContext) throws XMLStreamException, WebServiceException
Description copied from class:BlockImplDefault method for getting business object from OM. Derived classes may override this method to get the business object from a data source.- Specified by:
_getBOFromOMin classBlockImpl<SOAPEnvelope,Void>- Returns:
- Business Object
- Throws:
XMLStreamExceptionWebServiceException
-
_getReaderFromBO
protected XMLStreamReader _getReaderFromBO(SOAPEnvelope busObj, Void busContext) throws XMLStreamException, WebServiceException
Description copied from class:BlockImplGet an XMLStreamReader for the BusinessObject The derived Block must implement this method- Specified by:
_getReaderFromBOin classBlockImpl<SOAPEnvelope,Void>- Returns:
- Throws:
XMLStreamExceptionWebServiceException
-
_outputFromBO
protected void _outputFromBO(SOAPEnvelope busObject, Void busContext, XMLStreamWriter writer) throws XMLStreamException, WebServiceException
Description copied from class:BlockImplOutput BusinessObject contents to a Writer. Derived classes must provide this implementation- Specified by:
_outputFromBOin classBlockImpl<SOAPEnvelope,Void>- Throws:
XMLStreamExceptionWebServiceException
-
isElementData
public boolean isElementData()
- Specified by:
isElementDatain interfaceBlock<SOAPEnvelope,Void>- Returns:
- true if data is always an element; false if possibly mixed content or multiple elements
-
close
public void close()
- Specified by:
closein interfaceOMDataSourceExt- Overrides:
closein classAbstractOMDataSource
-
getObject
public Object getObject()
- Specified by:
getObjectin interfaceOMDataSourceExt- Overrides:
getObjectin classAbstractOMDataSource
-
isDestructiveRead
public boolean isDestructiveRead()
- Specified by:
isDestructiveReadin interfaceOMDataSourceExt
-
isDestructiveWrite
public boolean isDestructiveWrite()
- Specified by:
isDestructiveWritein interfaceOMDataSourceExt
-
-