1 /******************************************************************************* 2 * Copyright (c) 2002, 2005 Object Factory Inc. 3 * 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 7 * 8 * Contributors: 9 * Object Factory Inc. - Initial implementation 10 *******************************************************************************/ 11 package org.eclipse.ant.internal.ui.dtd; 12 13 /** 14 * Schema atom interface. 15 * @author Bob Foster 16 */ 17 public interface IAtom { 18 19 public static final int ELEMENT = 0; 20 public static final int ATTRIBUTE = 1; 21 22 /** 23 * Return the atom name. 24 */ 25 public String getName(); 26 27 /** 28 * Return the atom name. 29 */ 30 public String toString(); 31 } 32