func (h *ProtocolVersion) DocumentComposer() protocol.DocumentComposer {
	return h.DocComposer
}
DocumentComposer returns the document composer.
package common
import (
	"github.com/trustbloc/sidetree-core-go/pkg/api/protocol"
)
type ProtocolVersion struct {
	VersionStr     string
	P              protocol.Protocol
	TxnProcessor   protocol.TxnProcessor
	OpParser       protocol.OperationParser
	OpApplier      protocol.OperationApplier
	DocComposer    protocol.DocumentComposer
	OpHandler      protocol.OperationHandler
	OpProvider     protocol.OperationProvider
	DocValidator   protocol.DocumentValidator
	DocTransformer protocol.DocumentTransformer
}
func (h *ProtocolVersion) Version() string {
	return h.VersionStr
}
func (h *ProtocolVersion) Protocol() protocol.Protocol {
	return h.P
}
func (h *ProtocolVersion) TransactionProcessor() protocol.TxnProcessor {
	return h.TxnProcessor
}
func (h *ProtocolVersion) OperationParser() protocol.OperationParser {
	return h.OpParser
}
func (h *ProtocolVersion) OperationApplier() protocol.OperationApplier {
	return h.OpApplier
}