public Representation getRepresentation(RepresentationMetadata metadata)
public Representation getRepresentation(RepresentationMetadata variant)
   public Representation getRepresentation(RepresentationMetadata metadata)   {      if(metadata instanceof Representation) return (Representation)metadata;      else return null;   }