Interface DocumentProcessor<T>
- Type Parameters:
T
- the document type
- All Known Subinterfaces:
SignedDocumentProcessor<T,
,X> TbsDocumentProcessor<T>
- All Known Implementing Classes:
AbstractSignedDocumentProcessor
,AbstractTbsDocumentProcessor
public interface DocumentProcessor<T>
Base interface for document processors.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptionGets the document decoder for document objects handled by this procesor.Gets the document encoder for document objects handled by this processor.
-
Method Details
-
getDocumentDecoder
DocumentDecoder<T> getDocumentDecoder()Gets the document decoder for document objects handled by this procesor.- Returns:
- the decoder
-
getDocumentEncoder
DocumentEncoder<T> getDocumentEncoder()Gets the document encoder for document objects handled by this processor.- Returns:
- the encoder
-