public class JAXBBlockImpl extends BlockImpl<Object,JAXBBlockContext> implements JAXBBlock
| Modifier and Type | Method and Description |
|---|---|
protected Object |
_getBOFromOM(org.apache.axiom.om.OMElement omElement,
JAXBBlockContext busContext)
Default method for getting business object from OM.
|
protected XMLStreamReader |
_getReaderFromBO(Object busObj,
JAXBBlockContext busContext)
Get an XMLStreamReader for the BusinessObject The derived Block must implement this method
|
protected void |
_outputFromBO(Object busObject,
JAXBBlockContext busContext,
XMLStreamWriter writer)
Output BusinessObject contents to a Writer.
|
void |
close() |
org.apache.axiom.om.OMDataSourceExt |
copy() |
Object |
getObject() |
boolean |
isDestructiveRead() |
boolean |
isDestructiveWrite() |
boolean |
isElementData() |
void |
setParent(Message message)
Set the Message associated with this block (This method is intended to be called by the
Message Implementation only)
|
_getBOFromBO, _getOMFromBO, _outputFromOM, _outputFromReader, _postPivot_getXMLStreamReader, _postPivot_outputTo, getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getReader, getXMLStreamReader, isBusinessObject, isConsumed, isQNameAvailable, outputTo, serialize, setConsumed, 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, traceStringprotected Object _getBOFromOM(org.apache.axiom.om.OMElement omElement, JAXBBlockContext busContext) throws XMLStreamException, WebServiceException
BlockImpl_getBOFromOM in class BlockImpl<Object,JAXBBlockContext>XMLStreamExceptionWebServiceExceptionprotected XMLStreamReader _getReaderFromBO(Object busObj, JAXBBlockContext busContext) throws XMLStreamException, WebServiceException
BlockImpl_getReaderFromBO in class BlockImpl<Object,JAXBBlockContext>XMLStreamExceptionWebServiceExceptionprotected void _outputFromBO(Object busObject, JAXBBlockContext busContext, XMLStreamWriter writer) throws XMLStreamException, WebServiceException
BlockImpl_outputFromBO in class BlockImpl<Object,JAXBBlockContext>XMLStreamExceptionWebServiceExceptionpublic boolean isElementData()
isElementData in interface Block<Object,JAXBBlockContext>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.OMDataSourceExtpublic org.apache.axiom.om.OMDataSourceExt copy()
throws org.apache.axiom.om.OMException
copy in interface org.apache.axiom.om.OMDataSourceExtcopy in class BlockImpl<Object,JAXBBlockContext>org.apache.axiom.om.OMExceptionpublic void setParent(Message message)
BlocksetParent in interface Block<Object,JAXBBlockContext>setParent in class BlockImpl<Object,JAXBBlockContext>Copyright © 2004–2020 The Apache Software Foundation. All rights reserved.