org.apache.axis2.jaxws.message.databinding.impl
Class OMBlockImpl
java.lang.Object
org.apache.axis2.jaxws.message.impl.BlockImpl
org.apache.axis2.jaxws.message.databinding.impl.OMBlockImpl
- All Implemented Interfaces:
- org.apache.axiom.om.OMDataSource, Block, OMBlock
public class OMBlockImpl
- extends BlockImpl
- implements OMBlock
OMBlockImpl Block with a business object that is an OMElement
Method Summary |
protected java.lang.Object |
_getBOFromReader(javax.xml.stream.XMLStreamReader reader,
java.lang.Object busContext)
The derived class must provide an implementation that builds the business object from the
reader |
protected javax.xml.stream.XMLStreamReader |
_getReaderFromBO(java.lang.Object busObj,
java.lang.Object busContext)
Get an XMLStreamReader for the BusinessObject The derived Block must implement this method |
protected void |
_outputFromBO(java.lang.Object busObject,
java.lang.Object busContext,
javax.xml.stream.XMLStreamWriter writer)
Output BusinessObject contents to a Writer. |
boolean |
isElementData()
|
Methods inherited from class org.apache.axis2.jaxws.message.impl.BlockImpl |
_getBOFromBO, _outputFromReader, _postPivot_getXMLStreamReader, _postPivot_outputTo, getBlockFactory, getBusinessContext, getBusinessObject, getOMElement, getParent, getQName, getReader, getXMLStreamReader, isBusinessObject, isConsumed, isQNameAvailable, outputTo, serialize, serialize, serialize, setConsumed, setParent, setQName, traceString |
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 |
_getBOFromReader
protected java.lang.Object _getBOFromReader(javax.xml.stream.XMLStreamReader reader,
java.lang.Object busContext)
throws javax.xml.stream.XMLStreamException,
WebServiceException
- Description copied from class:
BlockImpl
- The derived class must provide an implementation that builds the business object from the
reader
- Specified by:
_getBOFromReader
in class BlockImpl
- Parameters:
reader
- XMLStreamReader, which is consumed
- Returns:
-
- Throws:
javax.xml.stream.XMLStreamException
WebServiceException
_getReaderFromBO
protected javax.xml.stream.XMLStreamReader _getReaderFromBO(java.lang.Object busObj,
java.lang.Object busContext)
throws javax.xml.stream.XMLStreamException,
WebServiceException
- Description copied from class:
BlockImpl
- Get an XMLStreamReader for the BusinessObject The derived Block must implement this method
- Specified by:
_getReaderFromBO
in class BlockImpl
- Returns:
-
- Throws:
javax.xml.stream.XMLStreamException
WebServiceException
_outputFromBO
protected void _outputFromBO(java.lang.Object busObject,
java.lang.Object busContext,
javax.xml.stream.XMLStreamWriter writer)
throws javax.xml.stream.XMLStreamException,
WebServiceException
- Description copied from class:
BlockImpl
- Output BusinessObject contents to a Writer.
Derived classes must provide this implementation
- Specified by:
_outputFromBO
in class BlockImpl
- Throws:
javax.xml.stream.XMLStreamException
WebServiceException
isElementData
public boolean isElementData()
- Specified by:
isElementData
in interface Block
- Returns:
- true if data is always an element; false if possibly mixed content or multiple
elements
Copyright © 2007 Apache Web Services Project. All Rights Reserved.