|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.xerces.impl.xs.XSGrammarBucket
public class XSGrammarBucket
A class used to hold the internal schema grammar set for the current instance
| Constructor Summary | |
|---|---|
XSGrammarBucket()
|
|
| Method Summary | |
|---|---|
SchemaGrammar |
getGrammar(java.lang.String namespace)
Get the schema grammar for the specified namespace |
SchemaGrammar[] |
getGrammars()
get all grammars in the registry |
void |
putGrammar(SchemaGrammar grammar)
Put a schema grammar into the registry This method is for internal use only: it assumes that a grammar with the same target namespace is not already in the bucket. |
boolean |
putGrammar(SchemaGrammar grammar,
boolean deep)
put a schema grammar and any grammars imported by it (directly or inderectly) into the registry. |
boolean |
putGrammar(SchemaGrammar grammar,
boolean deep,
boolean ignoreConflict)
put a schema grammar and any grammars imported by it (directly or inderectly) into the registry. |
void |
reset()
Clear the registry. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XSGrammarBucket()
| Method Detail |
|---|
public SchemaGrammar getGrammar(java.lang.String namespace)
namespace -
public void putGrammar(SchemaGrammar grammar)
grammar - the grammar to put in the registry
public boolean putGrammar(SchemaGrammar grammar,
boolean deep)
grammar - the grammar to put in the registrydeep - whether to add imported grammars
public boolean putGrammar(SchemaGrammar grammar,
boolean deep,
boolean ignoreConflict)
grammar - the grammar to put in the registrydeep - whether to add imported grammarsignoreConflict - whether to ignore grammars that already exist in the grammar
bucket or not - including 'grammar' parameter.
public SchemaGrammar[] getGrammars()
public void reset()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||