use of org.xwiki.annotation.rest.model.jaxb.AnnotationAddRequest in project xwiki-platform by xwiki.
the class FormUrlEncodedAnnotationAddRequestReader method getReadObjectInstance.
@Override
protected AnnotationAddRequest getReadObjectInstance(ObjectFactory factory) {
AnnotationAddRequest addRequest = factory.createAnnotationAddRequest();
// and initialize it
addRequest.setRequest(new AnnotationRequest.Request());
addRequest.setFilter(factory.createAnnotationFieldCollection());
addRequest.setAnnotation(factory.createAnnotationFieldCollection());
return addRequest;
}
Aggregations