Skip to main content
summaryrefslogtreecommitdiffstats
blob: b29349515afd3f36e01cea31a7d18454c96c2312 (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
50
51
52
53
54
55
56
57
/*******************************************************************************
 * Copyright (c) ${year} Oracle 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:
 *    Cameron Bateman - initial API and implementation
 *******************************************************************************/
package org.eclipse.jst.jsf.common.runtime.internal.view.model.common;

/**
 * Default implementation of ITagAttributeHandler.
 * 
 * @author cbateman
 * 
 */
public class TagAttributeHandler implements ITagAttributeHandler
{
    /**
     * 
     */
    private static final long serialVersionUID = 8153903018703133004L;
    private final String      _customHandler;
    private final String      _name;
    private final boolean     _elAllowed;

    /**
     * @param customHandler
     * @param name
     * @param elAllowed
     */
    public TagAttributeHandler(final String customHandler, final String name,
            final boolean elAllowed)
    {
        super();
        _customHandler = customHandler;
        _elAllowed = elAllowed;
        _name = name;
    }

    public String getCustomHandler()
    {
        return _customHandler;
    }

    public String getName()
    {
        return _name;
    }

    public boolean isELAllowed()
    {
        return _elAllowed;
    }
}

Back to the top