| org.apache.axis2.jaxws.message.factory.BlockFactory
All known Subclasses: org.apache.axis2.jaxws.message.impl.BlockFactoryImpl,
BlockFactory | public interface BlockFactory (Code) | | BlockFactory
Interface to create Block objects An object is created from either a reader, another Block or the
BusinessObject. Some business objects (like JAXB) have an associated context object
(JAXBContext), these are also passed to the createMethods.
The implementation of BlockFactories should always be singleton objects and never carry any
instance data.
The FactoryRegistry should be used to get access to a Factory
See Also: org.apache.axis2.jaxws.registry.FactoryRegistry |
createFrom | public Block createFrom(Block other, Object context) throws XMLStreamException, WebServiceException(Code) | | 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)
Parameters: other - Block Parameters: context - Associated Context or null throws: XMLStreamException - throws: WebServiceException - |
isElement | public boolean isElement()(Code) | | true if business object must be rendered as an elementexample JAXBFactory ...trueexample SourceFactory...false |
|
|