blob: 35b8cf62b3e08156c7fc97fb914e82672bc6a6f8 [file] [log] [blame]
david_williamscfdb2cd2004-11-11 08:37:49 +00001/*******************************************************************************
amywuecebb042007-04-10 20:07:35 +00002 * Copyright (c) 2001, 2005 IBM Corporation and others.
david_williamscfdb2cd2004-11-11 08:37:49 +00003 * All rights reserved. This program and the accompanying materials
4 * are made available under the terms of the Eclipse Public License v1.0
5 * which accompanies this distribution, and is available at
6 * http://www.eclipse.org/legal/epl-v10.html
amywuecebb042007-04-10 20:07:35 +00007 *
david_williamscfdb2cd2004-11-11 08:37:49 +00008 * Contributors:
9 * IBM Corporation - initial API and implementation
10 * Jens Lukowski/Innoopract - initial renaming/restructuring
11 *
12 *******************************************************************************/
nitindd6e591d2005-03-14 22:21:57 +000013package org.eclipse.wst.dtd.core.internal.util;
david_williamscfdb2cd2004-11-11 08:37:49 +000014
15import org.eclipse.jface.util.Assert;
16
17public class LabelValuePair {
18
19 public String fLabel;
20 public Object fValue;
21
22 /**
23 * Creates a new name/value item
24 */
25 public LabelValuePair(String label, Object value) {
26 Assert.isTrue(label != null);
27 fLabel = label;
28 fValue = value;
29 }
30}