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.rest.model.jaxb
|
public ObjectFactory()
public LinkCollection createLinkCollection()
LinkCollection
public PageSummary createPageSummary()
PageSummary
public Translations createTranslations()
Translations
public Attachments createAttachments()
Attachments
public HistorySummary createHistorySummary()
HistorySummary
public Attachment createAttachment()
Attachment
public PropertyValues createPropertyValues()
PropertyValues
public ObjectSummary createObjectSummary()
ObjectSummary
public Translation createTranslation()
Translation
public Properties createProperties()
Properties
public SearchResult createSearchResult()
SearchResult
public SearchResults createSearchResults()
SearchResults
public JobRequest createJobRequest()
JobRequest
public JobProgress createJobProgress()
JobProgress
public HierarchyItem createHierarchyItem()
HierarchyItem
public JAXBElement<ObjectSummary> createObjectSummary(ObjectSummary value)
value
- Java instance representing xml element's value.JAXBElement
<
ObjectSummary
>
Copyright © 2004–2021 XWiki. All rights reserved.