nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 1 | /******************************************************************************* |
amywu | ecebb04 | 2007-04-10 20:07:35 +0000 | [diff] [blame] | 2 | * Copyright (c) 2001, 2005 IBM Corporation and others. |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 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 |
amywu | ecebb04 | 2007-04-10 20:07:35 +0000 | [diff] [blame] | 7 | * |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 8 | * Contributors: |
| 9 | * IBM Corporation - initial API and implementation |
| 10 | *******************************************************************************/ |
| 11 | package org.eclipse.wst.dtd.core.internal.contentmodel; |
| 12 | |
| 13 | import org.eclipse.emf.common.notify.impl.AdapterImpl; |
david_williams | c06c86f | 2005-03-18 18:23:41 +0000 | [diff] [blame] | 14 | import org.eclipse.wst.xml.core.internal.contentmodel.CMNode; |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 15 | |
| 16 | public abstract class CMNodeImpl extends AdapterImpl implements CMNode { |
david_williams | 3804601 | 2005-04-08 19:04:29 +0000 | [diff] [blame] | 17 | protected static final String PROPERTY_DOCUMENTATION = "documentation"; //$NON-NLS-1$ |
| 18 | protected static final String PROPERTY_DOCUMENTATION_SOURCE = "documentationSource"; //$NON-NLS-1$ |
| 19 | protected static final String PROPERTY_DOCUMENTATION_LANGUAGE = "documentationLanguage"; //$NON-NLS-1$ |
| 20 | protected static final String PROPERTY_MOF_NOTIFIER = "key"; //$NON-NLS-1$ |
| 21 | protected static final String PROPERTY_DEFINITION_INFO = "http://org.eclipse.wst/cm/properties/definitionInfo"; //$NON-NLS-1$ |
| 22 | protected static final String PROPERTY_DEFINITION = "http://org.eclipse.wst/cm/properties/definition"; //$NON-NLS-1$ |
nitind | d6e591d | 2005-03-14 22:21:57 +0000 | [diff] [blame] | 23 | |
| 24 | public abstract Object getKey(); |
| 25 | |
| 26 | public boolean supports(String propertyName) { |
| 27 | return propertyName.equals(PROPERTY_MOF_NOTIFIER); |
| 28 | } |
| 29 | |
| 30 | public Object getProperty(String propertyName) { |
| 31 | return null; |
| 32 | } |
| 33 | |
| 34 | public void setProperty(String propertyName, Object object) { |
| 35 | } |
| 36 | } |