Examples of resetState()


Examples of com.ctc.wstx.api.ReaderConfig.resetState()

        }

        /* Note: since we are reusing the same config instance, need to
         * make sure state is not carried forward. Thus:
         */
        cfg.resetState();

        try {
            String inputEnc = input.getEncoding();
            String publicId = input.getPublicId();

View Full Code Here

Examples of com.ctc.wstx.api.ReaderConfig.resetState()

                bs = StreamBootstrapper.getInstance(is, publicId, systemId);
            }
            /* Note: since we are reusing the same config instance, need to
             * make sure state is not carried forward. Thus:
             */
            cfg.resetState();
            // false -> not for event reader; false -> no auto-closing
            mScanner = (BasicStreamReader) mStaxFactory.createSR(cfg, systemId, bs, false, false);

            // Need to get xml declaration stuff out now:
            {
View Full Code Here

Examples of com.google.enterprise.connector.sharepoint.state.ListState.resetState()

         * case to start a full crawl.
         */
        if (lastDoc != null) {
          if (FeedType.CONTENT_FEED == sharepointClientContext.getFeedType()
              && ActionType.DELETE.equals(lastDoc.getAction())) {
            listState.resetState();
            if (FeedType.CONTENT_FEED == sharepointClientContext.getFeedType()) {
              // In case of content feed, we need to keep track of
              // folders and the items under that. This is
              // required for sending delete feeds for the
              // documents when their parent folder is deleted.
View Full Code Here

Examples of com.microworkflow.execution.AndJoinContinuation.resetState()

public class AndJoin extends JoinActivity {

  public Continuation continuationWith(Continuation continuation) {
    AndJoinContinuation k = continuation.makeAndJoinContinuation(this);
    k.setNumberOfInputs(numberOfBranches);
    k.resetState();
    return k;
  }
 
  public void computeStateFor(Continuation k) {
    ((AndJoinContinuation)k).setBody(body.continuationWith(k.getNextContinuation()));
View Full Code Here

Examples of com.microworkflow.execution.ConditionalContinuation.resetState()

  }
 
  public Continuation continuationWith(Continuation continuation) {
    ConditionalContinuation k = continuation.makeConditionalContinuation(this);
    k.setTestCondition(test);
    k.resetState();
    return k;
  }
 
  public void setElseBranch(Activity elseBranch) {
    this.elseBranch = elseBranch;
View Full Code Here

Examples of com.microworkflow.execution.ForkContinuation.resetState()

    ForkContinuation k = continuation.makeForkContinuation(this);
    if (join!=null) {
      join.setNumberOfBranches(components.size());
      theJoin = join;
    }
    k.resetState();
    return k;
  }

  public void setJoin(JoinActivity join) {
    this.join = join;
View Full Code Here

Examples of com.microworkflow.execution.IterativeContinuation.resetState()

  public Continuation continuationWith(Continuation continuation) {
    IterativeContinuation k=continuation.makeIterativeContinuation(this);
    k.setTargetKey(targetKey);
    k.setPerformer(performer);
    k.setIterationTargetKey(iterationTargetKey);
    k.resetState();
    return k;
  }

  public void computeStateFor(Continuation k) {
    ((IterativeContinuation)k).setBody(body.continuationWith(k));   
View Full Code Here

Examples of com.microworkflow.execution.OrJoinContinuation.resetState()

public class OrJoin extends JoinActivity {

  public Continuation continuationWith(Continuation continuation) {
    OrJoinContinuation k = continuation.makeOrJoinContinuation(this);
    k.setNumberOfInputs(numberOfBranches);
    k.resetState();
    return k;
  }
 
  public void computeStateFor(Continuation k) {
    ((OrJoinContinuation)k).setBody(body.continuationWith(k.getNextContinuation()));
View Full Code Here

Examples of com.microworkflow.execution.SequenceContinuation.resetState()

    return this;
  }

  public Continuation continuationWith(Continuation continuation) {
    SequenceContinuation k = continuation.makeSequenceContinuation(this);
    k.resetState();
    return k;
  }
 
  public void computeStateFor(Continuation k) {
    ((SequenceContinuation)k).setContinuations(getContinuationsForComponentsWith(k));
View Full Code Here

Examples of com.microworkflow.execution.WhileContinuation.resetState()

  protected TestCondition test;

  public Continuation continuationWith(Continuation continuation) {
    WhileContinuation k = continuation.makeRepetitionContinuation(this);
    k.setTestCondition(test);
    k.resetState();
    return k;
  }
  public void setBody(Activity body) {
    this.body = body;
  }
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.