public class SOAPEnvelopeBlockImpl extends BlockImpl implements SOAPEnvelopeBlock
Constructor and Description |
---|
SOAPEnvelopeBlockImpl(Object busObject,
Object busContext,
QName qName,
BlockFactory factory)
Called by SOAPEnvelopeBlockFactory
|
SOAPEnvelopeBlockImpl(org.apache.axiom.om.OMElement omElement,
Object busContext,
QName qName,
BlockFactory factory)
Called by SOAPEnvelopeBlockFactory
|
Modifier and Type | Method and Description |
---|---|
protected Object |
_getBOFromReader(XMLStreamReader reader,
Object busContext)
The derived class must provide an implementation that builds the business object from the
reader
|
protected XMLStreamReader |
_getReaderFromBO(Object busObj,
Object busContext)
Get an XMLStreamReader for the BusinessObject The derived Block must implement this method
|
protected void |
_outputFromBO(Object busObject,
Object busContext,
XMLStreamWriter writer)
Output BusinessObject contents to a Writer.
|
void |
close() |
Object |
getObject() |
byte[] |
getXMLBytes(String encoding) |
InputStream |
getXMLInputStream(String encoding) |
boolean |
isDestructiveRead() |
boolean |
isDestructiveWrite() |
boolean |
isElementData() |
_getBOFromBO, _getBOFromOM, _getOMFromBO, _getReaderFromOM, _outputFromOM, _outputFromReader, _postPivot_getXMLStreamReader, _postPivot_outputTo, copy, getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getProperty, getQName, getReader, getXMLStreamReader, hasProperty, isBusinessObject, isConsumed, isQNameAvailable, outputTo, serialize, serialize, serialize, setConsumed, setParent, setProperty, setQName, traceString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getXMLStreamReader, isConsumed, isQNameAvailable, outputTo, setParent, traceString
public SOAPEnvelopeBlockImpl(Object busObject, Object busContext, QName qName, BlockFactory factory)
busObject
- busContext
- qName
- factory
- public SOAPEnvelopeBlockImpl(org.apache.axiom.om.OMElement omElement, Object busContext, QName qName, BlockFactory factory)
omElement
- busContext
- qName
- factory
- protected Object _getBOFromReader(XMLStreamReader reader, Object busContext) throws XMLStreamException, WebServiceException
BlockImpl
_getBOFromReader
in class BlockImpl
reader
- XMLStreamReader, which is consumedXMLStreamException
WebServiceException
protected XMLStreamReader _getReaderFromBO(Object busObj, Object busContext) throws XMLStreamException, WebServiceException
BlockImpl
_getReaderFromBO
in class BlockImpl
XMLStreamException
WebServiceException
protected void _outputFromBO(Object busObject, Object busContext, XMLStreamWriter writer) throws XMLStreamException, WebServiceException
BlockImpl
_outputFromBO
in class BlockImpl
XMLStreamException
WebServiceException
public boolean isElementData()
isElementData
in interface Block
public void close()
close
in interface org.apache.axiom.om.OMDataSourceExt
public InputStream getXMLInputStream(String encoding) throws UnsupportedEncodingException
getXMLInputStream
in interface org.apache.axiom.om.OMDataSourceExt
UnsupportedEncodingException
public Object getObject()
getObject
in interface org.apache.axiom.om.OMDataSourceExt
public boolean isDestructiveRead()
isDestructiveRead
in interface org.apache.axiom.om.OMDataSourceExt
public boolean isDestructiveWrite()
isDestructiveWrite
in interface org.apache.axiom.om.OMDataSourceExt
public byte[] getXMLBytes(String encoding) throws UnsupportedEncodingException
getXMLBytes
in interface org.apache.axiom.om.OMDataSourceExt
UnsupportedEncodingException
Copyright © 2004-2015 The Apache Software Foundation. All Rights Reserved.