diff options
author | rsrinivasan | 2010-08-19 00:15:14 +0000 |
---|---|---|
committer | rsrinivasan | 2010-08-19 00:15:14 +0000 |
commit | 711787382d0cb120c5b81fad6fd0e43bd2682481 (patch) | |
tree | 37eac86dbbb60481abe32f635f93f551035d7710 /jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common | |
parent | 720918a5c49c54e6d51d9445e346c0f734e4ef4c (diff) | |
download | webtools.jsf-20100822.tar.gz webtools.jsf-20100822.tar.xz webtools.jsf-20100822.zip |
This commit was manufactured by cvs2svn to create tag 'v20100822'.v20100822
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common')
14 files changed, 0 insertions, 662 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/AbstractTagAttribute.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/AbstractTagAttribute.java deleted file mode 100644 index 696113ae8..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/AbstractTagAttribute.java +++ /dev/null @@ -1,25 +0,0 @@ -package org.eclipse.jst.jsf.common.runtime.internal.view.model.common; - -/** - * Super-class of all ITagAttribute concrete implementations. - * - * @author cbateman - * - */ -public abstract class AbstractTagAttribute implements ITagAttribute -{ - /** - * - */ - private static final long serialVersionUID = 6364594863141579928L; - - public abstract String getName(); - - public abstract String getTargetNamespace(); - - public abstract String getDescription(); - - public abstract String getDisplayName(); - - public abstract boolean isRequired(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ComponentPropertyHandler.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ComponentPropertyHandler.java deleted file mode 100644 index aa505455b..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ComponentPropertyHandler.java +++ /dev/null @@ -1,46 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2008 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 IComponentPropertyHandler. - * - * @author cbateman - * - */ -public class ComponentPropertyHandler extends TagAttributeHandler implements - IComponentPropertyHandler -{ - /** - * - */ - private static final long serialVersionUID = 8614562842401106572L; - private final String _propertyName; - - /** - * @param customHandler - * @param name - * @param elAllowed - * @param propertyName - */ - public ComponentPropertyHandler(final String customHandler, - final String name, final boolean elAllowed, - final String propertyName) - { - super(customHandler, name, elAllowed); - _propertyName = propertyName; - } - - public String getPropertyName() - { - return _propertyName; - } -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentPropertyHandler.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentPropertyHandler.java deleted file mode 100644 index dfcaf79cc..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentPropertyHandler.java +++ /dev/null @@ -1,25 +0,0 @@ -/******************************************************************************* - * 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; - -/** - * Maps tag attributes to component properties. - * - * @author cbateman - * - */ -public interface IComponentPropertyHandler extends ITagAttributeHandler -{ - /** - * @return the property name that this handler maps to. - */ - String getPropertyName(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentTagElement.java deleted file mode 100644 index d34cb2ff7..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IComponentTagElement.java +++ /dev/null @@ -1,27 +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.common.runtime.internal.view.model.common; - -import org.eclipse.jst.jsf.common.runtime.internal.model.component.ComponentTypeInfo; - -/** - * A JSF tag element that maps one-to-one to a JSF UIComponent - * - * @author cbateman - * - */ -public interface IComponentTagElement extends IJSFTagElement -{ - /** - * @return the comopnent's type info. - */ - ComponentTypeInfo getComponent(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IConverterTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IConverterTagElement.java deleted file mode 100644 index 63e43ada8..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IConverterTagElement.java +++ /dev/null @@ -1,29 +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.common.runtime.internal.view.model.common; - -import org.eclipse.jst.jsf.common.runtime.internal.model.decorator.ConverterTypeInfo; - -/** - * A tag element that causes the construction registration of a converter on - * a parent object. - * - * @author cbateman - * - */ -public interface IConverterTagElement extends IJSFTagElement -{ - /** - * @return the type info for the converter represented by this - * element - */ - ConverterTypeInfo getConverter(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IHandlerTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IHandlerTagElement.java deleted file mode 100644 index 43e68283d..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IHandlerTagElement.java +++ /dev/null @@ -1,80 +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.common.runtime.internal.view.model.common; - -import java.io.Serializable; - -import org.eclipse.jst.jsf.common.runtime.internal.model.types.TypeInfo; - -/** - * Generic tag handler that has effect when processed by the JSF ViewHandler. - * - * @author cbateman - * - */ -public interface IHandlerTagElement extends IJSFTagElement -{ - /** - * Enumerates known types of built-in tag handlers. - * - * @author cbateman - * - */ - static class TagHandlerType extends TypeInfo implements Serializable - { - /** - * serializable id - */ - private static final long serialVersionUID = 5062853948108253861L; - - private final static int HANDLER_TYPE_FACET = 0; - private final static int HANDLER_TYPE_ACTIONLISTENER = 1; - private final static int HANDLER_TYPE_VALUECHANGELISTENER = 2; - private final static int HANDLER_TYPE_ATTRIBUTE = 3; - - private final static String[] strValues = - {"facet", "actionListener", "valueChangeListener"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ - - private final int _intValue; - - public TagHandlerType(int intValue) - { - _intValue = intValue; - } - - public String toString() - { - return strValues[_intValue]; - } - - protected final int intValue() - { - return _intValue; - } - - public final static TagHandlerType FACET = - new TagHandlerType(HANDLER_TYPE_FACET); - public final static TagHandlerType ACTIONLISTENER = - new TagHandlerType(HANDLER_TYPE_ACTIONLISTENER); - public final static TagHandlerType VALUECHANGELISTENER = - new TagHandlerType(HANDLER_TYPE_VALUECHANGELISTENER); - public final static TagHandlerType ATTRIBUTE = - new TagHandlerType(HANDLER_TYPE_ATTRIBUTE); - - } - - /** - * @return the tag handler type as defined by standard known types of - * tags that do not (necessarily) translate into standard objects at - * runtime but may modify the view in some way. - */ - TagHandlerType getTagHandlerType(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IJSFTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IJSFTagElement.java deleted file mode 100644 index 435c08abd..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IJSFTagElement.java +++ /dev/null @@ -1,76 +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.common.runtime.internal.view.model.common; - -import java.io.Serializable; - -/** - * An abstraction of a tag element that maps to a JSF artifact (i.e. component, validator) - * - * @author cbateman - * - */ -public interface IJSFTagElement extends ITagElement -{ - /** - * An enumeration of different kinds of tags. - * - * @author cbateman - * - */ - static class TagType implements Serializable - { - /** - * serializable id - */ - private static final long serialVersionUID = -2845327764902349963L; - private final static int TYPE_COMPONENT = 0; - private final static int TYPE_CONVERTER = 1; - private final static int TYPE_VALIDATOR = 2; - private final static int TYPE_HANDLER = 3; - //private final static int TYPE_UNKNOWN = 4; - - private final static String[] strValues = - {"component", "converter", "validator", "handler"}; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ - - private final int _intValue; - - public TagType(int intValue) - { - _intValue = intValue; - } - - public String toString() - { - return strValues[_intValue]; - } - - protected final int intValue() - { - return _intValue; - } - - public final static TagType COMPONENT = - new TagType(TYPE_COMPONENT); - public final static TagType CONVERTER = - new TagType(TYPE_CONVERTER); - public final static TagType VALIDATOR = - new TagType(TYPE_VALIDATOR); - public final static TagType HANDLER = - new TagType(TYPE_HANDLER); - } - - /** - * @return the type of tag as distinguished by how it may affect the - * view at runtime. - */ - TagType getType(); -}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttribute.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttribute.java deleted file mode 100644 index 52fd6c2fb..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttribute.java +++ /dev/null @@ -1,40 +0,0 @@ -package org.eclipse.jst.jsf.common.runtime.internal.view.model.common; - -import java.io.Serializable; - -/** - * Information about a tags attribute - * @author cbateman - * - */ -public interface ITagAttribute extends Serializable -{ - /** - * @return the name of the attribute. In XML this is the "local" name of - * the attribute: that is, it's name without any namespace qualification. - */ - String getName(); - - /** - * @return the unique namespace of the attribute or null if it is always the - * same as it's owner (the typical case in JSF). - */ - String getTargetNamespace(); - - /** - * @return a long-form piece of text, intended for end-user consumption, - * that describes the attribute - */ - String getDescription(); - - /** - * @return a short, user visible label text for the attribute. - */ - String getDisplayName(); - - /** - * @return true if the attribute is required to be populated on the - * element. - */ - boolean isRequired(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttributeHandler.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttributeHandler.java deleted file mode 100644 index f6d15c9ab..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagAttributeHandler.java +++ /dev/null @@ -1,39 +0,0 @@ -/******************************************************************************* - * 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; - -import java.io.Serializable; - -/** - * Basic information on attributes. - * TODO C.B: some question exists in my mind as to how/whether this should merge - * with meta-data enabled type descriptors. - * - * @author cbateman - * - */ -public interface ITagAttributeHandler extends Serializable -{ - /** - * @return the name of the attribute - */ - String getName(); - /** - * @return the name of an extension point used to perform custom handling - * of the attribute. - */ - String getCustomHandler(); - - /** - * @return true if the property allows EL expressions - */ - boolean isELAllowed(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagElement.java deleted file mode 100644 index e4d8298a5..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/ITagElement.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.common.runtime.internal.view.model.common; - -import java.io.Serializable; -import java.util.Map; - -/** - * Super-interface of all JSF tag elements. - * - * @author cbateman - * - */ -public interface ITagElement extends Serializable -{ - - /** - * @return the name of the tag - */ - public abstract String getName(); - - /** - * @return the namespace uri for this tag - */ - public abstract String getUri(); - - /** - * @return the fully qualified class name in dot separated format - * (i.e. javax.faces.webapp.ConverterTag) - */ - public abstract String getTagHandlerClassName(); - - /** - * @return an unmodifiable map, indexed by name, of all the attribute - * handlers available for this tag element. Each value in the Map - * must be a ITagAttributeHandler. - */ - public abstract Map getAttributeHandlers(); - - /** - * @return the attributes for the tag. - */ - public abstract Map<String, ? extends ITagAttribute> getAttributes(); - /** - * Signals that the tag element should make any mutable data immutable - * and throw exceptions if attempts are made to implement. Flag must - * latch and become irrevocable. - */ -// public abstract void setLocked(); - - /** - * @return true if setLocked has been called. - */ -// public abstract boolean isLocked(); -}
\ No newline at end of file diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IValidatorTagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IValidatorTagElement.java deleted file mode 100644 index 947490287..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/IValidatorTagElement.java +++ /dev/null @@ -1,27 +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.common.runtime.internal.view.model.common; - -import org.eclipse.jst.jsf.common.runtime.internal.model.decorator.ValidatorTypeInfo; - -/** - * Represents a tag element for a JSF validator. - * - * @author cbateman - * - */ -public interface IValidatorTagElement extends IJSFTagElement -{ - /** - * @return the type info about the validator. - */ - ValidatorTypeInfo getValidator(); -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/Namespace.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/Namespace.java deleted file mode 100644 index ee0259fa0..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/Namespace.java +++ /dev/null @@ -1,80 +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.common.runtime.internal.view.model.common; - -import java.io.Serializable; -import java.util.Collection; - -/** - * Abstracts an xml namespace used to define a set of view tags - * - */ -public abstract class Namespace implements Serializable -{ - /** - * - */ - private static final long serialVersionUID = 6386464282396970948L; - - /** - * @return the namespace uri. MUST NOT BE NULL - */ - public abstract String getNSUri(); - - /** - * This call may be long running. Call isInitialized to determine if all - * information is already cached, or if calling this method is likely - * to take a long time. - * - * @return the view elements in this namespace. May be empty but MUST NOT BE - * NULL. - */ - public abstract Collection<? extends ITagElement> getViewElements(); - - /** - * This method should be light weight if possible. Unlike calling - * getViewElements().isEmpty, this call should not require that all - * view element children of this namespace be analyzed and constructed in - * order to succeed. - * - * @return true if this name space has view element children - */ - public abstract boolean hasViewElements(); - - /** - * If calculating all view elements is expensive, a Namespace implementation - * may defer calculation until a specific element is requested. A caller of - * getViewElements (such as a UI that shows all tags), may wish to know if - * the entire namespace has been initialized before calling it, since it may - * be long running. - * - * @return true if the namespace's elements have been fully initialized. If this - * method returns false, care should be taken in calling getViewElements() and - * getViewElement() since they may be very long running. - */ - public abstract boolean isInitialized(); - - /** - * @param name - * @return the tag element called 'name' or null if none. - */ - public abstract ITagElement getViewElement(final String name); - - /** - * @return a user readable display name for this namespace or null if none. - */ - public abstract String getDisplayName(); - - public String toString() - { - return getNSUri(); - } -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagAttributeHandler.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagAttributeHandler.java deleted file mode 100644 index b29349515..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagAttributeHandler.java +++ /dev/null @@ -1,57 +0,0 @@ -/******************************************************************************* - * 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; - } -} diff --git a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagElement.java b/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagElement.java deleted file mode 100644 index fb04e6f77..000000000 --- a/jsf/plugins/org.eclipse.jst.jsf.common.runtime/src/org/eclipse/jst/jsf/common/runtime/internal/view/model/common/TagElement.java +++ /dev/null @@ -1,48 +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.common.runtime.internal.view.model.common; - -import java.util.Map; - -/** - * Abstract a tag element used to construct a view element - * - * @author cbateman - * - */ -public abstract class TagElement implements ITagElement -{ - /** - * - */ - private static final long serialVersionUID = 7885641652240047924L; - - /* (non-Javadoc) - * @see viewhandlerprototype.model.ITagElement#getName() - */ - public abstract String getName(); - - - /* (non-Javadoc) - * @see org.eclipse.jst.jsf.common.runtime.internal.view.model.common.ITagElement#getUri() - */ - public abstract String getUri(); - - /* (non-Javadoc) - * @see org.eclipse.jst.jsf.common.runtime.internal.view.model.common.ITagElement#getTagHandlerClassName() - */ - public abstract String getTagHandlerClassName(); - - /* (non-Javadoc) - * @see org.eclipse.jst.jsf.common.runtime.internal.view.model.common.ITagElement#getAttributeHandlers() - */ - public abstract Map getAttributeHandlers(); -} |