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.type_substitution
|
| Modifier and Type | Method and Description |
|---|---|
GetSedans |
createGetSedans()
Create an instance of
GetSedans |
JAXBElement<GetSedans> |
createGetSedans(GetSedans value)
|
GetSedansResponse |
createGetSedansResponse()
Create an instance of
GetSedansResponse |
JAXBElement<GetSedansResponse> |
createGetSedansResponse(GetSedansResponse value)
|
Porsche |
createPorsche()
Create an instance of
Porsche |
JAXBElement<Car> |
createTradeIn(Car value)
|
JAXBElement<Car> |
createTradeInResponse(Car value)
|
public ObjectFactory()
public GetSedansResponse createGetSedansResponse()
GetSedansResponsepublic JAXBElement<Car> createTradeInResponse(Car value)
public JAXBElement<GetSedansResponse> createGetSedansResponse(GetSedansResponse value)
public JAXBElement<GetSedans> createGetSedans(GetSedans value)
public JAXBElement<Car> createTradeIn(Car value)
Apache CXF