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
BlockFactoryImpl Abstract Base Class for the Block Factories
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFrom(XMLStreamReader reader, Object context, QName qName) createBlock from XMLStreamReadercreateFrom(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, waitMethods inherited from interface org.apache.axis2.jaxws.message.factory.BlockFactory
createFrom, createFrom, isElement
-
Constructor Details
-
BlockFactoryImpl
public BlockFactoryImpl()
-
-
Method Details
-
createFrom
public Block createFrom(Block other, Object context) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:BlockFactorycreateBlock 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:
createFromin interfaceBlockFactory- Parameters:
other- Blockcontext- Associated Context or null- Throws:
XMLStreamExceptionjakarta.xml.ws.WebServiceException
-
createFrom
public Block createFrom(XMLStreamReader reader, Object context, QName qName) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:BlockFactorycreateBlock from XMLStreamReader- Specified by:
createFromin interfaceBlockFactory- Parameters:
reader- XMLStreamReadercontext- Associated Context or null- Throws:
XMLStreamExceptionjakarta.xml.ws.WebServiceException
-