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.xwiki.livedata.rest.model.jaxb
|
Modifier and Type | Method and Description |
---|---|
Entries |
createEntries()
Create an instance of
Entries |
Entry |
createEntry()
Create an instance of
Entry |
Properties |
createProperties()
Create an instance of
Properties |
JAXBElement<PropertyDescriptor> |
createProperty(PropertyDescriptor value)
|
PropertyDescriptor |
createPropertyDescriptor()
Create an instance of
PropertyDescriptor |
Source |
createSource()
Create an instance of
Source |
Sources |
createSources()
Create an instance of
Sources |
JAXBElement<PropertyDescriptor> |
createType(PropertyDescriptor value)
|
Types |
createTypes()
Create an instance of
Types |
public ObjectFactory()
public Properties createProperties()
Properties
public PropertyDescriptor createPropertyDescriptor()
PropertyDescriptor
public JAXBElement<PropertyDescriptor> createProperty(PropertyDescriptor value)
value
- Java instance representing xml element's value.JAXBElement
<
PropertyDescriptor
>
public JAXBElement<PropertyDescriptor> createType(PropertyDescriptor value)
value
- Java instance representing xml element's value.JAXBElement
<
PropertyDescriptor
>
Copyright © 2004–2022 XWiki. All rights reserved.