org.apache.axis2.jaxws.message.impl
Class BlockFactoryImpl
java.lang.Object
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
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 |
BlockFactoryImpl
public BlockFactoryImpl()
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
- Blockcontext
- 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
- XMLStreamReadercontext
- Associated Context or null
- Throws:
javax.xml.stream.XMLStreamException
WebServiceException
Copyright © 2007 Apache Web Services Project. All Rights Reserved.