blob: 7c91689de9bbcc749d5b58a7a41931ab0e15bc0b [file] [log] [blame]
package org.eclipse.jst.jsf.designtime.internal.view.model.jsp;
import org.eclipse.jst.jsf.common.runtime.internal.view.model.common.IHandlerTagElement;
import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDElementDeclaration;
/**
* A TLD-defined tag (i.e. JSP) that maps to a known tag handler.
*
* @author cbateman
*
*/
public class TLDTagHandlerElement extends TLDJSFTagElement implements
IHandlerTagElement
{
private final TagHandlerType _tagHandlerType;
/**
* @param elementDecl
* @param tagHandlerType
*/
public TLDTagHandlerElement(final TLDElementDeclaration elementDecl, final TagHandlerType tagHandlerType)
{
super(elementDecl);
_tagHandlerType = tagHandlerType;
}
public TagHandlerType getTagHandlerType()
{
return _tagHandlerType;
}
@Override
public TagType getType()
{
return TagType.HANDLER;
}
}