Examples of reset()


Examples of org.apache.wicket.request.http.WebResponse.reset()

        // This is a special case.
        // During page render another request handler got scheduled and will want to
        // overwrite the response, so we need to let it.
        // Just preserve the meta data headers. Clear the initial actions because they are
        // already copied into the new response's actions
        originalResponse.reset();
        response.writeMetaData(originalResponse);
        return null;
      }
      else
      {
View Full Code Here

Examples of org.apache.xalan.xslt.XSLTProcessor.reset()

            if (debug) writeLog(axe);
            displayException(response, axe, debug);
          }
          finally
          {
            xslprocessor.reset();
          } // end of try ... catch ... finally
        } // end of blank block
    }
      catch (org.xml.sax.SAXException saxExc)
      {
View Full Code Here

Examples of org.apache.xalan.xsltc.NodeIterator.reset()

  else if (obj instanceof String) {
      return stringToReal((String) obj);
  }
  else if (obj instanceof NodeIterator) {
      NodeIterator iter = (NodeIterator) obj;
      return stringToReal(dom.getNodeValue(iter.reset().next()));
  }
  else if (obj instanceof Node) {
      return stringToReal(dom.getNodeValue(((Node) obj).node));
  }
  else if (obj instanceof DOM) {
View Full Code Here

Examples of org.apache.xerces.parsers.DOMParser.reset()

                if (this.canResetParsers) {
                    try {
                        /*
                         * Reset the parser so that it can be used again.
                         */
                        domParser.reset();
                    } catch (final UnsupportedOperationException ignored) {
                        if (this.logger.isWarnEnabled()) {
                            this.logger.warn(
                                    "[THYMELEAF] The HTML Parser implementation being used (\"{}\") does not implement " +
                                        "the \"reset\" operation. This will force Thymeleaf to re-create parser instances " +
View Full Code Here

Examples of org.apache.xerces.parsers.SAXParser.reset()

                if (newConfig || parser == null) {
                    parser = new SAXParser(config);
                    fParser = new SoftReference(parser);
                }
                else {
                    parser.reset();
                }
                config.setDocumentHandler(fSchemaValidator);
                fSchemaValidator.setDocumentHandler(parser);
                parser.setContentHandler(ser.asContentHandler());
            }
View Full Code Here

Examples of org.apache.xerces.xni.parser.XMLComponent.reset()

            fValidationManager.reset();

        int count = fComponents.size();
        for (int i = 0; i < count; i++) {
            XMLComponent c = (XMLComponent) fComponents.elementAt(i);
            c.reset(this);
        }

    } // reset()

    /**
 
View Full Code Here

Examples of org.apache.xml.dtm.DTMAxisIterator.reset()

  else if (obj instanceof String) {
      return stringToReal((String) obj);
  }
  else if (obj instanceof DTMAxisIterator) {
      DTMAxisIterator iter = (DTMAxisIterator) obj;
      return stringToReal(dom.getStringValueX(iter.reset().next()));
  }
  else if (obj instanceof Node) {
      return stringToReal(dom.getStringValueX(((Node) obj).node));
  }
  else if (obj instanceof DOM) {
View Full Code Here

Examples of org.apache.xml.dtm.DTMIterator.reset()

            }
          }
        }
      }
      list1.reset();
      list2.reset();
    }
    else if (XObject.CLASS_BOOLEAN == type)
    {

      // From http://www.w3.org/TR/xpath:
View Full Code Here

Examples of org.apache.xml.security.algorithms.MessageDigestAlgorithm.reset()

        throws ReferenceNotInitializedException, XMLSignatureException {
        OutputStream os = null;
        try {
            MessageDigestAlgorithm mda = this.getMessageDigestAlgorithm();

            mda.reset();
            DigesterOutputStream diOs = new DigesterOutputStream(mda);
            os = new UnsyncBufferedOutputStream(diOs);
            XMLSignatureInput output = this.dereferenceURIandPerformTransforms(os);        
            // if signing and c14n11 property == true explicitly add
            // C14N11 transform if needed
View Full Code Here

Examples of org.apache.xml.security.stax.ext.InputProcessorChain.reset()

        boolean responsibleSecurityHeaderFound = false;
        boolean timestampFound = false;

        XMLSecEvent xmlSecEvent;
        do {
            subInputProcessorChain.reset();
            xmlSecEvent = subInputProcessorChain.processHeaderEvent();
            eventCount++;

            switch (xmlSecEvent.getEventType()) {
                case XMLStreamConstants.START_ELEMENT:
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.