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
JAXBBlockFactoryImpl Creates a JAXBBlock
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateFrom(Object businessObject, Object context, QName qName) Create from business objectcreateFrom(org.apache.axiom.om.OMElement omElement, Object context, QName qName) createBlock from XMLStreamReaderbooleanMethods inherited from class org.apache.axis2.jaxws.message.impl.BlockFactoryImpl
createFrom, createFromMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.axis2.jaxws.message.factory.BlockFactory
createFrom, createFrom
-
Constructor Details
-
JAXBBlockFactoryImpl
public JAXBBlockFactoryImpl()Default Constructor required for Factory
-
-
Method Details
-
createFrom
public Block createFrom(org.apache.axiom.om.OMElement omElement, Object context, QName qName) throws XMLStreamException, jakarta.xml.ws.WebServiceException Description copied from interface:BlockFactorycreateBlock from XMLStreamReader- Specified by:
createFromin interfaceBlockFactory- Parameters:
omElement- OMElementcontext- Associated Context or null- Throws:
XMLStreamExceptionjakarta.xml.ws.WebServiceException
-
createFrom
public Block createFrom(Object businessObject, Object context, QName qName) throws jakarta.xml.ws.WebServiceException Description copied from interface:BlockFactoryCreate from business object- Specified by:
createFromin interfaceBlockFactorycontext- Associated Context or null- Throws:
jakarta.xml.ws.WebServiceException
-
isElement
public boolean isElement()- Specified by:
isElementin interfaceBlockFactory- Returns:
- true if business object must be rendered as an element example JAXBFactory ...true example SourceFactory...false
-