dstDecl = dstGrammar.getGlobalNotationDecl(srcDecl.getName()); if (dstDecl == null) { dstGrammar.addGlobalNotationDecl(srcDecl); dstDecl = dstGrammar.getGlobalNotationDecl(name, location); if (dstDecl == null) { dstGrammar.addGlobalNotationDecl(srcDecl, location);
grammar.addGlobalNotationDecl(notation); final XSNotationDecl notation2 = grammar.getGlobalNotationDecl(notation.fName, loc); if (notation2 == null) { grammar.addGlobalNotationDecl(notation, loc);
case XSConstants.NOTATION_DECLARATION : if (sg.getGlobalNotationDecl(name) == null) { sg.addGlobalNotationDecl((XSNotationDecl) component); sg.addGlobalNotationDecl((XSNotationDecl) component, "");
XSNotationDecl decl = (XSNotationDecl) map.item(i); if (cachedGrammar.getGlobalNotationDecl(decl.getName()) == null) { cachedGrammar.addGlobalNotationDecl(decl);