org.apache.axis2.jaxws.message.databinding.impl
Class JAXBBlockFactoryImpl
java.lang.Object
org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
org.apache.axis2.jaxws.message.databinding.impl.JAXBBlockFactoryImpl
- All Implemented Interfaces:
- BlockFactory, JAXBBlockFactory
public class JAXBBlockFactoryImpl
- extends BlockFactoryImpl
- implements JAXBBlockFactory
JAXBBlockFactoryImpl Creates a JAXBBlock
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAXBBlockFactoryImpl
public JAXBBlockFactoryImpl()
- Default Constructor required for Factory
createFrom
public Block createFrom(org.apache.axiom.om.OMElement omElement,
Object context,
QName qName)
throws XMLStreamException,
WebServiceException
- Description copied from interface:
BlockFactory
- createBlock from XMLStreamReader
- Specified by:
createFrom
in interface BlockFactory
- Parameters:
omElement
- OMElementcontext
- Associated Context or null
- Throws:
XMLStreamException
WebServiceException
createFrom
public Block createFrom(Object businessObject,
Object context,
QName qName)
throws WebServiceException
- Description copied from interface:
BlockFactory
- Create from business object
- Specified by:
createFrom
in interface BlockFactory
context
- Associated Context or null
- Throws:
WebServiceException
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
Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.