Interface Extensible
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IntegrationServiceDefaultConfiguration
- All Known Implementing Classes:
AuthnRequirements
,PdfSignatureImageTemplate
,PdfSignaturePage
,PdfSignaturePage.PdfSignatureImagePlacementConfiguration
,PdfSignaturePagePreferences
,PreparedPdfDocument
,PreparePdfSignaturePageInput
,SignatureResult
,SignedDocument
,SignerAssertionInformation
,SigningCertificateRequirements
,SignRequestData
,SignRequestInput
,SignResponseProcessingParameters
,TbsDocument
,TbsDocument.EtsiAdesRequirement
,VisiblePdfSignatureRequirement
,VisiblePdfSignatureUserInformation
,XMLSignatureLocation
Interface that may be inherited for domain objects that should be extensible with name-value pair parameters.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
addExtensionValue
(String name, String value) Adds an extension.Returns the extension parameters for the instance.default String
getExtensionValue
(String name) Gets an extension value.void
setExtension
(Extension extension) Assigns the extension parameters for the instance.
-
Method Details
-
getExtension
Extension getExtension()Returns the extension parameters for the instance.- Returns:
- the extension, or
null
if no extensions are set
-
setExtension
Assigns the extension parameters for the instance.- Parameters:
extension
- the extension
-
getExtensionValue
Gets an extension value.- Parameters:
name
- the extension name- Returns:
- the extension value or
null
if it does not exist
-
addExtensionValue
Adds an extension.- Parameters:
name
- extension namevalue
- extension value
-