public class ObjectFactory extends Object
An ObjectFactory allows you to programatically construct new instances of the Java representation for XML content. The Java representation of XML content can consist of schema derived interfaces and classes representing the binding of schema type definitions, element declarations and model groups. Factory methods for each of these are provided in this class.
Constructor and Description |
---|
ObjectFactory()
Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.cxf.bindings.xformat
|
Modifier and Type | Method and Description |
---|---|
JAXBElement<XMLFormatBinding> |
createBinding(XMLFormatBinding value)
|
JAXBElement<XMLBindingMessageFormat> |
createBody(XMLBindingMessageFormat value)
|
XMLBindingMessageFormat |
createXMLBindingMessageFormat()
Create an instance of
XMLBindingMessageFormat |
XMLFormatBinding |
createXMLFormatBinding()
Create an instance of
XMLFormatBinding |
public ObjectFactory()
public XMLBindingMessageFormat createXMLBindingMessageFormat()
XMLBindingMessageFormat
public XMLFormatBinding createXMLFormatBinding()
XMLFormatBinding
public JAXBElement<XMLBindingMessageFormat> createBody(XMLBindingMessageFormat value)
value
- Java instance representing xml element's value.JAXBElement
<
XMLBindingMessageFormat
>
public JAXBElement<XMLFormatBinding> createBinding(XMLFormatBinding value)
value
- Java instance representing xml element's value.JAXBElement
<
XMLFormatBinding
>
Apache CXF