An implementation of Schema for W3C XML Schemas that keeps a weak reference to its grammar pool. If no validators currently have a reference to the grammar pool, the garbage collector is free to reclaim its memory.
| Modifier and Type | Field and Description |
|---|---|
| private WeakReference | fGrammarPool
Weak reference to grammar pool. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public synchronized XMLGrammarPool | getGrammarPool()
Implements com. Returns the grammar pool contained inside the container. |
| public boolean | isFullyComposed()
Implements com. Returns whether the schema components contained in this object can be considered to be a fully composed schema and should be used to the exclusion of other schema components which may be present elsewhere. |
| fGrammarPool | back to summary |
|---|---|
| private WeakReference<XMLGrammarPool> fGrammarPool Weak reference to grammar pool. | |
| WeakReferenceXMLSchema | back to summary |
|---|---|
| public WeakReferenceXMLSchema() | |
| getGrammarPool | back to summary |
|---|---|
| public synchronized XMLGrammarPool getGrammarPool() Implements com. Doc from com. Returns the grammar pool contained inside the container. | |
| isFullyComposed | back to summary |
|---|---|
| public boolean isFullyComposed() Implements com. Doc from com. Returns whether the schema components contained in this object can be considered to be a fully composed schema and should be used to the exclusion of other schema components which may be present elsewhere. | |