예제 #1
0
  /**
   * Resets the parser state.
   *
   * @throws SAXException Thrown on initialization error.
   */
  public void reset() {
    super.reset();

    // get state of namespace-declarations parameter.
    fNamespaceDeclarations = fConfiguration.getFeature(Constants.DOM_NAMESPACE_DECLARATIONS);

    // DOM Filter
    if (fSkippedElemStack != null) {
      fSkippedElemStack.removeAllElements();
    }

    fRejectedElementDepth = 0;
    fFilterReject = false;
    fSchemaType = null;
  } // reset()