|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationRequestReader<T>
org.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationUpdateRequestReader<T>
T - the type read from the url encoded formpublic abstract class AbstractFormUrlEncodedAnnotationUpdateRequestReader<T extends AnnotationUpdateRequest>
Partial implementation of a reader that reads an annotation update request, extending the request reader with the read of the annotation fields.
| Field Summary |
|---|
| Fields inherited from class org.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationRequestReader |
|---|
FILTER_FIELD_PREFIX, REQUESTED_FIELD |
| Constructor Summary | |
|---|---|
AbstractFormUrlEncodedAnnotationUpdateRequestReader()
|
|
| Method Summary | |
|---|---|
protected boolean |
saveField(T readObject,
java.lang.String key,
java.lang.String value,
ObjectFactory objectFactory)
Helper function to save a parameter in the read object. |
| Methods inherited from class org.xwiki.annotation.rest.internal.representations.AbstractFormUrlEncodedAnnotationRequestReader |
|---|
getReadObjectInstance, readFrom |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ws.rs.ext.MessageBodyReader |
|---|
isReadable |
| Constructor Detail |
|---|
public AbstractFormUrlEncodedAnnotationUpdateRequestReader()
| Method Detail |
|---|
protected boolean saveField(T readObject,
java.lang.String key,
java.lang.String value,
ObjectFactory objectFactory)
saveField in class AbstractFormUrlEncodedAnnotationRequestReader<T extends AnnotationUpdateRequest>readObject - the request to fill with datakey - the key of the fieldvalue - the value of the fieldobjectFactory - the objects factory to create the annotation fields
#saveField(org.xwiki.annotation.rest.model.jaxb.AnnotationRequest, java.lang.String, java.lang.String,
org.xwiki.annotation.rest.model.jaxb.ObjectFactory)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||