org.apache.axis2.jaxws.message.impl
Class BlockFactoryImpl

java.lang.Object
  extended by org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
All Implemented Interfaces:
BlockFactory
Direct Known Subclasses:
JAXBBlockFactoryImpl, OMBlockFactoryImpl, SOAPEnvelopeBlockFactoryImpl, SourceBlockFactoryImpl, XMLStringBlockFactoryImpl

public abstract class BlockFactoryImpl
extends java.lang.Object
implements BlockFactory

BlockFactoryImpl Abstract Base Class for the Block Factories


Constructor Summary
BlockFactoryImpl()
           
 
Method Summary
 Block createFrom(Block other, java.lang.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.
 Block createFrom(javax.xml.stream.XMLStreamReader reader, java.lang.Object context, QName qName)
          createBlock from XMLStreamReader
 
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
 

Constructor Detail

BlockFactoryImpl

public BlockFactoryImpl()
Method Detail

createFrom

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

createFrom

public Block createFrom(javax.xml.stream.XMLStreamReader reader,
                        java.lang.Object context,
                        QName qName)
                 throws javax.xml.stream.XMLStreamException,
                        WebServiceException
Description copied from interface: BlockFactory
createBlock from XMLStreamReader

Specified by:
createFrom in interface BlockFactory
Parameters:
reader - XMLStreamReader
context - Associated Context or null
Throws:
javax.xml.stream.XMLStreamException
WebServiceException


Copyright © 2007 Apache Web Services Project. All Rights Reserved.