Skip to main content
summaryrefslogtreecommitdiffstats
blob: e756e5dda39a92d5dccb0eba0f102bed5fe9e8ed (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
/*******************************************************************************
 * Copyright (c) 2001, 2007 Oracle Corporation and others.
 * All rights reserved. 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:
 *     Oracle Corporation - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.pagedesigner.elementedit;

import org.eclipse.jst.jsf.common.dom.TagIdentifier;

/**
 * @author cbateman
 *
 */
public abstract class AbstractElementEditFactory implements IElementEditFactory 
{
    private String _supportedUri;
    
    /**
     * @param uri
     */
    protected AbstractElementEditFactory(final String uri)
    {
        _supportedUri = uri;
    }
    
    /* (non-Javadoc)
     * @see org.eclipse.jst.pagedesigner.elementedit.IElementEditFactory#createElementEdit(org.eclipse.jst.jsf.common.dom.TagIdentifier)
     */
    public abstract IElementEdit createElementEdit(TagIdentifier tag); 

    public String getSupportedURI() 
    {
        return _supportedUri;
    }

}

Back to the top