Package com.google.feedserver.metadata

Examples of com.google.feedserver.metadata.SimpleFeedInfo


  public FeedInfo getFeedInfoFromConfig(RequestContext request) {
    return getFeedInfoFromMap((Map<String, Object>) getConfiguration().getTypeMetadataConfig());
  }

  public FeedInfo getFeedInfoFromMap(Map<String, Object> typeMetadataConfig) {
    return new SimpleFeedInfo(typeMetadataConfig);
  }
View Full Code Here


    return userInfo == null ? null : userInfo.getEmail();
  }

  public FeedInfo getFeedInfoFromXml(String feedInfoXml) throws FeedServerAdapterException {
    try {
      return new SimpleFeedInfo(feedInfoXml);
    } catch (SAXException e) {
      throw new FeedServerAdapterException(FeedServerAdapterException.Reason.BAD_FEED_TYPE_CONFIG,
          e.getMessage());
    } catch (IOException e) {
      throw new FeedServerAdapterException(FeedServerAdapterException.Reason.BAD_FEED_TYPE_CONFIG,
View Full Code Here

TOP

Related Classes of com.google.feedserver.metadata.SimpleFeedInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.