Package org.olat.modules.webFeed.managers

Examples of org.olat.modules.webFeed.managers.ValidatedURL


      validUrl = true;
    } else {
      //validated feed url
      String url = feedUrl.getValue();
      String type = feed.getResourceableTypeName();
      ValidatedURL validatedUrl = FeedManager.getInstance().validateFeedUrl(url, type);
      if(!validatedUrl.getUrl().equals(url)) {
        feedUrl.setValue(validatedUrl.getUrl());
      }
      switch(validatedUrl.getState()) {
        case VALID:
          feedUrl.clearError();
          validUrl = true;
          break;
        case NO_ENCLOSURE:
View Full Code Here

TOP

Related Classes of org.olat.modules.webFeed.managers.ValidatedURL

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.