Package xregistry.generated

Examples of xregistry.generated.HostDescData


        }

        List<DocData> results = new ArrayList<DocData>();
        for(int i = 0;i<hostDescData.length;i++){
          try {
            HostDescData host = hostDescData[i];
            DocData data = new DocData(new QName(host.getResourceID()),host.getOwner());
            data.allowedAction = host.getAllowedAction();
            data.resourceID = new QName(host.getResourceID());
            results.add(data);
          } catch (XmlValueOutOfRangeException e) {
        log.severe("Problem with retrieving object : " + e.getLocalizedMessage(), e);
      }  
        }
View Full Code Here


        FindHostsResponseDocument app2HostResDoc = FindHostsResponseDocument.Factory.newInstance();
        FindHostsResponse hostsRes = app2HostResDoc.addNewFindHostsResponse();
        if (hostList != null) {
            for (DocData hostdata : hostList) {
                HostDescData result = hostsRes.addNewResults();
                copyResourceData(hostdata, result);
            }
        }
        log.info("Response  Sent  " + app2HostResDoc.xmlText());
        return app2HostResDoc;
View Full Code Here

      }

      List<DocData> results = new ArrayList<DocData>();
      for (int i = 0; i < hostDescData.length; i++) {
        try {
          HostDescData host = hostDescData[i];
          DocData data = new DocData(new QName(host.getResourceID()), host.getOwner());
          data.allowedAction = host.getAllowedAction();
          data.resourceID = new QName(host.getResourceID());
          results.add(data);
        } catch (XmlValueOutOfRangeException e) {
          throw new GfacException("Problem with retrieving object : " + e.getLocalizedMessage(), FaultCode.ErrorAtDependentService);
        }
      }
View Full Code Here

TOP

Related Classes of xregistry.generated.HostDescData

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.