Examples of LocalID


Examples of org.eclipse.ecf.provider.local.identity.LocalID

    BaseContainerInstantiator implements
    IRemoteServiceContainerInstantiator {

  public IContainer createInstance(ContainerTypeDescription description, Object[] parameters) throws ContainerCreateException {
    try {
      LocalID localID = null;
      if (parameters != null && parameters[0] instanceof LocalID)
        localID = (LocalID) parameters[0];
      else
        localID = (LocalID) IDFactory.getDefault().createID(LocalNamespace.NAME, parameters);
      return new LocalRemoteServiceContainer(localID);
View Full Code Here

Examples of org.jboss.seam.security.external.jaxb.xrds.LocalID

            Service service = objectFactory.createService();
            service.getType().add(type);
            service.getURI().add(uri);

            LocalID localId = new LocalID();
            localId.setValue(opLocalIdentifier);
            service.getLocalID().add(localId);

            xrd.getService().add(service);

            xrds.getOtherelement().add(xrd);
View Full Code Here

Examples of org.jboss.seam.security.external.jaxb.xrds.LocalID

         Service service = objectFactory.createService();
         service.getType().add(type);
         service.getURI().add(uri);

         LocalID localId = new LocalID();
         localId.setValue(opLocalIdentifier);
         service.getLocalID().add(localId);

         xrd.getService().add(service);

         xrds.getOtherelement().add(xrd);
View Full Code Here

Examples of org.openxri.xml.LocalID

        return "CanonicalEquivID element is different from parent's";
    }


    for (int i = 0; i < xrd.getNumLocalIDs(); i++) {
      LocalID l = xrd.getLocalIDAt(i);
     
      // search for it in parent
      boolean found = false;
      for (int j = 0; j < parent.getNumLocalIDs(); j++) {
        if (verifySynonymElement(l, parent.getLocalIDAt(j))) {
          found = true;
          break;
        }
      }
     
      if (!found) {
        return "LocalID element " + l.getValue() + " is not present in parent XRD";
      }
    }
   
    for (int i = 0; i < xrd.getNumEquivIDs(); i++) {
      EquivID e = xrd.getEquivIDAt(i);
View Full Code Here

Examples of org.openxri.xml.LocalID

    for (DbSubSegment localSubSegment : localSubSegments) {

      if (localSubSegment.getName().equals(subSegment.getName())) continue;

      result.add(new LocalID(localSubSegment.getName()));
    }

    // done

    log.trace("Done.");
View Full Code Here

Examples of org.openxri.xml.LocalID

    for (DbSubSegment localSubSegment : localSubSegments) {

      if (localSubSegment.getName().equals(subSegment.getName())) continue;

      result.add(new LocalID(localSubSegment.getName()));
    }

    // done

    log.trace("Done.");
View Full Code Here

Examples of org.openxri.xml.LocalID

        return "CanonicalEquivID element is different from parent's";
    }


    for (int i = 0; i < xrd.getNumLocalIDs(); i++) {
      LocalID l = xrd.getLocalIDAt(i);
     
      // search for it in parent
      boolean found = false;
      for (int j = 0; j < parent.getNumLocalIDs(); j++) {
        if (verifySynonymElement(l, parent.getLocalIDAt(j))) {
          found = true;
          break;
        }
      }
     
      if (!found) {
        return "LocalID element " + l.getValue() + " is not present in parent XRD";
      }
    }
   
    for (int i = 0; i < xrd.getNumEquivIDs(); i++) {
      EquivID e = xrd.getEquivIDAt(i);
View Full Code Here

Examples of org.openxri.xml.LocalID

      String localSubSegmentName = localSubSegment.getName();

      if (this.excludeSelf && localSubSegmentName.equals(subSegmentName)) continue;

      xrd.addLocalID(new LocalID(localSubSegmentName));
    }

    // done

    return(xrd);
View Full Code Here

Examples of org.openxri.xml.LocalID

      String localSubSegmentName = localSubSegment.getName();

      if (this.excludeSelf && localSubSegmentName.equals(subSegmentName)) continue;

      xrd.addLocalID(new LocalID(localSubSegmentName));
    }

    // done

    return(xrd);
View Full Code Here

Examples of org.openxri.xml.LocalID

        return "CanonicalEquivID element is different from parent's";
    }


    for (int i = 0; i < xrd.getNumLocalIDs(); i++) {
      LocalID l = xrd.getLocalIDAt(i);
     
      // search for it in parent
      boolean found = false;
      for (int j = 0; j < parent.getNumLocalIDs(); j++) {
        if (verifySynonymElement(l, parent.getLocalIDAt(j))) {
          found = true;
          break;
        }
      }
     
      if (!found) {
        return "LocalID element " + l.getValue() + " is not present in parent XRD";
      }
    }
   
    for (int i = 0; i < xrd.getNumEquivIDs(); i++) {
      EquivID e = xrd.getEquivIDAt(i);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.