/**
*
*/
package at.gv.egiz.pdfas.api.commons;
import java.util.Properties;
/**
* Definition of a signature profile.
*
* @author wprinz
*/
public interface SignatureProfile {
// TODO: implement full profile support
/**
* Returns the profile id.
*
* @return Returns the profile id.
*/
public String getProfileId();
/**
* Returns the MOA KeyIdentifier.
*
* @return Returns the MOA KeyIdentifier.
*/
public String getMOAKeyIdentifier();
/**
* Returns the entries relevant to the search algorithm for signature blocks.
* e.g. properties starting with sig_obj.PROFILE.key.
and
* properties of the form sig_obj.PROFILE.table.TABLENAME.NUMBER
* where PROFILE
is the name of the current profile,
* TABLENAME
is the name of a table and NUMBER
* is the number of the specific row within the table TABLENAME
.
*
* @return The entries relevant to the signature block search algorithm as
* Java properties.
*/
public Properties getSignatureBlockEntries();
/**
* Returns the profile description.
*
* @return The profile description.
*/
public String getProfileDescription();
/**
* True only if this is the default profile according to config.
* @return
*/
public boolean isDefault();
}