Constructor and Description |
---|
ImageLinkReader() |
Modifier and Type | Method and Description |
---|---|
ImageLink |
create(String file)
Creates a new image link pointing to a file on the current document
|
ImageLink |
create(String doc,
String file)
Creates a new image link pointing to a file an any document
|
ImageLink |
read(List<String> itemValues)
Reads an image link from an item value list.
|
String |
write(ImageLink ili)
Writes an image link, always in XML format
|
public ImageLink create(String file)
file
- The name of the filepublic ImageLink create(String doc, String file)
doc
- The name/key of the document containing the file, either name of a file container or content key of a content documentfile
- The name of the filepublic ImageLink read(List<String> itemValues)
itemValues
- The item value list. This should be the content of any item, read as list.