*
* @param namespace Target namespace.
*/
public Grammar removeGrammarNS(String namespace) {
if(namespace == null) {
Grammar tempGrammar = fNoNSGrammar;
fNoNSGrammar = null;
return tempGrammar;
} else if (fGrammarsNS.contains(namespace)) {
return (Grammar)fGrammarsNS.remove(namespace);
}