|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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. |
void |
reset()
Clear the registry. |
Methods inherited from class java.lang.Object |
---|
equals, 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 registrypublic boolean putGrammar(SchemaGrammar grammar, boolean deep)
grammar
- the grammar to put in the registrydeep
- whether to add imported grammars
public SchemaGrammar[] getGrammars()
public void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |