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 Details

    • BlockFactoryImpl

      public BlockFactoryImpl()
  • Method Details

    • createFrom

      public Block createFrom(Block other, Object context) throws XMLStreamException, jakarta.xml.ws.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 interface BlockFactory
      Parameters:
      other - Block
      context - Associated Context or null
      Throws:
      XMLStreamException
      jakarta.xml.ws.WebServiceException
    • createFrom

      public Block createFrom(XMLStreamReader reader, Object context, QName qName) throws XMLStreamException, jakarta.xml.ws.WebServiceException
      Description copied from interface: BlockFactory
      createBlock from XMLStreamReader
      Specified by:
      createFrom in interface BlockFactory
      Parameters:
      reader - XMLStreamReader
      context - Associated Context or null
      Throws:
      XMLStreamException
      jakarta.xml.ws.WebServiceException