DelegatingResourceDescription resDesc = handler.getRepresentationDescription(new DefaultRepresentation());
DelegatingResourceDescription repDescription = handler.getRepresentationDescription(representation); if (repDescription != null) { SimpleObject simple = convertDelegateToRepresentation(delegate, repDescription);