Top Description Fields Constructors Methods
org.apache.xerces.impl.xs.util

public Class XSGrammarPool

extends XMLGrammarPoolImpl
Class Inheritance
Known Direct Subclasses
org.apache.xerces.impl.xs.XSLoaderImpl.XSGrammarMerger
Imports
java.util.ArrayList, org.apache.xerces.impl.Constants, org.apache.xerces.impl.xs.SchemaGrammar, .XSModelImpl, org.apache.xerces.util.XMLGrammarPoolImpl, org.apache.xerces.xni.grammars.XMLGrammarDescription, org.apache.xerces.xs.XSModel

Add a method that return an XSModel that represents components in the schema grammars in this pool implementation.
Version
$Id: XSGrammarPool.java 770963 2009-05-02 15:27:54Z mrglavas $

Field Summary

Inherited from org.apache.xerces.util.XMLGrammarPoolImpl:
fGrammarCountfGrammarsfPoolIsLockedTABLE_SIZE

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public XSModel

Returns:

an XSModel representing this schema grammar
toXSModel
()

Return an XSModel that represents components in the schema grammars in this pool implementation.

public XSModel
toXSModel(short schemaVersion)

protected XSModel
toXSModel(SchemaGrammar[] grammars, short schemaVersion)

Inherited from org.apache.xerces.util.XMLGrammarPoolImpl:
cacheGrammarsclearcontainsGrammarequalsgetGrammarhashCodelockPoolputGrammarremoveGrammarretrieveGrammarretrieveInitialGrammarSetunlockPool

Constructor Detail

XSGrammarPoolback to summary
public XSGrammarPool()

Method Detail

toXSModelback to summary
public XSModel toXSModel()

Return an XSModel that represents components in the schema grammars in this pool implementation.

Returns:XSModel

an XSModel representing this schema grammar

toXSModelback to summary
public XSModel toXSModel(short schemaVersion)
toXSModelback to summary
protected XSModel toXSModel(SchemaGrammar[] grammars, short schemaVersion)