Modifier and Type | Method and Description |
---|---|
protected Object |
_getBOFromOM(org.apache.axiom.om.OMElement om,
Object busContext)
Default method for getting business object from OM.
|
protected Object |
_getBOFromReader(XMLStreamReader reader,
Object busContext)
The derived class must provide an implementation that builds the business object from the
reader
|
protected org.apache.axiom.om.OMElement |
_getOMFromBO(Object busObject,
Object busContext) |
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, _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
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 Object _getBOFromOM(org.apache.axiom.om.OMElement om, Object busContext) throws XMLStreamException, WebServiceException
BlockImpl
_getBOFromOM
in class BlockImpl
XMLStreamException
WebServiceException
protected org.apache.axiom.om.OMElement _getOMFromBO(Object busObject, Object busContext) throws XMLStreamException, WebServiceException
_getOMFromBO
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.