if (semanticsProvider != null) {
// install the EncodeableFacet if we've been given an EncoderDecoder
final EncoderDecoder<?> encoderDecoder = semanticsProvider.getEncoderDecoder();
if (encoderDecoder != null) {
facetHolder.addFacet(new EncodableFacetUsingEncoderDecoder(encoderDecoder, holder, getAdapterMap(),
getDependencyInjector()));
}
// install the ParseableFacet and other facets if we've been given a Parser
final Parser<?> parser = semanticsProvider.getParser();