blob: 1be7c53e9a07765b9799325238b2cf799fcebf6b [file] [log] [blame]
nitindd6e591d2005-03-14 22:21:57 +00001/*******************************************************************************
amywuecebb042007-04-10 20:07:35 +00002 * Copyright (c) 2001, 2005 IBM Corporation and others.
nitindd6e591d2005-03-14 22:21:57 +00003 * 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
amywuecebb042007-04-10 20:07:35 +00007 *
nitindd6e591d2005-03-14 22:21:57 +00008 * Contributors:
9 * IBM Corporation - initial API and implementation
10 *******************************************************************************/
11package org.eclipse.wst.dtd.core.internal.contentmodel;
12
13import org.eclipse.emf.common.notify.impl.AdapterImpl;
david_williamsc06c86f2005-03-18 18:23:41 +000014import org.eclipse.wst.xml.core.internal.contentmodel.CMNode;
nitindd6e591d2005-03-14 22:21:57 +000015
16public abstract class CMNodeImpl extends AdapterImpl implements CMNode {
david_williams38046012005-04-08 19:04:29 +000017 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$
nitindd6e591d2005-03-14 22:21:57 +000023
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}