com.sun.org.apache.xerces.internal.util.SymbolTable

Here are the examples of the java api class com.sun.org.apache.xerces.internal.util.SymbolTable taken from open source projects.

1. CachingParserPool#createDOMParser()

Project: openjdk
Source File: CachingParserPool.java
View license
// setShadowSymbolTable(boolean)
// factory methods
/** Creates a new DOM parser. */
public DOMParser createDOMParser() {
    SymbolTable symbolTable = fShadowSymbolTable ? new ShadowedSymbolTable(fSynchronizedSymbolTable) : fSynchronizedSymbolTable;
    XMLGrammarPool grammarPool = fShadowGrammarPool ? new ShadowedGrammarPool(fSynchronizedGrammarPool) : fSynchronizedGrammarPool;
    return new DOMParser(symbolTable, grammarPool);
}

2. CachingParserPool#createSAXParser()

Project: openjdk
Source File: CachingParserPool.java
View license
// createDOMParser():DOMParser
/** Creates a new SAX parser. */
public SAXParser createSAXParser() {
    SymbolTable symbolTable = fShadowSymbolTable ? new ShadowedSymbolTable(fSynchronizedSymbolTable) : fSynchronizedSymbolTable;
    XMLGrammarPool grammarPool = fShadowGrammarPool ? new ShadowedGrammarPool(fSynchronizedGrammarPool) : fSynchronizedGrammarPool;
    return new SAXParser(symbolTable, grammarPool);
}