Class DataSourceBlockFactoryImpl

java.lang.Object
org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
org.apache.axis2.jaxws.message.databinding.impl.DataSourceBlockFactoryImpl
All Implemented Interfaces:
BlockFactory, DataSourceBlockFactory

public class DataSourceBlockFactoryImpl extends BlockFactoryImpl implements DataSourceBlockFactory
SourceBlockFactoryImpl

Creates a SourceBlock

  • Constructor Details

    • DataSourceBlockFactoryImpl

      public DataSourceBlockFactoryImpl()
      Default Constructor required for Factory
  • Method Details

    • createFrom

      public Block createFrom(Object businessObject, Object context, QName qName) throws jakarta.xml.ws.WebServiceException
      Description copied from interface: BlockFactory
      Create from business object
      Specified by:
      createFrom in interface BlockFactory
      context - Associated Context or null
      Throws:
      jakarta.xml.ws.WebServiceException
    • createFrom

      public Block createFrom(org.apache.axiom.om.OMElement omElement, Object context, QName qName) throws XMLStreamException
      Description copied from interface: BlockFactory
      createBlock from XMLStreamReader
      Specified by:
      createFrom in interface BlockFactory
      Parameters:
      omElement - OMElement
      context - Associated Context or null
      Throws:
      XMLStreamException
    • isElement

      public boolean isElement()
      Specified by:
      isElement in interface BlockFactory
      Returns:
      true if business object must be rendered as an element example JAXBFactory ...true example SourceFactory...false