Examples of addDelimited()


Examples of com.esri.gpt.framework.collection.StringSet.addDelimited()

 
  // tokenize the addresses, try to ensure that valid values have been set
  StringSet ssFrom = new StringSet();
  StringSet ssTo = new StringSet();
  ssFrom.addDelimited(outgoingFromAddress);
  ssTo.addDelimited(incomingToAddress);
  if ((ssFrom.size() > 0) && (ssTo.size() > 0)) {
    setOutgoingFromAddress(ssFrom.iterator().next());
    setIncomingToAddress(incomingToAddress);
  } else if (ssFrom.size() > 0) {
    setOutgoingFromAddress(ssFrom.iterator().next());
View Full Code Here

Examples of com.esri.gpt.framework.collection.StringSet.addDelimited()

                qAliases = dc.getAliases();
               
              // other elements
              } else {
                qAliases.add(qName);
                qAliases.addDelimited(xpath.evaluate("@aliases",ndChild));
              }
             
              // append to the all aliased discoverables collection
              IStoreable storeable = storeables.connect(meaning);
              if (storeable != null) {
View Full Code Here

Examples of com.esri.gpt.framework.collection.StringSet.addDelimited()

          LOGGER.warning("property-meanings.xml/property-alias@meaning-name="+name+" is invalid.");
        } else {
          Discoverable discoverable = this.getAllAliased().get(name);
          if (discoverable != null) {
            StringSet aliases = new StringSet();
            aliases.addDelimited(value);
            for (String alias: aliases) {
              this.getAllAliased().put(alias,discoverable);
            }
          }
        }
View Full Code Here

Examples of com.esri.gpt.framework.collection.StringSet.addDelimited()

   if (parent != null) {
     Node ndDc = (Node)xpath.evaluate("dc",parent,XPathConstants.NODE);
     if (ndDc != null) {
       NodeList nlNames = (NodeList)xpath.evaluate("meaning-names",ndDc,XPathConstants.NODESET);
       for (int i=0;i<nlNames.getLength();i++) {
         names.addDelimited(nlNames.item(i).getTextContent());
       }
     }
     for (String name: names) {
       Discoverable discoverable = aliased.get(name);
       if ((discoverable != null) && (discoverable.getMeaning().getDcElement() != null)) {
View Full Code Here

Examples of com.esri.gpt.framework.security.principal.RoleSet.addDelimited()

    } else if (!bAnonymous) {
      if (sRole.equalsIgnoreCase("openid")) {
        return Val.chkStr(_activeUser.getKey()).startsWith("urn:openid:");
      } else {
        RoleSet rs = new RoleSet();
        rs.addDelimited(sRole);
        return new Boolean(authRoles.hasRole(rs));
      }
    }
  }
  return Boolean.FALSE;
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.