Class OMBlockFactoryImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
-
- org.apache.axis2.jaxws.message.databinding.impl.OMBlockFactoryImpl
-
- All Implemented Interfaces:
BlockFactory
,OMBlockFactory
public class OMBlockFactoryImpl extends BlockFactoryImpl implements OMBlockFactory
OMBlockFactoryImpl Creates an OMBlock
-
-
Constructor Summary
Constructors Constructor Description OMBlockFactoryImpl()
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(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
-
createFrom
public Block createFrom(Object businessObject, Object context, QName qName)
Description copied from interface:BlockFactory
Create from business object- Specified by:
createFrom
in interfaceBlockFactory
context
- Associated Context or null
-
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
-
-