01: /*******************************************************************************
02: * Copyright (c) 2000, 2006 IBM Corporation and others.
03: * All rights reserved. This program and the accompanying materials
04: * are made available under the terms of the Eclipse Public License v1.0
05: * which accompanies this distribution, and is available at
06: * http://www.eclipse.org/legal/epl-v10.html
07: *
08: * Contributors:
09: * IBM Corporation - initial API and implementation
10: *******************************************************************************/package org.eclipse.pde.internal.core.ischema;
11:
12: /**
13: * Objects that implement this interface can
14: * have attributes.
15: */
16: public interface ISchemaAttributeProvider {
17: /**
18: * Returns an attribute definition if one with the matching name is found
19: * in this provider.
20: * @return attribute object or <samp>null</samp> if none with the matching name is found.
21: */
22: public ISchemaAttribute getAttribute(String name);
23:
24: public int getAttributeCount();
25:
26: public ISchemaAttribute[] getAttributes();
27: }
|