public class SourceBlockImpl extends BlockImpl<Source,Void> implements SourceBlock
| Constructor and Description |
|---|
SourceBlockImpl(org.apache.axiom.om.OMElement omElement,
QName qName,
BlockFactory factory)
Constructor called from factory
|
| Modifier and Type | Method and Description |
|---|---|
protected Source |
_getBOFromBO(Source busObject,
Void busContext,
boolean consume)
The default implementation is to return the business object.
|
protected Source |
_getBOFromOM(org.apache.axiom.om.OMElement omElement,
Void busContext)
Default method for getting business object from OM.
|
protected XMLStreamReader |
_getReaderFromBO(Source busObj,
Void busContext)
Get an XMLStreamReader for the BusinessObject The derived Block must implement this method
|
protected void |
_outputFromBO(Source busObject,
Void busContext,
XMLStreamWriter writer)
Output BusinessObject contents to a Writer.
|
void |
close() |
Object |
getObject() |
boolean |
isDestructiveRead() |
boolean |
isDestructiveWrite() |
boolean |
isElementData() |
_getOMFromBO, _outputFromOM, _outputFromReader, _postPivot_getXMLStreamReader, _postPivot_outputTo, copy, getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getReader, getXMLStreamReader, isBusinessObject, isConsumed, isQNameAvailable, outputTo, serialize, setConsumed, setParent, setQName, traceStringgetProperty, getXMLBytes, getXMLInputStream, hasProperty, serialize, serialize, setPropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getXMLStreamReader, isConsumed, isQNameAvailable, outputTo, setParent, traceStringpublic SourceBlockImpl(org.apache.axiom.om.OMElement omElement,
QName qName,
BlockFactory factory)
reader - qName - factory - protected Source _getBOFromOM(org.apache.axiom.om.OMElement omElement, Void busContext) throws XMLStreamException, WebServiceException
BlockImpl_getBOFromOM in class BlockImpl<Source,Void>XMLStreamExceptionWebServiceExceptionprotected XMLStreamReader _getReaderFromBO(Source busObj, Void busContext) throws XMLStreamException, WebServiceException
BlockImpl_getReaderFromBO in class BlockImpl<Source,Void>XMLStreamExceptionWebServiceExceptionprotected void _outputFromBO(Source busObject, Void busContext, XMLStreamWriter writer) throws XMLStreamException, WebServiceException
BlockImpl_outputFromBO in class BlockImpl<Source,Void>XMLStreamExceptionWebServiceExceptionprotected Source _getBOFromBO(Source busObject, Void busContext, boolean consume)
BlockImpl_getBOFromBO in class BlockImpl<Source,Void>public boolean isElementData()
isElementData in interface Block<Source,Void>public void close()
close in interface org.apache.axiom.om.OMDataSourceExtclose in class org.apache.axiom.om.ds.AbstractOMDataSourcepublic Object getObject()
getObject in interface org.apache.axiom.om.OMDataSourceExtgetObject in class org.apache.axiom.om.ds.AbstractOMDataSourcepublic boolean isDestructiveRead()
isDestructiveRead in interface org.apache.axiom.om.OMDataSourceExtpublic boolean isDestructiveWrite()
isDestructiveWrite in interface org.apache.axiom.om.OMDataSourceExtCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.