@Override public void reset() throws XNIException {
  super.reset();
  fCreateEntityRefNodes=fConfiguration.getFeature(CREATE_ENTITY_REF_NODES);
  fIncludeIgnorableWhitespace=fConfiguration.getFeature(INCLUDE_IGNORABLE_WHITESPACE);
  fDeferNodeExpansion=fConfiguration.getFeature(DEFER_NODE_EXPANSION);
  fNamespaceAware=fConfiguration.getFeature(NAMESPACES);
  fIncludeComments=fConfiguration.getFeature(INCLUDE_COMMENTS_FEATURE);
  fCreateCDATANodes=fConfiguration.getFeature(CREATE_CDATA_NODES_FEATURE);
  setDocumentClassName((String)fConfiguration.getProperty(DOCUMENT_CLASS_NAME));
  fDocument=null;
  fDocumentImpl=null;
  fStorePSVI=false;
  fDocumentType=null;
  fDocumentTypeIndex=-1;
  fDeferredDocumentImpl=null;
  fCurrentNode=null;
  fStringBuffer.setLength(0);
  fRoot=null;
  fInDTD=false;
  fInDTDExternalSubset=false;
  fInCDATASection=false;
  fFirstChunk=false;
  fCurrentCDATASection=null;
  fCurrentCDATASectionIndex=-1;
  fBaseURIStack.removeAllElements();
}

@ Override public void reset ( ) throws XNIException { super . reset ( ) ; fCreateEntityRefNodes = fConfiguration . getFeature ( CREATE_ENTITY_REF_NODES ) ; fIncludeIgnorableWhitespace = fConfiguration . getFeature ( INCLUDE_IGNORABLE_WHITESPACE ) ; fDeferNodeExpansion = fConfiguration . getFeature ( DEFER_NODE_EXPANSION ) ; fNamespaceAware = fConfiguration . getFeature ( NAMESPACES ) ; fIncludeComments = fConfiguration . getFeature ( INCLUDE_COMMENTS_FEATURE ) ; fCreateCDATANodes = fConfiguration . getFeature ( CREATE_CDATA_NODES_FEATURE ) ; setDocumentClassName ( ( String ) fConfiguration . getProperty ( DOCUMENT_CLASS_NAME ) ) ; fDocument = null ; fDocumentImpl = null ; fStorePSVI = false ; fDocumentType = null ; fDocumentTypeIndex = - 1 ; fDeferredDocumentImpl = null ; fCurrentNode = null ; fStringBuffer . setLength ( 0 ) ; fRoot = null ; fInDTD = false ; fInDTDExternalSubset = false ; fInCDATASection = false ; fFirstChunk = false ; fCurrentCDATASection = null ; fCurrentCDATASectionIndex = - 1 ; fBaseURIStack . removeAllElements ( ) ; }
resets the parser state .
