Class SourceBlockFactoryImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
-
- org.apache.axis2.jaxws.message.databinding.impl.SourceBlockFactoryImpl
-
- All Implemented Interfaces:
BlockFactory
,SourceBlockFactory
public class SourceBlockFactoryImpl extends BlockFactoryImpl implements SourceBlockFactory
SourceBlockFactoryImpl Creates a SourceBlock
-
-
Constructor Summary
Constructors Constructor Description SourceBlockFactoryImpl()
Default Constructor required for Factory
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
createFrom(Object businessObject, Object context, QName qName)
Create from business objectBlock
createFrom(OMElement omElement, Object context, QName qName)
createBlock from XMLStreamReaderboolean
isElement()
-
Methods inherited from class org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
createFrom, createFrom
-
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.factory.BlockFactory
createFrom, createFrom
-
-
-
-
Method Detail
-
createFrom
public Block createFrom(Object businessObject, Object context, QName qName) throws WebServiceException
Description copied from interface:BlockFactory
Create from business object- Specified by:
createFrom
in interfaceBlockFactory
context
- Associated Context or null- Throws:
WebServiceException
-
createFrom
public Block createFrom(OMElement omElement, Object context, QName qName) throws XMLStreamException
Description copied from interface:BlockFactory
createBlock from XMLStreamReader- Specified by:
createFrom
in interfaceBlockFactory
- Parameters:
omElement
- OMElementcontext
- Associated Context or null- Throws:
XMLStreamException
-
isElement
public boolean isElement()
- Specified by:
isElement
in interfaceBlockFactory
- Returns:
- true if business object must be rendered as an element example JAXBFactory ...true example SourceFactory...false
-
-