KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > pde > internal > core > ischema > ISchemaSimpleType


1 /*******************************************************************************
2  * Copyright (c) 2000, 2006 IBM Corporation and others.
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  * IBM Corporation - initial API and implementation
10  *******************************************************************************/

11 package org.eclipse.pde.internal.core.ischema;
12
13 import org.eclipse.pde.core.IWritable;
14 /**
15  * Classes that implement this interface define
16  * simple types. Simple types do not have compositors.
17  * They consist of the base type whose name is
18  * available by calling 'getName()' and an optional
19  * restriction that can narrow the value space for the type.
20  */

21 public interface ISchemaSimpleType extends ISchemaType, IWritable {
22 /**
23  * Returns the restriction that narrows the value space of
24  * this type.
25  *
26  * @return restriction for this simple type, or <samp>null</samp> if there
27  * is no restriction.
28  */

29 ISchemaRestriction getRestriction();
30 }
31
Popular Tags