public class UrlHtmlListFormatter extends UrlPlainListFormatter
Constructor and Description |
---|
UrlHtmlListFormatter(ExportParameters p) |
Modifier and Type | Method and Description |
---|---|
String |
format(List<Pz2Record> sourceRecords) |
String |
format(Pz2Record sourceRecord)
Formats a Pazpar2 record and returns it
|
String |
getContentType()
Returns the default content type of the given output format
|
String |
getFileExtension()
Returns the default file extension of the given output format
|
boolean |
isAttachment() |
boolean |
isIndex() |
boolean |
isInline() |
boolean |
oneAttachmentPerRecord() |
boolean |
oneCombinedAttachment() |
encode, getFileNamePart, getFormatName, getMessageText, getPermaLink, getRecordQuery, toString
public UrlHtmlListFormatter(ExportParameters p)
public String format(List<Pz2Record> sourceRecords) throws StandardServiceException
format
in interface RecordFormatter
format
in class UrlPlainListFormatter
StandardServiceException
public String format(Pz2Record sourceRecord)
RecordFormatter
format
in interface RecordFormatter
format
in class UrlPlainListFormatter
public String getContentType()
RecordFormatter
getContentType
in interface RecordFormatter
getContentType
in class UrlPlainListFormatter
public String getFileExtension()
RecordFormatter
getFileExtension
in interface RecordFormatter
getFileExtension
in class UrlPlainListFormatter
public boolean isInline()
isInline
in interface RecordFormatter
isInline
in class UrlPlainListFormatter
public boolean isIndex()
isIndex
in interface RecordFormatter
isIndex
in class UrlPlainListFormatter
public boolean isAttachment()
isAttachment
in interface RecordFormatter
isAttachment
in class UrlPlainListFormatter
public boolean oneCombinedAttachment()
oneCombinedAttachment
in interface RecordFormatter
oneCombinedAttachment
in class UrlPlainListFormatter
public boolean oneAttachmentPerRecord()
oneAttachmentPerRecord
in interface RecordFormatter
oneAttachmentPerRecord
in class UrlPlainListFormatter
Copyright © 2008-2015 Index Data. All Rights Reserved.