package org.fluxtream.connectors.twitter;
import org.apache.commons.lang.StringEscapeUtils;
import org.fluxtream.core.OutsideTimeBoundariesException;
import org.fluxtream.core.TimeInterval;
import org.fluxtream.core.connectors.vos.AbstractInstantFacetVO;
import org.fluxtream.core.domain.GuestSettings;
public class TweetFacetVO extends AbstractInstantFacetVO<TweetFacet> {
String text;
public String profileImageUrl;
public String userName;
@Override
public void fromFacet(TweetFacet facet, TimeInterval timeInterval, GuestSettings settings) throws OutsideTimeBoundariesException {
text = StringEscapeUtils.escapeHtml(facet.text);
description = StringEscapeUtils.escapeHtml(facet.text);
this.profileImageUrl = facet.profileImageUrl;
this.userName = facet.userName;
}
}