diff options
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/internal/view/model/jsp/TLDComponentTagElement.java')
-rw-r--r-- | jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/internal/view/model/jsp/TLDComponentTagElement.java | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/internal/view/model/jsp/TLDComponentTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/internal/view/model/jsp/TLDComponentTagElement.java deleted file mode 100644 index 4e081bd36..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.core/src/org/eclipse/jst/jsf/designtime/internal/view/model/jsp/TLDComponentTagElement.java +++ /dev/null @@ -1,63 +0,0 @@ -/******************************************************************************* - * 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.designtime.internal.view.model.jsp; - -import org.eclipse.jst.jsf.common.runtime.internal.model.component.ComponentTypeInfo; -import org.eclipse.jst.jsf.common.runtime.internal.view.model.common.IComponentTagElement; -import org.eclipse.jst.jsp.core.internal.contentmodel.tld.provisional.TLDElementDeclaration; - - - -/** - * A TLD-defined tag (i.e. JSP) that maps one-to-one with a JSF UIComponent - * @author cbateman - * - */ -public class TLDComponentTagElement extends TLDJSFTagElement implements -IComponentTagElement -{ - /** - * - */ - private static final long serialVersionUID = -6479445622102799425L; - private final ComponentTypeInfo _componentTypeInfo; - - /** - * @param elementDecl - * @param componentTypeInfo - * @param advisor - */ - public TLDComponentTagElement(final TLDElementDeclaration elementDecl - , final ComponentTypeInfo componentTypeInfo, final IAttributeAdvisor advisor) - { - super(elementDecl, advisor); - _componentTypeInfo = componentTypeInfo; - } - - public ComponentTypeInfo getComponent() - { - return _componentTypeInfo; - } - - @Override - public TagType getType() - { - return TagType.COMPONENT; - } - - @Override - public String toString() - { - final String attributes = constructAttributesString(); - return _componentTypeInfo.toString() + - (!"".equals(attributes) ? "\n" + attributes : ""); - } -} |