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.annotation.rest.model.jaxb
|
public ObjectFactory()
public AnnotationRequest createAnnotationRequest()
AnnotationRequest
public AnnotationAddRequest createAnnotationAddRequest()
AnnotationAddRequest
public AnnotationUpdateRequest createAnnotationUpdateRequest()
AnnotationUpdateRequest
public AnnotationRequest.Request createAnnotationRequestRequest()
AnnotationRequest.Request
public AnnotationFieldCollection createAnnotationFieldCollection()
AnnotationFieldCollection
public AnnotationResponse createAnnotationResponse()
AnnotationResponse
public AnnotatedContent createAnnotatedContent()
AnnotatedContent
public AnnotationField createAnnotationField()
AnnotationField
public AnnotationStub createAnnotationStub()
AnnotationStub
public JAXBElement<AnnotationUpdateRequest> createAnnotationUpdateRequest(AnnotationUpdateRequest value)
value
- Java instance representing xml element's value.JAXBElement
<
AnnotationUpdateRequest
>
public JAXBElement<AnnotationRequest> createAnnotationDeleteRequest(AnnotationRequest value)
value
- Java instance representing xml element's value.JAXBElement
<
AnnotationRequest
>
Copyright © 2004–2021 XWiki. All rights reserved.