Esempio n. 1
0
 // private methods
 private void init() {
   fEntityScanner = null;
   // initialize vars
   fEntityDepth = 0;
   fReportEntity = true;
   fResourceIdentifier.clear();
 }
 /** resets all the fields */
 public void reset() {
   super.clear();
   fContextType = CONTEXT_INITIALIZE;
   fLocationHints = null;
   fTriggeringComponent = null;
   fEnclosedElementName = null;
   fAttributes = null;
 }
Esempio n. 3
0
  // private methods
  private void init() {
    // initialize scanner
    fEntityScanner = null;
    // initialize vars
    fEntityDepth = 0;
    fReportEntity = true;
    fResourceIdentifier.clear();

    if (!fAttributeCacheInitDone) {
      for (int i = 0; i < initialCacheCount; i++) {
        attributeValueCache.add(new XMLString());
        stringBufferCache.add(new XMLStringBuffer());
      }
      fAttributeCacheInitDone = true;
    }
    fStringBufferIndex = 0;
    fAttributeCacheUsedCount = 0;
  }
 /** Clears the values. */
 public void clear() {
   super.clear();
   fEntityName = null;
 } // clear()