public static OnlineResourceProtocolType fromValue(String protocol) {
    for (OnlineResourceProtocolType p : OnlineResourceProtocolType.values()) {
      if (p.protocol.equalsIgnoreCase(protocol)) {
        return p;
      }
    }

    return null;
  }
 /**
  * @see
  *     OnlineResourceProtocolType#isForLink(org.geosdi.geoplatform.gui.responce.OnlineResourceProtocolType)
  * @param protocol
  * @return {@link Boolean}
  */
 public static Boolean isForLink(String protocol) {
   return OnlineResourceProtocolType.isForLink(fromValue(protocol));
 }
 /**
  * @see
  *     OnlineResourceProtocolType#isForGetCapabilities(org.geosdi.geoplatform.gui.responce.OnlineResourceProtocolType)
  * @param protocol
  * @return {@link Boolean}
  */
 public static Boolean isForGetCapabilities(String protocol) {
   return OnlineResourceProtocolType.isForGetCapabilities(fromValue(protocol));
 }
 /**
  * @see
  *     OnlineResourceProtocolType#isForWMSGetMapRequest(org.geosdi.geoplatform.gui.responce.OnlineResourceProtocolType)
  * @param protocol
  * @return {@link Boolean}
  */
 public static Boolean isForWMSGetMapRequest(String protocol) {
   return OnlineResourceProtocolType.isForWMSGetMapRequest(fromValue(protocol));
 }