blob: 97f946ace47652febb3ef1653f574578c1290018 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2001, 2008 Oracle Corporation and others.
* 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:
* Oracle Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jst.jsf.core.internal.tld;
import org.eclipse.jst.jsf.common.dom.TagIdentifier;
import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDDocument;
import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDElementDeclaration;
final class TLDTagIdentifier extends TagIdentifier
{
private final TLDElementDeclaration _tldDecl;
public TLDTagIdentifier(final TLDElementDeclaration tldDecl)
{
_tldDecl = tldDecl;
}
@Override
public String getTagName()
{
return _tldDecl.getElementName();
}
@Override
public String getUri()
{
return ((TLDDocument)_tldDecl.getOwnerDocument()).getUri();
}
@Override
public boolean isJSPTag()
{
return true;
}
}