KickJava   Java API By Example, From Geeks To Geeks.

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


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 /**
14  * Objects that implement this interface can
15  * have attributes.
16  */

17 public interface ISchemaAttributeProvider {
18 /**
19  * Returns an attribute definition if one with the matching name is found
20  * in this provider.
21  * @return attribute object or <samp>null</samp> if none with the matching name is found.
22  */

23 public ISchemaAttribute getAttribute(String JavaDoc name);
24     public int getAttributeCount();
25     public ISchemaAttribute[] getAttributes();
26 }
27
Popular Tags