Examples of keys()


Examples of org.eclipse.webdav.IContext.keys()

            if (defaultContext == null) {
                defaultContext = getDefaultContext();
            }

            if (defaultContext != null) {
                Enumeration e = defaultContext.keys();
                while (e.hasMoreElements()) {
                    String key = (String) e.nextElement();
                    context.put(key, defaultContext.get(key));
                }
            }
View Full Code Here

Examples of org.exolab.castor.builder.SGStateInfo.keys()

        /*
         * Get all elements (=keys) the ClassInfoResolver knows of. For these
         * keys the SourceGenerator created ClassInfos in which we are
         * interested.
         */
        Enumeration enumeration = sgState.keys();

        assertTrue(enumeration.hasMoreElements());

        List cInfos = new ArrayList();
        /*
 
View Full Code Here

Examples of org.exolab.castor.mapping.MapHandler.keys()

                if (_saveMapKeys) {
                    MapHandler mapHandler = MapHandlers.getHandler(type);
                    if (mapHandler != null) {
                        processCollection = false;
                        MapItem item = new MapItem();
                        Enumeration keys = mapHandler.keys(obj);
                        while (keys.hasMoreElements()) {
                            item.setKey(keys.nextElement());
                            item.setValue(mapHandler.get(obj, item.getKey()));
                            marshal(item, elemDescriptor, handler, myState);
                        }
View Full Code Here

Examples of org.flexdock.plaf.PropertySet.keys()

    private static IconMap loadIconMap(String iconMapName) {
        PropertySet iconMapProperties = Configurator.getProperties(iconMapName, ICON_MAP_KEY);
        IconMap iconMap = new IconMap();

        ArrayList notCached = new ArrayList();
        for(Iterator it=iconMapProperties.keys(); it.hasNext();) {
            String fakeName = (String)it.next();
            String realName = iconMapProperties.getString(fakeName);

            // load all the cached icon resources
            IconResource iconResource = getCachedResource(realName);
View Full Code Here

Examples of org.hornetq.utils.json.JSONObject.keys()

         {
            JSONObject msgJson = msgs.getJSONObject(i);
            JSONObject props = msgJson.getJSONObject(TransactionDetail.KEY_MSG_PROPERTIES);
            StringBuilder propstr = new StringBuilder();
            @SuppressWarnings("unchecked")
            Iterator<String> propkeys = props.keys();
            while (propkeys.hasNext())
            {
               String key = propkeys.next();
               propstr.append(key);
               propstr.append("=");
View Full Code Here

Examples of org.jasig.portal.ChannelRuntimeData.keys()

                      GroupService.EVERYONE,true,true,
                      (IGroupMember[])gmembers.toArray(new IGroupMember[0]));
                  }
              }
              ChannelRuntimeData servantRD = (ChannelRuntimeData)session.runtimeData.clone();
              Enumeration srd = servantRD.keys();
              // clear out runtimeData in case of chained Group servant creation
              while (srd.hasMoreElements()) {
                  servantRD.remove(srd.nextElement());
              }
              ((IChannel)session.servant).setRuntimeData(servantRD);
View Full Code Here

Examples of org.jasig.portal.ChannelStaticData.keys()

            targets = owner.getTargetTokens();
        }
        if (staticData != null) {
            try {
                ChannelStaticData slaveSD = (ChannelStaticData)staticData.clone();
                Enumeration srd = slaveSD.keys();
                while (srd.hasMoreElements()) {
                    slaveSD.remove(srd.nextElement());
                }
                HashMap tHash = new HashMap(1);
                tHash.put(owner.getOwnerToken(), targets);
View Full Code Here

Examples of org.jboss.dmr.ModelNode.keys()

            writeWorkerThreadPoolIfAttributesSet(writer, model);

            if (model.hasDefined(CONNECTOR)) {
                final ModelNode connector = model.get(CONNECTOR);
                for (String name : connector.keys()) {
                    writeConnector(writer, connector.require(name), name);
                }
            }

            writer.writeEndElement();
View Full Code Here

Examples of org.jboss.dmr.client.ModelNode.keys()

            public void onSuccess(DMRResponse result) {
                ModelNode response = result.get();
                ModelNode model = response.get(RESULT);

                List<PropertyRecord> properties = new ArrayList<PropertyRecord>();
                for (String key : model.keys()) {
                    PropertyRecord property = factory.property().as();
                    property.setKey(key);
                    property.setValue(model.get(key).get("value").asString());
                    properties.add(property);
                }
View Full Code Here

Examples of org.jbpm.pvm.VariableScope.keys()

  public Set<String> getVariableKeys() {
    Set<String> variableKeys = new HashSet<String>();
    VariableScopeIterator iter = new VariableScopeIterator(this);
    while (iter.hasNext()) {
      VariableScope variableScope = iter.next();
      Set<String> keys = variableScope.keys();
      if (keys!=null) {
        variableKeys.addAll(keys);
      }
    }
    return variableKeys;
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.