Examples of reset()


Examples of org.xmldb.xupdate.lexus.commands.CommandObject.reset()

               _commands.setContextNode(contextNode);
               currentCommand = _commands.commandForID(id);
               if (currentCommand == null) {
                  throw new Exception("operation can not have any XUpdate-instruction !");
               }
               currentCommand.reset();
            }
         }
         else {
            if ( ! currentCommand.executeInstruction() ) {
               try {
View Full Code Here

Examples of org.xmldb.xupdate.lexus.commands.DefaultCommand.reset()

               _commands.setContextNode(contextNode);
               currentCommand = _commands.commandForID(id);
               if (currentCommand == null) {
                  throw new Exception("operation can not have any XUpdate-instruction !");
               }
               currentCommand.reset();
            }
         }
         else {
            if ( ! currentCommand.executeInstruction() ) {
               try {
View Full Code Here

Examples of org.xtreemfs.babudb.sandbox.RandomGenerator.reset()

    for (int i=0;i<NO_TESTS_PER_CASE;i++){
      LSN testLSN = new LSN(random.nextInt(RandomGenerator.MAX_VIEWID-1)+1,random.nextInt((int) (RandomGenerator.MAX_SEQUENCENO-1L))+1L);
      assertEquals(testGen1.getInsertGroup(testLSN).lookUpCompareable(),testGen2.getLookupGroup(testLSN).toString());
      assertEquals(testGen2.getInsertGroup(testLSN).lookUpCompareable(),testGen1.getLookupGroup(testLSN).toString());
      testGen1.reset();
      testGen2.reset();
    }
  }
}
View Full Code Here

Examples of org.zanata.seam.SeamAutowire.reset()

        ValidatorFactory validatorFactory =
                Validation.buildDefaultValidatorFactory();

        SeamAutowire seam = SeamAutowire.instance();
        restUtils =
                seam.reset().use("validatorFactory", validatorFactory)
                        .use("validator", validatorFactory.getValidator())
                        .autowire(RestUtils.class);
    }

    @DataProvider(name = "ResourceTestData")
View Full Code Here

Examples of prefuse.action.layout.graph.ForceDirectedLayout.reset()

        // this will cause docs to move out of the way when dragging
        final ForceDirectedLayout fl = new DataMountainForceLayout(false);
        ActivityListener fReset = new ActivityAdapter() {
            public void activityCancelled(Activity a) {
                fl.reset();
             }
        };
        ActionList forces = new ActionList(Activity.INFINITY);
        forces.add(fl);
        forces.add(update);
View Full Code Here

Examples of pt.ist.fenixWebFramework.servlets.filters.contentRewrite.ResponseWrapper.reset()

                // associate the summary file to the candidacy
                associateSummaryFile(pdfByteArray, person.getStudent().getNumber().toString(), candidacy);

                // redirect user to the candidacy summary page
                response.reset();
                response.sendRedirect(buildRedirectURL(request, candidacy));

                response.flushBuffer();
            } catch (ParserConfigurationException e) {
                logger.error(e.getMessage(), e);
View Full Code Here

Examples of ptolemy.moml.MoMLParser.reset()

                //URL modelURL = new File(modelName).toURL();
                try {
                    URL modelURL = FileUtilities.nameToURL(modelName, null,
                            null);
                    System.out.println("Parsing: " + modelURL);
                    parser.reset();
                    parser.parse(null, modelURL);
                } catch (Exception ex) {
                    System.err.println("Warning, failed to parse " + modelName);
                    ex.printStackTrace();
                }
View Full Code Here

Examples of railo.commons.lang.StringList.reset()

      StringList sl = VariableInterpreter.parse(str,false);
      if(sl!=null){
        // scope
        str=sl.next();
        int scope = VariableInterpreter.scopeString2Int(str);
        if(scope==Scope.SCOPE_UNDEFINED)sl.reset();
       
        // keys
        String[] arr=sl.toArray();
        ArrayUtil.trim(arr);
       
View Full Code Here

Examples of railo.runtime.rest.Mapping.reset()

      if(mapping.getVirtualWithSlash().equals(virtual)){
        // directory has changed
        if(!RestUtil.isMatch(pc, mapping, dir) || (defaultMapping!=null && mapping.isDefault()!=defaultMapping.booleanValue())) {
          update(pc,dir,virtual,RestDeleteApplication.getPassword(pc,webAdminPassword),defaultMapping==null?mapping.isDefault():defaultMapping.booleanValue());
        }
        mapping.reset(pc);
        hasResetted=true;
      }
    }
    if(!hasResetted) {
      update(pc,dir,virtual,RestDeleteApplication.getPassword(pc,webAdminPassword),defaultMapping==null?false:defaultMapping.booleanValue());
View Full Code Here

Examples of remote.motecontrol.client.SimpleMoteManager.reset()

            } else if (cmd.equals("start")) {
              moteManager.start(motes);
            } else if (cmd.equals("stop")) {
              moteManager.stop(motes);
            } else if (cmd.equals("reset")) {
              moteManager.reset(motes);
            }
          }

        };
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.