Package org.xwiki.model.reference
Class AttachmentReferenceConverter
- java.lang.Object
-
- org.xwiki.properties.converter.AbstractConverter<AttachmentReference>
-
- org.xwiki.model.reference.AttachmentReferenceConverter
-
- All Implemented Interfaces:
org.xwiki.properties.converter.Converter<AttachmentReference>
@Component @Singleton public class AttachmentReferenceConverter extends org.xwiki.properties.converter.AbstractConverter<AttachmentReference>
Converter that converts a value into aAttachmentReferenceobject. Relative references are resolved using "current"DocumentReferenceResolver.- Since:
- 11.6RC1, 10.11.9, 11.3.2
- Version:
- $Id: 28d77da2cafb4c08127c1103c40e6c733f72886a $
-
-
Constructor Summary
Constructors Constructor Description AttachmentReferenceConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringconvertToString(AttachmentReference value)protected AttachmentReferenceconvertToType(Type type, Object value)
-
-
-
Method Detail
-
convertToType
protected AttachmentReference convertToType(Type type, Object value)
- Overrides:
convertToTypein classorg.xwiki.properties.converter.AbstractConverter<AttachmentReference>
-
convertToString
protected String convertToString(AttachmentReference value)
- Overrides:
convertToStringin classorg.xwiki.properties.converter.AbstractConverter<AttachmentReference>
-
-