blob: 667a8d293045808bce0ad0354f3d468bb9769c9b [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2008 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.pde.api.tools.internal;
/**
* Interface containing all of the constants used in XML documents
* in API tooling
*
* @since 1.0.0
*/
public interface IApiXmlConstants {
/**
* Constant representing the current version for api description files
*/
public static final String API_DESCRIPTION_CURRENT_VERSION = "1.1"; //$NON-NLS-1$
/**
* Constant representing the current version for api filter store files
*/
public static final String API_FILTER_STORE_CURRENT_VERSION = "1"; //$NON-NLS-1$
/**
* Constant representing the current version for api profile files
*/
public static final String API_PROFILE_CURRENT_VERSION = "1"; //$NON-NLS-1$
/**
* Constant representing the category attribute of an {@link IApiProblem} in xml.
* Value is: <code>category</code>
*/
public static final String ATTR_CATEGORY = "category"; //$NON-NLS-1$
/**
* Constant representing the element kind attribute of an {@link IApiProblem} in xml.
* Value is: <code>elementkind</code>
*/
public static final String ATTR_ELEMENT_KIND = "elementkind"; //$NON-NLS-1$
/**
* Constant representing the extend attribute for a type xml node.
* Value is: <code>extend</code>
*/
public static final String ATTR_EXTEND = "extend"; //$NON-NLS-1$
/**
* Constant representing the override attribute for a method xml node.
* Value is: <code>override</code>
*/
public static final String ATTR_OVERRIDE = "override"; //$NON-NLS-1$
/**
* Constant representing the flags attribute of an {@link IApiProblem} in xml.
* Value is: <code>flags</code>
*/
public static final String ATTR_FLAGS = "flags"; //$NON-NLS-1$
/**
* Constant representing the java element handle attribute name in xml.
* Value is <code>handle</code>
*/
public static final String ATTR_HANDLE = "handle"; //$NON-NLS-1$
/**
* Constant representing the id attribute for plug-in xml node.
* Value is: <code>id</code>
*/
public static final String ATTR_ID = "id"; //$NON-NLS-1$
/**
* Constant representing the implement attribute for a type xml node.
* Value is: <code>implement</code>
*/
public static final String ATTR_IMPLEMENT = "implement"; //$NON-NLS-1$
/**
* Constant representing the instantiate attribute for a type xml node.
* Value is: <code>instantiate</code>
*/
public static final String ATTR_INSTANTIATE = "instantiate"; //$NON-NLS-1$
/**
* Constant representing the kind attribute of an {@link IApiProblem} in xml.
* Value is: <code>kind</code>
*/
public static final String ATTR_KIND = "kind"; //$NON-NLS-1$
/**
* Constant representing the location attribute name for an API profile xml file.
* Value is <code>location</code>
*/
static final String ATTR_LOCATION = "location"; //$NON-NLS-1$
/**
* Constant representing the message attribute of an {@link IApiProblem} in xml.
* Value is: <code>message</code>
*/
public static final String ATTR_MESSAGE = "message"; //$NON-NLS-1$
/**
* Constant representing the resource modification stamp attribute name in xml.
* Value is <code>modificationStamp</code>
*/
public static final String ATTR_MODIFICATION_STAMP = "modificationStamp"; //$NON-NLS-1$
/**
* Constant representing the name attribute for component, package, type, method and field xml nodes.
* Value is: <code>name</code>
*/
public static final String ATTR_NAME = "name"; //$NON-NLS-1$
/**
* Constant representing the compatibility attribute of a delta in xml report.
* Value is: <code>compatible</code>
*/
public static final String ATTR_NAME_COMPATIBLE = "compatible"; //$NON-NLS-1$
/**
* Constant representing the element type attribute of a delta in xml report.
* Value is: <code>element_type</code>
*/
public static final String ATTR_NAME_ELEMENT_TYPE = "element_type"; //$NON-NLS-1$
/**
* Constant representing the char start attribute of an {@link IApiProblem} in xml.
* Value is: <code>charstart</code>
*/
public static final String ATTR_CHAR_START = "charstart"; //$NON-NLS-1$
/**
* Constant representing the charend attribute of an {@link IApiProblem} in xml.
* Value is: <code>charend</code>
*/
public static final String ATTR_CHAR_END = "charend"; //$NON-NLS-1$
/**
* Constant representing the flags attribute of a delta in xml report.
* Value is: <code>flags</code>
*/
public static final String ATTR_NAME_FLAGS = "flags"; //$NON-NLS-1$
/**
* Constant representing the key attribute of a delta in xml report.
* Value is: <code>key</code>
*/
public static final String ATTR_NAME_KEY = "key"; //$NON-NLS-1$
/**
* Constant representing the kind attribute of a delta in xml report.
* Value is: <code>kind</code>
*/
public static final String ATTR_NAME_KIND = "kind"; //$NON-NLS-1$
/**
* Constant representing the modifiers attribute of a delta in xml report.
* Value is: <code>modifiers</code>
*/
public static final String ATTR_NAME_MODIFIERS = "modifiers"; //$NON-NLS-1$
/**
* Constant representing the restrictions attribute of a delta in xml report.
* Value is: <code>restrictions</code>
*/
public static final String ATTR_NAME_RESTRICTIONS = "restrictions"; //$NON-NLS-1$
/**
* Constant representing the type name attribute of a delta in xml report.
* Value is: <code>type_name</code>
*/
public static final String ATTR_NAME_TYPE_NAME = "type_name"; //$NON-NLS-1$
/**
* Constant representing the linenumber attribute of an {@link IApiProblem} in xml.
* Value is: <code>linenumber</code>
*/
public static final String ATTR_LINE_NUMBER = "linenumber"; //$NON-NLS-1$
/**
* Constant representing the message argument attribute of an {@link IApiProblem} in xml.
* Value is: <code>messageargs</code>
*/
public static final String ATTR_MESSAGE_ARGUMENTS = "messageargs"; //$NON-NLS-1$
/**
* Constant representing the path attribute of a resource in xml.
* Value is: <code>path</code>
*/
public static final String ATTR_PATH = "path"; //$NON-NLS-1$
/**
* Constant representing the reference attribute for a type xml node.
* Value is: <code>reference</code>
*/
public static final String ATTR_REFERENCE = "reference"; //$NON-NLS-1$
/**
* Constant representing the API restrictions mask attribute name in xml.
* Value is <code>restrictions</code>
*/
public static final String ATTR_RESTRICTIONS = "restrictions"; //$NON-NLS-1$
/**
* Constant representing the delta component id attribute name in xml.
* Value is <code>componentId</code>
*/
public static final String ATTR_NAME_COMPONENT_ID = "componentId"; //$NON-NLS-1$
/**
* Constant representing the signature attribute for a method xml node.
* Value is: <code>signature</code>
*/
public static final String ATTR_SIGNATURE = "signature"; //$NON-NLS-1$
/**
* Constant representing the version attribute name for an API profile xml file.
* Value is <code>version</code>
*/
static final String ATTR_VERSION = "version"; //$NON-NLS-1$
/**
* Constant representing the visibility attribute for component, package, type, method and field xml nodes.
* Will be one of: "API", "private", "private_permissable", or "SPI"
*/
public static final String ATTR_VISIBILITY = "visibility"; //$NON-NLS-1$
/**
* Constant representing the delta element name.
* Value is: <code>delta</code>
*/
public static final String DELTA_ELEMENT_NAME = "delta"; //$NON-NLS-1$
/**
* Constant representing the deltas element name.
* Value is: <code>deltas</code>
*/
public static final String DELTAS_ELEMENT_NAME = "deltas"; //$NON-NLS-1$
/**
* Constant representing the API component node name for an API profile xml file.
* Value is <code>apicomponent</code>
*/
public static final String ELEMENT_APICOMPONENT = "apicomponent"; //$NON-NLS-1$
/**
* Constant representing the API profile node name for an API profile xml file.
* Value is <code>apiprofile</code>
*/
public static final String ELEMENT_APIPROFILE = "apiprofile"; //$NON-NLS-1$
/**
* Constant representing a component element node in xml.
* Value is: <code>component</code>
*/
public static final String ELEMENT_COMPONENT = "component"; //$NON-NLS-1$
/**
* Constant representing a field element node in xml.
* Value is: <code>field</code>
*/
public static final String ELEMENT_FIELD = "field"; //$NON-NLS-1$
/**
* Constant representing a api filter element node in xml.
* Value is: <code>filter</code>
*/
public static final String ELEMENT_FILTER = "filter"; //$NON-NLS-1$
/**
* Constant representing a method element node in xml.
* Value is: <code>method</code>
*/
public static final String ELEMENT_METHOD = "method"; //$NON-NLS-1$
/**
* Constant representing a package element node in xml.
* Value is: <code>package</code>
*/
public static final String ELEMENT_PACKAGE = "package"; //$NON-NLS-1$
/**
* Constant representing a package fragment element node in xml.
* Value is: <code>package</code>
*/
public static final String ELEMENT_PACKAGE_FRAGMENT = "fragment"; //$NON-NLS-1$
/**
* Constant representing a plugin element node in xml.
* Value is: <code>plugin</code>
*/
public static final String ELEMENT_PLUGIN = "plugin"; //$NON-NLS-1$
/**
* Constant representing the API component pool node name for an API profile xml file.
* Value is <code>pool</code>
*/
public static final String ELEMENT_POOL = "pool"; //$NON-NLS-1$
/**
* Constant representing a resource element node in xml.
* Value is: <code>resource</code>
*/
public static final String ELEMENT_RESOURCE = "resource"; //$NON-NLS-1$
/**
* Constant representing a type element node in xml.
* Value is: <code>type</code>
*/
public static final String ELEMENT_TYPE = "type"; //$NON-NLS-1$
}