/** * Adds the given ElementDecl to this ContentModelGroup * * @param elementDecl the ElementDecl to add * @exception SchemaException when an ElementDecl already exists with the same name as the given * ElementDecl */ public void addElementDecl(ElementDecl elementDecl) throws SchemaException { _contentModel.addElementDecl(elementDecl); // --set the parent elementDecl.setParent(this); } // -- addElementDecl