Class BlockFactoryImpl
- java.lang.Object
-
- org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
-
- All Implemented Interfaces:
BlockFactory
- Direct Known Subclasses:
DataSourceBlockFactoryImpl
,JAXBBlockFactoryImpl
,OMBlockFactoryImpl
,SOAPEnvelopeBlockFactoryImpl
,SourceBlockFactoryImpl
,XMLStringBlockFactoryImpl
public abstract class BlockFactoryImpl extends Object implements BlockFactory
BlockFactoryImpl Abstract Base Class for the Block Factories
-
-
Constructor Summary
Constructors Constructor Description BlockFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Block
createFrom(XMLStreamReader reader, Object context, QName qName)
createBlock from XMLStreamReaderBlock
createFrom(Block other, Object context)
createBlock from another Block If the other Block was created with the same factory and has the same context, the other Block is returned.-
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, isElement
-
-
-
-
Method Detail
-
createFrom
public Block createFrom(Block other, Object context) throws XMLStreamException, WebServiceException
Description copied from interface:BlockFactory
createBlock from another Block If the other Block was created with the same factory and has the same context, the other Block is returned. If the other Block was created by a different factory or diffent context, a new block is returned (and the other block is consumed)- Specified by:
createFrom
in interfaceBlockFactory
- Parameters:
other
- Blockcontext
- Associated Context or null- Throws:
XMLStreamException
WebServiceException
-
createFrom
public Block createFrom(XMLStreamReader reader, Object context, QName qName) throws XMLStreamException, WebServiceException
Description copied from interface:BlockFactory
createBlock from XMLStreamReader- Specified by:
createFrom
in interfaceBlockFactory
- Parameters:
reader
- XMLStreamReadercontext
- Associated Context or null- Throws:
XMLStreamException
WebServiceException
-
-