All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.eclipse.core.internal.registry.spi.ConfigurationElementAttribute Maven / Gradle / Ivy

Go to download

AspectJ tools most notably contains the AspectJ compiler (AJC). AJC applies aspects to Java classes during compilation, fully replacing Javac for plain Java classes and also compiling native AspectJ or annotation-based @AspectJ syntax. Furthermore, AJC can weave aspects into existing class files in a post-compile binary weaving step. This library is a superset of AspectJ weaver and hence also of AspectJ runtime.

There is a newer version: 1.9.22.1
Show newest version
/*******************************************************************************
 * Copyright (c) 2005, 2009 IBM Corporation and others.
 *
 * This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License 2.0
 * which accompanies this distribution, and is available at
 * https://www.eclipse.org/legal/epl-2.0/
 *
 * SPDX-License-Identifier: EPL-2.0
 *
 * Contributors:
 *     IBM Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.core.internal.registry.spi;

import org.eclipse.core.runtime.IConfigurationElement;

/**
 * Describes properties of configuration elements to be added to the registry.
 * Properties are represented as pairs of strings: {attribute name; attribute value}.
 * 

* It is expected that both attribute name and attribute value are not null. *

*

* This class can be instantiated. *

*

* This class is not intended to be subclassed. *

* @see ConfigurationElementDescription * @see IConfigurationElement */ public final class ConfigurationElementAttribute { /** * Attribute name. * @see IConfigurationElement#getAttributeNames() */ private String name; /** * Attribute value. * @see IConfigurationElement#getAttributeAsIs(String) */ private String value; /** * Constructor. * * @param name attribute name * @param value attribute value */ public ConfigurationElementAttribute(String name, String value) { this.name = name; this.value = value; } /** * Returns attribute name. * @return attribute name * @see IConfigurationElement#getAttributeNames() */ public String getName() { return name; } /** * Returns value of the attribute. * @return attribute value * @see IConfigurationElement#getAttributeAsIs(String) */ public String getValue() { return value; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy