blob: 9d2f63be7d0c538ebe7b11b7cf77de1c6c41bab4 [file] [log] [blame]
jeffliuec1c4782006-05-24 14:16:24 +00001/*******************************************************************************
csaltera3a2daa2005-06-15 06:53:51 +00002 * Copyright (c) 2002 IBM Corporation and others.
jeffliuec1c4782006-05-24 14:16:24 +00003 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
csaltera3a2daa2005-06-15 06:53:51 +00005 * which accompanies this distribution, and is available at
jeffliuec1c4782006-05-24 14:16:24 +00006 * http://www.eclipse.org/legal/epl-v10.html
csaltera3a2daa2005-06-15 06:53:51 +00007 *
8 * Contributors:
jeffliuec1c4782006-05-24 14:16:24 +00009 * IBM Corporation - initial API and implementation
10 * Jens Lukowski/Innoopract - initial renaming/restructuring
11 *
12 *******************************************************************************/
csaltera3a2daa2005-06-15 06:53:51 +000013package org.eclipse.wst.xml.core.internal.catalog;
14
15import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalog;
16import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogElement;
17import org.eclipse.wst.xml.core.internal.catalog.provisional.ICatalogEvent;
18
19
20public class CatalogEvent implements ICatalogEvent
21{
22 protected ICatalog catalog;
23 protected ICatalogElement catalogElement;
24 protected int eventType;
25
26 public CatalogEvent(Catalog catalog, ICatalogElement element, int eventType)
27 {
28 this.catalog = catalog;
29 this.catalogElement = element;
30 this.eventType = eventType;
31 }
32
33 public ICatalog getCatalog()
34 {
35 return catalog;
36 }
37
38 public ICatalogElement getCatalogElement()
39 {
40 return catalogElement;
41 }
42
43 public int getEventType()
44 {
45 return eventType;
46 }
47}