Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8206810e55fd0274fe110b9e4db148b65e8d9651 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*******************************************************************************
 * Copyright (c) 2005 IBM Corporation.
 * 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.equinox.ds.parser;

/**
 * 
 * Define Constants
 * 
 * @version $Revision: 1.2 $
 */

interface ParserConstants {

	// Define the Service Component XML Tags
	static final String SCR_NAMESPACE = "http://www.osgi.org/xmlns/scr/v1.0.0";
	static final String COMPONENT_ELEMENT = "component";
	static final String IMPLEMENTATION_ELEMENT = "implementation";
	static final String REFERENCE_ELEMENT = "reference";
	static final String SERVICE_ELEMENT = "service";
	static final String PROPERTY_ELEMENT = "property";
	static final String PROPERTIES_ELEMENT = "properties";
	static final String NAME_ATTRIBUTE = "name";
	static final String IMMEDIATE_ATTRIBUTE = "immediate";
	static final String VALUE_ATTRIBUTE = "value";
	static final String TYPE_ATTRIBUTE = "type";
	static final String ENTRY_ATTRIBUTE = "entry";
	static final String PROVIDE_ELEMENT = "provide";
	static final String ENABLED_ATTRIBUTE = "enabled";
	static final String FACTORY_ATTRIBUTE = "factory";
	static final String SERVICEFACTORY_ATTRIBUTE = "servicefactory";
	static final String CLASS_ATTRIBUTE = "class";
	static final String INTERFACE_ATTRIBUTE = "interface";
	static final String CARDINALITY_ATTRIBUTE = "cardinality";
	static final String POLICY_ATTRIBUTE = "policy";
	static final String TARGET_ATTRIBUTE = "target";
	static final String BIND_ATTRIBUTE = "bind";
	static final String UNBIND_ATTRIBUTE = "unbind";

	/* SAX Parser class name */
	static final String SAX_FACTORY_CLASS = "javax.xml.parsers.SAXParserFactory"; //$NON-NLS-1$
}

Back to the top