/** clear the grammar pool */ public void clear() { synchronized (fGrammarPool) { fGrammarPool.clear(); } } // lockPool()
public void clear() { fGrammarPool.clear(); }
public void clearGrammarPool() { fGrammarPool.clear(); } // clearGrammarPool()
/** * Remove two grammar pools for this WSDL validation context. * * @see org.eclipse.wst.xml.core.internal.validation.core.AbstractNestedValidator#teardownValidation(org.eclipse.wst.xml.core.internal.validation.core.NestedValidatorContext) */ protected void teardownValidation(NestedValidatorContext context) { XMLGrammarPool xsdGrammarPool = (XMLGrammarPool)xsdGrammarPools.remove(context); if(xsdGrammarPool != null) xsdGrammarPool.clear(); XMLGrammarPool xmlGrammarPool = (XMLGrammarPool)xmlGrammarPools.remove(context); if(xmlGrammarPool != null) xmlGrammarPool.clear(); super.teardownValidation(context); }