Package org.eclipse.ecf.core.identity

Examples of org.eclipse.ecf.core.identity.StringID$StringIDNamespace


      return new DnsSdServiceTypeID(this, serviceTypeID);
    } else if (parameters != null && parameters.length == 1 && parameters[0] instanceof IServiceID) {
      IServiceID serviceID = (IServiceID) parameters[0];
      return new DnsSdServiceTypeID(this, serviceID.getServiceTypeID());
    } else if (parameters != null && parameters.length == 1 && parameters[0] instanceof StringID) {
      StringID stringID = (StringID) parameters[0];
      return new DnsSdServiceTypeID(this, stringID.getName());
    } else if (parameters != null && parameters.length == 2 && parameters[0] instanceof IServiceTypeID && parameters[1] instanceof URI) {
      IServiceTypeID serviceTypeID = (IServiceTypeID) parameters[0];
      URI uri = (URI) parameters[1];
      return new DnsSdServiceID(this, new DnsSdServiceTypeID(this, serviceTypeID), uri);
    } else {
View Full Code Here

TOP

Related Classes of org.eclipse.ecf.core.identity.StringID$StringIDNamespace

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.