diff options
author | cbridgha | 2012-02-01 20:06:22 +0000 |
---|---|---|
committer | cbridgha | 2012-02-01 20:06:22 +0000 |
commit | 963b86840850bb52429f78ab8e84cab7c93c53cd (patch) | |
tree | e54c9d8c4bd2daab031bd23b74324bee6ddf2b1e /plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp | |
parent | 6374fd8bd28fcef8ec85893101bfced9e1f0dd9b (diff) | |
download | webtools.javaee-201202020230.tar.gz webtools.javaee-201202020230.tar.xz webtools.javaee-201202020230.zip |
This commit was manufactured by cvs2svn to create tag 'v201202020230'.v201202020230
Diffstat (limited to 'plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp')
15 files changed, 0 insertions, 5118 deletions
diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspConfig.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspConfig.java deleted file mode 100644 index 93d39bddf..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspConfig.java +++ /dev/null @@ -1,102 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp; - -import java.util.List; - -import org.eclipse.jst.javaee.core.JavaEEObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Config</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The jsp-configType is used to provide global configuration - * information for the JSP files in a web application. It has - * two subelements, taglib and jsp-property-group. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.JspConfig#getTagLibs <em>Tag Libs</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspConfig#getJspPropertyGroups <em>Jsp Property Groups</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspConfig#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig() - * @extends JavaEEObject - * @generated - */ -public interface JspConfig extends JavaEEObject { - /** - * Returns the value of the '<em><b>Tag Libs</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.jsp.TagLib}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Tag Libs</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Tag Libs</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_TagLibs() - * @generated - */ - List<TagLib> getTagLibs(); - - /** - * Returns the value of the '<em><b>Jsp Property Groups</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.jsp.JspPropertyGroup}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Jsp Property Groups</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Jsp Property Groups</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_JspPropertyGroups() - * @generated - */ - List<JspPropertyGroup> getJspPropertyGroups(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspConfig_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspConfig#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // JspConfig
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspFactory.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspFactory.java deleted file mode 100644 index 2d33537bb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspFactory.java +++ /dev/null @@ -1,70 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp; - -import org.eclipse.emf.ecore.EFactory; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Factory</b> for the model. - * It provides a create method for each non-abstract class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage - * @generated - */ -public interface JspFactory extends EFactory { - /** - * The singleton instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JspFactory eINSTANCE = org.eclipse.jst.javaee.jsp.internal.impl.JspFactoryImpl.init(); - - /** - * Returns a new object of class '<em>Config</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Config</em>'. - * @generated - */ - JspConfig createJspConfig(); - - /** - * Returns a new object of class '<em>Property Group</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Property Group</em>'. - * @generated - */ - JspPropertyGroup createJspPropertyGroup(); - - /** - * Returns a new object of class '<em>Tag Lib</em>'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return a new object of class '<em>Tag Lib</em>'. - * @generated - */ - TagLib createTagLib(); - - /** - * Returns the package supported by this factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the package supported by this factory. - * @generated - */ - JspPackage getJspPackage(); - -} //JspFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspPropertyGroup.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspPropertyGroup.java deleted file mode 100644 index d79ddc9e1..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/JspPropertyGroup.java +++ /dev/null @@ -1,673 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp; - -import java.util.List; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.JavaEEObject; -import org.eclipse.jst.javaee.core.UrlPatternType; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Property Group</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The jsp-property-groupType is used to group a number of - * files so they can be given global property information. - * All files so described are deemed to be JSP files. The - * following additional properties can be described: - * - * - Control whether EL is ignored. - * - Control whether scripting elements are invalid. - * - Indicate pageEncoding information. - * - Indicate that a resource is a JSP document (XML). - * - Prelude and Coda automatic includes. - * - Control whether the character sequence #{ is allowed - * when used as a String literal. - * - Control whether template text containing only - * whitespaces must be removed from the response output. - * - Indicate the default contentType information. - * - Indicate the default buffering model for JspWriter - * - Control whether error should be raised for the use of - * undeclared namespaces in a JSP page. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getUrlPatterns <em>Url Patterns</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored <em>El Ignored</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getPageEncoding <em>Page Encoding</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid <em>Scripting Invalid</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml <em>Is Xml</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludePreludes <em>Include Preludes</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludeCodas <em>Include Codas</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup() - * @extends JavaEEObject - * @generated - */ -public interface JspPropertyGroup extends JavaEEObject { - /** - * Returns the value of the '<em><b>Descriptions</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Description}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Descriptions</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Descriptions</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Descriptions() - * @generated - */ - List<Description> getDescriptions(); - - /** - * Returns the value of the '<em><b>Display Names</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.DisplayName}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Display Names</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Display Names</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DisplayNames() - * @generated - */ - List<DisplayName> getDisplayNames(); - - /** - * Returns the value of the '<em><b>Icons</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.Icon}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Icons</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Icons</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Icons() - * @generated - */ - List<Icon> getIcons(); - - /** - * Returns the value of the '<em><b>Url Patterns</b></em>' containment reference list. - * The list contents are of type {@link org.eclipse.jst.javaee.core.UrlPatternType}. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Url Patterns</em>' containment reference list isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Url Patterns</em>' containment reference list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_UrlPatterns() - * @generated - */ - List<UrlPatternType> getUrlPatterns(); - - /** - * Returns the value of the '<em><b>El Ignored</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Can be used to easily set the isELIgnored - * property of a group of JSP pages. By default, the - * EL evaluation is enabled for Web Applications using - * a Servlet 2.4 or greater web.xml, and disabled - * otherwise. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>El Ignored</em>' attribute. - * @see #isSetElIgnored() - * @see #unsetElIgnored() - * @see #setElIgnored(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_ElIgnored() - * @generated - */ - boolean isElIgnored(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored <em>El Ignored</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>El Ignored</em>' attribute. - * @see #isSetElIgnored() - * @see #unsetElIgnored() - * @see #isElIgnored() - * @generated - */ - void setElIgnored(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored <em>El Ignored</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetElIgnored() - * @see #isElIgnored() - * @see #setElIgnored(boolean) - * @generated - */ - void unsetElIgnored(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored <em>El Ignored</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>El Ignored</em>' attribute is set. - * @see #unsetElIgnored() - * @see #isElIgnored() - * @see #setElIgnored(boolean) - * @generated - */ - boolean isSetElIgnored(); - - /** - * Returns the value of the '<em><b>Page Encoding</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The valid values of page-encoding are those of the - * pageEncoding page directive. It is a - * translation-time error to name different encodings - * in the pageEncoding attribute of the page directive - * of a JSP page and in a JSP configuration element - * matching the page. It is also a translation-time - * error to name different encodings in the prolog - * or text declaration of a document in XML syntax and - * in a JSP configuration element matching the document. - * It is legal to name the same encoding through - * mulitple mechanisms. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Page Encoding</em>' attribute. - * @see #setPageEncoding(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_PageEncoding() - * @generated - */ - String getPageEncoding(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getPageEncoding <em>Page Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Page Encoding</em>' attribute. - * @see #getPageEncoding() - * @generated - */ - void setPageEncoding(String value); - - /** - * Returns the value of the '<em><b>Scripting Invalid</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Can be used to easily disable scripting in a - * group of JSP pages. By default, scripting is - * enabled. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Scripting Invalid</em>' attribute. - * @see #isSetScriptingInvalid() - * @see #unsetScriptingInvalid() - * @see #setScriptingInvalid(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_ScriptingInvalid() - * @generated - */ - boolean isScriptingInvalid(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid <em>Scripting Invalid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Scripting Invalid</em>' attribute. - * @see #isSetScriptingInvalid() - * @see #unsetScriptingInvalid() - * @see #isScriptingInvalid() - * @generated - */ - void setScriptingInvalid(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid <em>Scripting Invalid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetScriptingInvalid() - * @see #isScriptingInvalid() - * @see #setScriptingInvalid(boolean) - * @generated - */ - void unsetScriptingInvalid(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid <em>Scripting Invalid</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Scripting Invalid</em>' attribute is set. - * @see #unsetScriptingInvalid() - * @see #isScriptingInvalid() - * @see #setScriptingInvalid(boolean) - * @generated - */ - boolean isSetScriptingInvalid(); - - /** - * Returns the value of the '<em><b>Is Xml</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * If true, denotes that the group of resources - * that match the URL pattern are JSP documents, - * and thus must be interpreted as XML documents. - * If false, the resources are assumed to not - * be JSP documents, unless there is another - * property group that indicates otherwise. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Is Xml</em>' attribute. - * @see #isSetIsXml() - * @see #unsetIsXml() - * @see #setIsXml(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IsXml() - * @generated - */ - boolean isIsXml(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml <em>Is Xml</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Is Xml</em>' attribute. - * @see #isSetIsXml() - * @see #unsetIsXml() - * @see #isIsXml() - * @generated - */ - void setIsXml(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml <em>Is Xml</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetIsXml() - * @see #isIsXml() - * @see #setIsXml(boolean) - * @generated - */ - void unsetIsXml(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml <em>Is Xml</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Is Xml</em>' attribute is set. - * @see #unsetIsXml() - * @see #isIsXml() - * @see #setIsXml(boolean) - * @generated - */ - boolean isSetIsXml(); - - /** - * Returns the value of the '<em><b>Include Preludes</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The include-prelude element is a context-relative - * path that must correspond to an element in the - * Web Application. When the element is present, - * the given path will be automatically included (as - * in an include directive) at the beginning of each - * JSP page in this jsp-property-group. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Include Preludes</em>' attribute list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludePreludes() - * @generated - */ - List<String> getIncludePreludes(); - - /** - * Returns the value of the '<em><b>Include Codas</b></em>' attribute list. - * The list contents are of type {@link java.lang.String}. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The include-coda element is a context-relative - * path that must correspond to an element in the - * Web Application. When the element is present, - * the given path will be automatically included (as - * in an include directive) at the end of each - * JSP page in this jsp-property-group. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Include Codas</em>' attribute list. - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_IncludeCodas() - * @generated - */ - List<String> getIncludeCodas(); - - /** - * Returns the value of the '<em><b>Deferred Syntax Allowed As Literal</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The character sequence #{ is reserved for EL expressions. - * Consequently, a translation error occurs if the #{ - * character sequence is used as a String literal, unless - * this element is enabled (true). Disabled (false) by - * default. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Deferred Syntax Allowed As Literal</em>' attribute. - * @see #isSetDeferredSyntaxAllowedAsLiteral() - * @see #unsetDeferredSyntaxAllowedAsLiteral() - * @see #setDeferredSyntaxAllowedAsLiteral(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral() - * @generated - */ - boolean isDeferredSyntaxAllowedAsLiteral(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Deferred Syntax Allowed As Literal</em>' attribute. - * @see #isSetDeferredSyntaxAllowedAsLiteral() - * @see #unsetDeferredSyntaxAllowedAsLiteral() - * @see #isDeferredSyntaxAllowedAsLiteral() - * @generated - */ - void setDeferredSyntaxAllowedAsLiteral(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetDeferredSyntaxAllowedAsLiteral() - * @see #isDeferredSyntaxAllowedAsLiteral() - * @see #setDeferredSyntaxAllowedAsLiteral(boolean) - * @generated - */ - void unsetDeferredSyntaxAllowedAsLiteral(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Deferred Syntax Allowed As Literal</em>' attribute is set. - * @see #unsetDeferredSyntaxAllowedAsLiteral() - * @see #isDeferredSyntaxAllowedAsLiteral() - * @see #setDeferredSyntaxAllowedAsLiteral(boolean) - * @generated - */ - boolean isSetDeferredSyntaxAllowedAsLiteral(); - - /** - * Returns the value of the '<em><b>Trim Directive Whitespaces</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * Indicates that template text containing only whitespaces - * must be removed from the response output. It has no - * effect on JSP documents (XML syntax). Disabled (false) - * by default. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Trim Directive Whitespaces</em>' attribute. - * @see #isSetTrimDirectiveWhitespaces() - * @see #unsetTrimDirectiveWhitespaces() - * @see #setTrimDirectiveWhitespaces(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_TrimDirectiveWhitespaces() - * @generated - */ - boolean isTrimDirectiveWhitespaces(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Trim Directive Whitespaces</em>' attribute. - * @see #isSetTrimDirectiveWhitespaces() - * @see #unsetTrimDirectiveWhitespaces() - * @see #isTrimDirectiveWhitespaces() - * @generated - */ - void setTrimDirectiveWhitespaces(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetTrimDirectiveWhitespaces() - * @see #isTrimDirectiveWhitespaces() - * @see #setTrimDirectiveWhitespaces(boolean) - * @generated - */ - void unsetTrimDirectiveWhitespaces(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Trim Directive Whitespaces</em>' attribute is set. - * @see #unsetTrimDirectiveWhitespaces() - * @see #isTrimDirectiveWhitespaces() - * @see #setTrimDirectiveWhitespaces(boolean) - * @generated - */ - boolean isSetTrimDirectiveWhitespaces(); - - /** - * Returns the value of the '<em><b>Default Content Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The valid values of default-content-type are those of the - * contentType page directive. It specifies the default - * response contentType if the page directive does not include - * a contentType attribute. - * - * @since Java EE 6, JSP 2.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Default Content Type</em>' attribute. - * @see #setDefaultContentType(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_DefaultContentType() - * @generated - */ - String getDefaultContentType(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Default Content Type</em>' attribute. - * @see #getDefaultContentType() - * @generated - */ - void setDefaultContentType(String value); - - /** - * Returns the value of the '<em><b>Buffer</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The valid values of buffer are those of the - * buffer page directive. It specifies if buffering should be - * used for the output to response, and if so, the size of the - * buffer to use. - * - * @since Java EE 6, JSP 2.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Buffer</em>' attribute. - * @see #setBuffer(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Buffer() - * @generated - */ - String getBuffer(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Buffer</em>' attribute. - * @see #getBuffer() - * @generated - */ - void setBuffer(String value); - - /** - * Returns the value of the '<em><b>Error On Undeclared Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * The default behavior when a tag with unknown namespace is used - * in a JSP page (regular syntax) is to silently ignore it. If - * set to true, then an error must be raised during the translation - * time when an undeclared tag is used in a JSP page. Disabled - * (false) by default. - * - * @since Java EE 6, JSP 2.2 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Error On Undeclared Namespace</em>' attribute. - * @see #isSetErrorOnUndeclaredNamespace() - * @see #unsetErrorOnUndeclaredNamespace() - * @see #setErrorOnUndeclaredNamespace(boolean) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_ErrorOnUndeclaredNamespace() - * @generated - */ - boolean isErrorOnUndeclaredNamespace(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Error On Undeclared Namespace</em>' attribute. - * @see #isSetErrorOnUndeclaredNamespace() - * @see #unsetErrorOnUndeclaredNamespace() - * @see #isErrorOnUndeclaredNamespace() - * @generated - */ - void setErrorOnUndeclaredNamespace(boolean value); - - /** - * Unsets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isSetErrorOnUndeclaredNamespace() - * @see #isErrorOnUndeclaredNamespace() - * @see #setErrorOnUndeclaredNamespace(boolean) - * @generated - */ - void unsetErrorOnUndeclaredNamespace(); - - /** - * Returns whether the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}' attribute is set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return whether the value of the '<em>Error On Undeclared Namespace</em>' attribute is set. - * @see #unsetErrorOnUndeclaredNamespace() - * @see #isErrorOnUndeclaredNamespace() - * @see #setErrorOnUndeclaredNamespace(boolean) - * @generated - */ - boolean isSetErrorOnUndeclaredNamespace(); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getJspPropertyGroup_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // JspPropertyGroup
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/TagLib.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/TagLib.java deleted file mode 100644 index b1e2581b4..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/TagLib.java +++ /dev/null @@ -1,138 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp; - -import org.eclipse.jst.javaee.core.JavaEEObject; - -/** - * <!-- begin-user-doc --> - * A representation of the model object '<em><b>Tag Lib</b></em>'. - * <!-- end-user-doc --> - * - * <!-- begin-model-doc --> - * - * - * The taglibType defines the syntax for declaring in - * the deployment descriptor that a tag library is - * available to the application. This can be done - * to override implicit map entries from TLD files and - * from the container. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * - * <p> - * The following features are supported: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibUri <em>Taglib Uri</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibLocation <em>Taglib Location</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.TagLib#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getTagLib() - * @extends JavaEEObject - * @generated - */ -public interface TagLib extends JavaEEObject { - /** - * Returns the value of the '<em><b>Taglib Uri</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * A taglib-uri element describes a URI identifying a - * tag library used in the web application. The body - * of the taglib-uri element may be either an - * absolute URI specification, or a relative URI. - * There should be no entries in web.xml with the - * same taglib-uri value. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Taglib Uri</em>' attribute. - * @see #setTaglibUri(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getTagLib_TaglibUri() - * @generated - */ - String getTaglibUri(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibUri <em>Taglib Uri</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Taglib Uri</em>' attribute. - * @see #getTaglibUri() - * @generated - */ - void setTaglibUri(String value); - - /** - * Returns the value of the '<em><b>Taglib Location</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * - * the taglib-location element contains the location - * (as a resource relative to the root of the web - * application) where to find the Tag Library - * Description file for the tag library. - * - * @since Java EE 5, JSP 2.1 - * - * <!-- end-model-doc --> - * @return the value of the '<em>Taglib Location</em>' attribute. - * @see #setTaglibLocation(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getTagLib_TaglibLocation() - * @generated - */ - String getTaglibLocation(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibLocation <em>Taglib Location</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Taglib Location</em>' attribute. - * @see #getTaglibLocation() - * @generated - */ - void setTaglibLocation(String value); - - /** - * Returns the value of the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <p> - * If the meaning of the '<em>Id</em>' attribute isn't clear, - * there really should be more of a description here... - * </p> - * <!-- end-user-doc --> - * @return the value of the '<em>Id</em>' attribute. - * @see #setId(String) - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#getTagLib_Id() - * @generated - */ - String getId(); - - /** - * Sets the value of the '{@link org.eclipse.jst.javaee.jsp.TagLib#getId <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param value the new value of the '<em>Id</em>' attribute. - * @see #getId() - * @generated - */ - void setId(String value); - -} // TagLib
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspConfigImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspConfigImpl.java deleted file mode 100644 index 03f0d57d8..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspConfigImpl.java +++ /dev/null @@ -1,269 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.impl; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.jsp.JspConfig; -import org.eclipse.jst.javaee.jsp.JspPropertyGroup; -import org.eclipse.jst.javaee.jsp.TagLib; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Config</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl#getTagLibs <em>Tag Libs</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl#getJspPropertyGroups <em>Jsp Property Groups</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JspConfigImpl extends EObjectImpl implements JspConfig { - /** - * The cached value of the '{@link #getTagLibs() <em>Tag Libs</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTagLibs() - * @generated - * @ordered - */ - protected EList<TagLib> tagLibs; - - /** - * The cached value of the '{@link #getJspPropertyGroups() <em>Jsp Property Groups</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getJspPropertyGroups() - * @generated - * @ordered - */ - protected EList<JspPropertyGroup> jspPropertyGroups; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JspConfigImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JspPackage.Literals.JSP_CONFIG; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<TagLib> getTagLibs() { - if (tagLibs == null) { - tagLibs = new EObjectContainmentEList<TagLib>(TagLib.class, this, JspPackage.JSP_CONFIG__TAG_LIBS); - } - return tagLibs; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<JspPropertyGroup> getJspPropertyGroups() { - if (jspPropertyGroups == null) { - jspPropertyGroups = new EObjectContainmentEList<JspPropertyGroup>(JspPropertyGroup.class, this, JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS); - } - return jspPropertyGroups; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_CONFIG__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JspPackage.JSP_CONFIG__TAG_LIBS: - return ((InternalEList<?>)getTagLibs()).basicRemove(otherEnd, msgs); - case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS: - return ((InternalEList<?>)getJspPropertyGroups()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JspPackage.JSP_CONFIG__TAG_LIBS: - return getTagLibs(); - case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS: - return getJspPropertyGroups(); - case JspPackage.JSP_CONFIG__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JspPackage.JSP_CONFIG__TAG_LIBS: - getTagLibs().clear(); - getTagLibs().addAll((Collection<? extends TagLib>)newValue); - return; - case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS: - getJspPropertyGroups().clear(); - getJspPropertyGroups().addAll((Collection<? extends JspPropertyGroup>)newValue); - return; - case JspPackage.JSP_CONFIG__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JspPackage.JSP_CONFIG__TAG_LIBS: - getTagLibs().clear(); - return; - case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS: - getJspPropertyGroups().clear(); - return; - case JspPackage.JSP_CONFIG__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JspPackage.JSP_CONFIG__TAG_LIBS: - return tagLibs != null && !tagLibs.isEmpty(); - case JspPackage.JSP_CONFIG__JSP_PROPERTY_GROUPS: - return jspPropertyGroups != null && !jspPropertyGroups.isEmpty(); - case JspPackage.JSP_CONFIG__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //JspConfigImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspFactoryImpl.java deleted file mode 100644 index 008c1fffb..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspFactoryImpl.java +++ /dev/null @@ -1,179 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.impl; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EObject; -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.impl.EFactoryImpl; - -import org.eclipse.emf.ecore.plugin.EcorePlugin; - -import org.eclipse.jst.javaee.core.JavaeeFactory; -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; - -import org.eclipse.jst.javaee.jsp.*; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Factory</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JspFactoryImpl extends EFactoryImpl implements JspFactory { - /** - * Creates the default factory implementation. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public static JspFactory init() { - try { - JspFactory theJspFactory = (JspFactory)EPackage.Registry.INSTANCE.getEFactory("http://java.sun.com/xml/ns/javaee/jsp"); //$NON-NLS-1$ - if (theJspFactory != null) { - return theJspFactory; - } - } - catch (Exception exception) { - EcorePlugin.INSTANCE.log(exception); - } - return new JspFactoryImpl(); - } - - /** - * Creates an instance of the factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspFactoryImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public EObject create(EClass eClass) { - switch (eClass.getClassifierID()) { - case JspPackage.JSP_CONFIG: return (EObject)createJspConfig(); - case JspPackage.JSP_PROPERTY_GROUP: return (EObject)createJspPropertyGroup(); - case JspPackage.TAG_LIB: return (EObject)createTagLib(); - default: - throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object createFromString(EDataType eDataType, String initialValue) { - switch (eDataType.getClassifierID()) { - case JspPackage.JSP_FILE_TYPE: - return createJspFileTypeFromString(eDataType, initialValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String convertToString(EDataType eDataType, Object instanceValue) { - switch (eDataType.getClassifierID()) { - case JspPackage.JSP_FILE_TYPE: - return convertJspFileTypeToString(eDataType, instanceValue); - default: - throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); //$NON-NLS-1$ //$NON-NLS-2$ - } - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspConfig createJspConfig() { - JspConfigImpl jspConfig = new JspConfigImpl(); - return jspConfig; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspPropertyGroup createJspPropertyGroup() { - JspPropertyGroupImpl jspPropertyGroup = new JspPropertyGroupImpl(); - return jspPropertyGroup; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public TagLib createTagLib() { - TagLibImpl tagLib = new TagLibImpl(); - return tagLib; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String createJspFileTypeFromString(EDataType eDataType, String initialValue) { - return (String)JavaeeFactory.eINSTANCE.createFromString(JavaeePackage.Literals.PATH_TYPE, initialValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String convertJspFileTypeToString(EDataType eDataType, Object instanceValue) { - return JavaeeFactory.eINSTANCE.convertToString(JavaeePackage.Literals.PATH_TYPE, instanceValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspPackage getJspPackage() { - return (JspPackage)getEPackage(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @deprecated - * @generated - */ - @Deprecated - public static JspPackage getPackage() { - return JspPackage.eINSTANCE; - } - -} //JspFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPackageImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPackageImpl.java deleted file mode 100644 index 1c6d38b9e..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPackageImpl.java +++ /dev/null @@ -1,727 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.impl; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; - -import org.eclipse.emf.ecore.impl.EPackageImpl; - -import org.eclipse.emf.ecore.xml.namespace.XMLNamespacePackage; - -import org.eclipse.emf.ecore.xml.type.XMLTypePackage; - -import org.eclipse.jst.j2ee.core.internal.plugin.J2EECorePlugin; -import org.eclipse.jst.j2ee.internal.J2EEInit; -import org.eclipse.jst.javaee.core.internal.metadata.JavaeePackage; -import org.eclipse.jst.javaee.jsp.JspConfig; -import org.eclipse.jst.javaee.jsp.JspFactory; -import org.eclipse.jst.javaee.jsp.JspPropertyGroup; -import org.eclipse.jst.javaee.jsp.TagLib; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model <b>Package</b>. - * <!-- end-user-doc --> - * @generated - */ -public class JspPackageImpl extends EPackageImpl implements JspPackage { - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jspConfigEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass jspPropertyGroupEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EClass tagLibEClass = null; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private EDataType jspFileTypeEDataType = null; - - /** - * Creates an instance of the model <b>Package</b>, registered with - * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the package - * package URI value. - * <p>Note: the correct way to create the package is via the static - * factory method {@link #init init()}, which also performs - * initialization of the package, or returns the registered package, - * if one already exists. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.emf.ecore.EPackage.Registry - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage#eNS_URI - * @see #init() - * @generated - */ - private JspPackageImpl() { - super(eNS_URI, JspFactory.eINSTANCE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private volatile static boolean isInited = false; - - /** - * Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends. - * - * <p>This method is used to initialize {@link JspPackage#eINSTANCE} when that field is accessed. - * Clients should not invoke it directly. Instead, they should simply access that field to obtain the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #eNS_URI - * @see #createPackageContents() - * @see #initializePackageContents() - * @generated - */ - public static JspPackage init() { - if (isInited) return (JspPackage)EPackage.Registry.INSTANCE.getEPackage(JspPackage.eNS_URI); - - // Obtain or create and register package - JspPackageImpl theJspPackage = (JspPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof JspPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new JspPackageImpl()); - - isInited = true; - - // Initialize simple dependencies - XMLNamespacePackage.eINSTANCE.eClass(); - XMLTypePackage.eINSTANCE.eClass(); - - // Create package meta-data objects - theJspPackage.createPackageContents(); - - // Initialize created meta-data - theJspPackage.initializePackageContents(); - - // Mark meta-data to indicate it can't be changed - theJspPackage.freeze(); - - - // Update the registry and return the package - EPackage.Registry.INSTANCE.put(JspPackage.eNS_URI, theJspPackage); - - J2EEInit.initEMFModels(); - return theJspPackage; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJspConfig() { - return jspConfigEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspConfig_TagLibs() { - return (EReference)jspConfigEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspConfig_JspPropertyGroups() { - return (EReference)jspConfigEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspConfig_Id() { - return (EAttribute)jspConfigEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getJspPropertyGroup() { - return jspPropertyGroupEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspPropertyGroup_Descriptions() { - return (EReference)jspPropertyGroupEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspPropertyGroup_DisplayNames() { - return (EReference)jspPropertyGroupEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspPropertyGroup_Icons() { - return (EReference)jspPropertyGroupEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EReference getJspPropertyGroup_UrlPatterns() { - return (EReference)jspPropertyGroupEClass.getEStructuralFeatures().get(3); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_ElIgnored() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(4); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_PageEncoding() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(5); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_ScriptingInvalid() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(6); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_IsXml() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(7); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_IncludePreludes() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(8); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_IncludeCodas() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(9); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(10); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_TrimDirectiveWhitespaces() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(11); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_DefaultContentType() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(12); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_Buffer() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(13); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_ErrorOnUndeclaredNamespace() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(14); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getJspPropertyGroup_Id() { - return (EAttribute)jspPropertyGroupEClass.getEStructuralFeatures().get(15); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EClass getTagLib() { - return tagLibEClass; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagLib_TaglibUri() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(0); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagLib_TaglibLocation() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(1); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EAttribute getTagLib_Id() { - return (EAttribute)tagLibEClass.getEStructuralFeatures().get(2); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public EDataType getJspFileType() { - return jspFileTypeEDataType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspFactory getJspFactory() { - return (JspFactory)getEFactoryInstance(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isCreated = false; - - /** - * Creates the meta-model objects for the package. This method is - * guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void createPackageContents() { - if (isCreated) return; - isCreated = true; - - // Create classes and their features - jspConfigEClass = createEClass(JSP_CONFIG); - createEReference(jspConfigEClass, JSP_CONFIG__TAG_LIBS); - createEReference(jspConfigEClass, JSP_CONFIG__JSP_PROPERTY_GROUPS); - createEAttribute(jspConfigEClass, JSP_CONFIG__ID); - - jspPropertyGroupEClass = createEClass(JSP_PROPERTY_GROUP); - createEReference(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DESCRIPTIONS); - createEReference(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DISPLAY_NAMES); - createEReference(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ICONS); - createEReference(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__URL_PATTERNS); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__EL_IGNORED); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__PAGE_ENCODING); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__SCRIPTING_INVALID); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__IS_XML); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__INCLUDE_PRELUDES); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__INCLUDE_CODAS); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__BUFFER); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE); - createEAttribute(jspPropertyGroupEClass, JSP_PROPERTY_GROUP__ID); - - tagLibEClass = createEClass(TAG_LIB); - createEAttribute(tagLibEClass, TAG_LIB__TAGLIB_URI); - createEAttribute(tagLibEClass, TAG_LIB__TAGLIB_LOCATION); - createEAttribute(tagLibEClass, TAG_LIB__ID); - - // Create data types - jspFileTypeEDataType = createEDataType(JSP_FILE_TYPE); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - private boolean isInitialized = false; - - /** - * Complete the initialization of the package and its meta-model. This - * method is guarded to have no affect on any invocation but its first. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void initializePackageContents() { - if (isInitialized) return; - isInitialized = true; - - // Initialize package - setName(eNAME); - setNsPrefix(eNS_PREFIX); - setNsURI(eNS_URI); - - // Obtain other dependent packages - XMLTypePackage theXMLTypePackage = (XMLTypePackage)EPackage.Registry.INSTANCE.getEPackage(XMLTypePackage.eNS_URI); - JavaeePackage theJavaeePackage = (JavaeePackage)EPackage.Registry.INSTANCE.getEPackage(JavaeePackage.eNS_URI); - - // Create type parameters - - // Set bounds for type parameters - - boolean hasLock = false; - try { - hasLock = J2EEInit.aquireInitializePackageContentsLock(); - } catch (InterruptedException e) { - J2EECorePlugin.logError(e); - } - - try{ - // Add supertypes to classes - - // Initialize classes and features; add operations and parameters - initEClass(jspConfigEClass, JspConfig.class, "JspConfig", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getJspConfig_TagLibs(), this.getTagLib(), null, "tagLibs", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getJspConfig_JspPropertyGroups(), this.getJspPropertyGroup(), null, "jspPropertyGroups", null, 0, -1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspConfig_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspConfig.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(jspPropertyGroupEClass, JspPropertyGroup.class, "JspPropertyGroup", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEReference(getJspPropertyGroup_Descriptions(), theJavaeePackage.getDescription(), null, "descriptions", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getJspPropertyGroup_DisplayNames(), theJavaeePackage.getDisplayName(), null, "displayNames", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getJspPropertyGroup_Icons(), theJavaeePackage.getIcon(), null, "icons", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEReference(getJspPropertyGroup_UrlPatterns(), theJavaeePackage.getUrlPatternType(), null, "urlPatterns", null, 1, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, !IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_ElIgnored(), theJavaeePackage.getTrueFalseType(), "elIgnored", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_PageEncoding(), theXMLTypePackage.getToken(), "pageEncoding", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_ScriptingInvalid(), theJavaeePackage.getTrueFalseType(), "scriptingInvalid", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_IsXml(), theJavaeePackage.getTrueFalseType(), "isXml", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_IncludePreludes(), theJavaeePackage.getPathType(), "includePreludes", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_IncludeCodas(), theJavaeePackage.getPathType(), "includeCodas", null, 0, -1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, !IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(), theJavaeePackage.getTrueFalseType(), "deferredSyntaxAllowedAsLiteral", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_TrimDirectiveWhitespaces(), theJavaeePackage.getTrueFalseType(), "trimDirectiveWhitespaces", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_DefaultContentType(), theXMLTypePackage.getToken(), "defaultContentType", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_Buffer(), theXMLTypePackage.getToken(), "buffer", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_ErrorOnUndeclaredNamespace(), theJavaeePackage.getTrueFalseType(), "errorOnUndeclaredNamespace", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getJspPropertyGroup_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, JspPropertyGroup.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - initEClass(tagLibEClass, TagLib.class, "TagLib", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - initEAttribute(getTagLib_TaglibUri(), theXMLTypePackage.getToken(), "taglibUri", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getTagLib_TaglibLocation(), theJavaeePackage.getPathType(), "taglibLocation", null, 1, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - initEAttribute(getTagLib_Id(), theXMLTypePackage.getID(), "id", null, 0, 1, TagLib.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED); //$NON-NLS-1$ - - // Initialize data types - initEDataType(jspFileTypeEDataType, String.class, "JspFileType", IS_SERIALIZABLE, !IS_GENERATED_INSTANCE_CLASS); //$NON-NLS-1$ - - // Create resource - createResource(eNS_URI); - - // Create annotations - // http:///org/eclipse/emf/ecore/util/ExtendedMetaData - createExtendedMetaDataAnnotations(); - }finally{ - if( hasLock ) - J2EEInit.releaseInitializePackageContentsLock(); - } - } - - /** - * Initializes the annotations for <b>http:///org/eclipse/emf/ecore/util/ExtendedMetaData</b>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected void createExtendedMetaDataAnnotations() { - String source = "http:///org/eclipse/emf/ecore/util/ExtendedMetaData"; //$NON-NLS-1$ - addAnnotation - (jspConfigEClass, - source, - new String[] { - "name", "jsp-configType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspConfig_TagLibs(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "taglib", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspConfig_JspPropertyGroups(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "jsp-property-group", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspConfig_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (jspFileTypeEDataType, - source, - new String[] { - "name", "jsp-fileType", //$NON-NLS-1$ //$NON-NLS-2$ - "baseType", "http://java.sun.com/xml/ns/javaee#pathType" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (jspPropertyGroupEClass, - source, - new String[] { - "name", "jsp-property-groupType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_Descriptions(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "description", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_DisplayNames(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "display-name", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_Icons(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "icon", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "http://java.sun.com/xml/ns/javaee" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_UrlPatterns(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "url-pattern", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_ElIgnored(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "el-ignored", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_PageEncoding(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "page-encoding", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_ScriptingInvalid(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "scripting-invalid", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_IsXml(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "is-xml", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_IncludePreludes(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "include-prelude", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_IncludeCodas(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "include-coda", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "deferred-syntax-allowed-as-literal", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_TrimDirectiveWhitespaces(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "trim-directive-whitespaces", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_DefaultContentType(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "default-content-type", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_Buffer(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "buffer", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_ErrorOnUndeclaredNamespace(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "error-on-undeclared-namespace", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getJspPropertyGroup_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (tagLibEClass, - source, - new String[] { - "name", "taglibType", //$NON-NLS-1$ //$NON-NLS-2$ - "kind", "elementOnly" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getTagLib_TaglibUri(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "taglib-uri", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getTagLib_TaglibLocation(), - source, - new String[] { - "kind", "element", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "taglib-location", //$NON-NLS-1$ //$NON-NLS-2$ - "namespace", "##targetNamespace" //$NON-NLS-1$ //$NON-NLS-2$ - }); - addAnnotation - (getTagLib_Id(), - source, - new String[] { - "kind", "attribute", //$NON-NLS-1$ //$NON-NLS-2$ - "name", "id" //$NON-NLS-1$ //$NON-NLS-2$ - }); - } - -} //JspPackageImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPropertyGroupImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPropertyGroupImpl.java deleted file mode 100644 index 8359bde53..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/JspPropertyGroupImpl.java +++ /dev/null @@ -1,1107 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.impl; - -import java.util.Collection; -import java.util.List; - -import org.eclipse.emf.common.notify.Notification; -import org.eclipse.emf.common.notify.NotificationChain; - -import org.eclipse.emf.common.util.EList; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.InternalEObject; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.emf.ecore.util.EDataTypeEList; -import org.eclipse.emf.ecore.util.EObjectContainmentEList; -import org.eclipse.emf.ecore.util.InternalEList; - -import org.eclipse.jst.javaee.core.Description; -import org.eclipse.jst.javaee.core.DisplayName; -import org.eclipse.jst.javaee.core.Icon; -import org.eclipse.jst.javaee.core.UrlPatternType; - -import org.eclipse.jst.javaee.jsp.JspPropertyGroup; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Property Group</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getDescriptions <em>Descriptions</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getDisplayNames <em>Display Names</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getIcons <em>Icons</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getUrlPatterns <em>Url Patterns</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isElIgnored <em>El Ignored</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getPageEncoding <em>Page Encoding</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isScriptingInvalid <em>Scripting Invalid</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isIsXml <em>Is Xml</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getIncludePreludes <em>Include Preludes</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getIncludeCodas <em>Include Codas</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getDefaultContentType <em>Default Content Type</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getBuffer <em>Buffer</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class JspPropertyGroupImpl extends EObjectImpl implements JspPropertyGroup { - /** - * The cached value of the '{@link #getDescriptions() <em>Descriptions</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDescriptions() - * @generated - * @ordered - */ - protected EList<Description> descriptions; - - /** - * The cached value of the '{@link #getDisplayNames() <em>Display Names</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDisplayNames() - * @generated - * @ordered - */ - protected EList<DisplayName> displayNames; - - /** - * The cached value of the '{@link #getIcons() <em>Icons</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIcons() - * @generated - * @ordered - */ - protected EList<Icon> icons; - - /** - * The cached value of the '{@link #getUrlPatterns() <em>Url Patterns</em>}' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getUrlPatterns() - * @generated - * @ordered - */ - protected EList<UrlPatternType> urlPatterns; - - /** - * The default value of the '{@link #isElIgnored() <em>El Ignored</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isElIgnored() - * @generated - * @ordered - */ - protected static final boolean EL_IGNORED_EDEFAULT = false; - - /** - * The cached value of the '{@link #isElIgnored() <em>El Ignored</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isElIgnored() - * @generated - * @ordered - */ - protected boolean elIgnored = EL_IGNORED_EDEFAULT; - - /** - * This is true if the El Ignored attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean elIgnoredESet; - - /** - * The default value of the '{@link #getPageEncoding() <em>Page Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPageEncoding() - * @generated - * @ordered - */ - protected static final String PAGE_ENCODING_EDEFAULT = null; - - /** - * The cached value of the '{@link #getPageEncoding() <em>Page Encoding</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getPageEncoding() - * @generated - * @ordered - */ - protected String pageEncoding = PAGE_ENCODING_EDEFAULT; - - /** - * The default value of the '{@link #isScriptingInvalid() <em>Scripting Invalid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isScriptingInvalid() - * @generated - * @ordered - */ - protected static final boolean SCRIPTING_INVALID_EDEFAULT = false; - - /** - * The cached value of the '{@link #isScriptingInvalid() <em>Scripting Invalid</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isScriptingInvalid() - * @generated - * @ordered - */ - protected boolean scriptingInvalid = SCRIPTING_INVALID_EDEFAULT; - - /** - * This is true if the Scripting Invalid attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean scriptingInvalidESet; - - /** - * The default value of the '{@link #isIsXml() <em>Is Xml</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isIsXml() - * @generated - * @ordered - */ - protected static final boolean IS_XML_EDEFAULT = false; - - /** - * The cached value of the '{@link #isIsXml() <em>Is Xml</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isIsXml() - * @generated - * @ordered - */ - protected boolean isXml = IS_XML_EDEFAULT; - - /** - * This is true if the Is Xml attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean isXmlESet; - - /** - * The cached value of the '{@link #getIncludePreludes() <em>Include Preludes</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIncludePreludes() - * @generated - * @ordered - */ - protected EList<String> includePreludes; - - /** - * The cached value of the '{@link #getIncludeCodas() <em>Include Codas</em>}' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getIncludeCodas() - * @generated - * @ordered - */ - protected EList<String> includeCodas; - - /** - * The default value of the '{@link #isDeferredSyntaxAllowedAsLiteral() <em>Deferred Syntax Allowed As Literal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDeferredSyntaxAllowedAsLiteral() - * @generated - * @ordered - */ - protected static final boolean DEFERRED_SYNTAX_ALLOWED_AS_LITERAL_EDEFAULT = false; - - /** - * The cached value of the '{@link #isDeferredSyntaxAllowedAsLiteral() <em>Deferred Syntax Allowed As Literal</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isDeferredSyntaxAllowedAsLiteral() - * @generated - * @ordered - */ - protected boolean deferredSyntaxAllowedAsLiteral = DEFERRED_SYNTAX_ALLOWED_AS_LITERAL_EDEFAULT; - - /** - * This is true if the Deferred Syntax Allowed As Literal attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean deferredSyntaxAllowedAsLiteralESet; - - /** - * The default value of the '{@link #isTrimDirectiveWhitespaces() <em>Trim Directive Whitespaces</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTrimDirectiveWhitespaces() - * @generated - * @ordered - */ - protected static final boolean TRIM_DIRECTIVE_WHITESPACES_EDEFAULT = false; - - /** - * The cached value of the '{@link #isTrimDirectiveWhitespaces() <em>Trim Directive Whitespaces</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isTrimDirectiveWhitespaces() - * @generated - * @ordered - */ - protected boolean trimDirectiveWhitespaces = TRIM_DIRECTIVE_WHITESPACES_EDEFAULT; - - /** - * This is true if the Trim Directive Whitespaces attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean trimDirectiveWhitespacesESet; - - /** - * The default value of the '{@link #getDefaultContentType() <em>Default Content Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultContentType() - * @generated - * @ordered - */ - protected static final String DEFAULT_CONTENT_TYPE_EDEFAULT = null; - - /** - * The cached value of the '{@link #getDefaultContentType() <em>Default Content Type</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getDefaultContentType() - * @generated - * @ordered - */ - protected String defaultContentType = DEFAULT_CONTENT_TYPE_EDEFAULT; - - /** - * The default value of the '{@link #getBuffer() <em>Buffer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBuffer() - * @generated - * @ordered - */ - protected static final String BUFFER_EDEFAULT = null; - - /** - * The cached value of the '{@link #getBuffer() <em>Buffer</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getBuffer() - * @generated - * @ordered - */ - protected String buffer = BUFFER_EDEFAULT; - - /** - * The default value of the '{@link #isErrorOnUndeclaredNamespace() <em>Error On Undeclared Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isErrorOnUndeclaredNamespace() - * @generated - * @ordered - */ - protected static final boolean ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT = false; - - /** - * The cached value of the '{@link #isErrorOnUndeclaredNamespace() <em>Error On Undeclared Namespace</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #isErrorOnUndeclaredNamespace() - * @generated - * @ordered - */ - protected boolean errorOnUndeclaredNamespace = ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT; - - /** - * This is true if the Error On Undeclared Namespace attribute has been set. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - protected boolean errorOnUndeclaredNamespaceESet; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JspPropertyGroupImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JspPackage.Literals.JSP_PROPERTY_GROUP; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Description> getDescriptions() { - if (descriptions == null) { - descriptions = new EObjectContainmentEList<Description>(Description.class, this, JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS); - } - return descriptions; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<DisplayName> getDisplayNames() { - if (displayNames == null) { - displayNames = new EObjectContainmentEList<DisplayName>(DisplayName.class, this, JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES); - } - return displayNames; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<Icon> getIcons() { - if (icons == null) { - icons = new EObjectContainmentEList<Icon>(Icon.class, this, JspPackage.JSP_PROPERTY_GROUP__ICONS); - } - return icons; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<UrlPatternType> getUrlPatterns() { - if (urlPatterns == null) { - urlPatterns = new EObjectContainmentEList<UrlPatternType>(UrlPatternType.class, this, JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS); - } - return urlPatterns; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isElIgnored() { - return elIgnored; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setElIgnored(boolean newElIgnored) { - boolean oldElIgnored = elIgnored; - elIgnored = newElIgnored; - boolean oldElIgnoredESet = elIgnoredESet; - elIgnoredESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED, oldElIgnored, elIgnored, !oldElIgnoredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetElIgnored() { - boolean oldElIgnored = elIgnored; - boolean oldElIgnoredESet = elIgnoredESet; - elIgnored = EL_IGNORED_EDEFAULT; - elIgnoredESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED, oldElIgnored, EL_IGNORED_EDEFAULT, oldElIgnoredESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetElIgnored() { - return elIgnoredESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getPageEncoding() { - return pageEncoding; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setPageEncoding(String newPageEncoding) { - String oldPageEncoding = pageEncoding; - pageEncoding = newPageEncoding; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING, oldPageEncoding, pageEncoding)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isScriptingInvalid() { - return scriptingInvalid; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setScriptingInvalid(boolean newScriptingInvalid) { - boolean oldScriptingInvalid = scriptingInvalid; - scriptingInvalid = newScriptingInvalid; - boolean oldScriptingInvalidESet = scriptingInvalidESet; - scriptingInvalidESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID, oldScriptingInvalid, scriptingInvalid, !oldScriptingInvalidESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetScriptingInvalid() { - boolean oldScriptingInvalid = scriptingInvalid; - boolean oldScriptingInvalidESet = scriptingInvalidESet; - scriptingInvalid = SCRIPTING_INVALID_EDEFAULT; - scriptingInvalidESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID, oldScriptingInvalid, SCRIPTING_INVALID_EDEFAULT, oldScriptingInvalidESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetScriptingInvalid() { - return scriptingInvalidESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isIsXml() { - return isXml; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setIsXml(boolean newIsXml) { - boolean oldIsXml = isXml; - isXml = newIsXml; - boolean oldIsXmlESet = isXmlESet; - isXmlESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__IS_XML, oldIsXml, isXml, !oldIsXmlESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetIsXml() { - boolean oldIsXml = isXml; - boolean oldIsXmlESet = isXmlESet; - isXml = IS_XML_EDEFAULT; - isXmlESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__IS_XML, oldIsXml, IS_XML_EDEFAULT, oldIsXmlESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetIsXml() { - return isXmlESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> getIncludePreludes() { - if (includePreludes == null) { - includePreludes = new EDataTypeEList<String>(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES); - } - return includePreludes; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public List<String> getIncludeCodas() { - if (includeCodas == null) { - includeCodas = new EDataTypeEList<String>(String.class, this, JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS); - } - return includeCodas; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isDeferredSyntaxAllowedAsLiteral() { - return deferredSyntaxAllowedAsLiteral; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDeferredSyntaxAllowedAsLiteral(boolean newDeferredSyntaxAllowedAsLiteral) { - boolean oldDeferredSyntaxAllowedAsLiteral = deferredSyntaxAllowedAsLiteral; - deferredSyntaxAllowedAsLiteral = newDeferredSyntaxAllowedAsLiteral; - boolean oldDeferredSyntaxAllowedAsLiteralESet = deferredSyntaxAllowedAsLiteralESet; - deferredSyntaxAllowedAsLiteralESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL, oldDeferredSyntaxAllowedAsLiteral, deferredSyntaxAllowedAsLiteral, !oldDeferredSyntaxAllowedAsLiteralESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetDeferredSyntaxAllowedAsLiteral() { - boolean oldDeferredSyntaxAllowedAsLiteral = deferredSyntaxAllowedAsLiteral; - boolean oldDeferredSyntaxAllowedAsLiteralESet = deferredSyntaxAllowedAsLiteralESet; - deferredSyntaxAllowedAsLiteral = DEFERRED_SYNTAX_ALLOWED_AS_LITERAL_EDEFAULT; - deferredSyntaxAllowedAsLiteralESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL, oldDeferredSyntaxAllowedAsLiteral, DEFERRED_SYNTAX_ALLOWED_AS_LITERAL_EDEFAULT, oldDeferredSyntaxAllowedAsLiteralESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetDeferredSyntaxAllowedAsLiteral() { - return deferredSyntaxAllowedAsLiteralESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isTrimDirectiveWhitespaces() { - return trimDirectiveWhitespaces; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTrimDirectiveWhitespaces(boolean newTrimDirectiveWhitespaces) { - boolean oldTrimDirectiveWhitespaces = trimDirectiveWhitespaces; - trimDirectiveWhitespaces = newTrimDirectiveWhitespaces; - boolean oldTrimDirectiveWhitespacesESet = trimDirectiveWhitespacesESet; - trimDirectiveWhitespacesESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES, oldTrimDirectiveWhitespaces, trimDirectiveWhitespaces, !oldTrimDirectiveWhitespacesESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetTrimDirectiveWhitespaces() { - boolean oldTrimDirectiveWhitespaces = trimDirectiveWhitespaces; - boolean oldTrimDirectiveWhitespacesESet = trimDirectiveWhitespacesESet; - trimDirectiveWhitespaces = TRIM_DIRECTIVE_WHITESPACES_EDEFAULT; - trimDirectiveWhitespacesESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES, oldTrimDirectiveWhitespaces, TRIM_DIRECTIVE_WHITESPACES_EDEFAULT, oldTrimDirectiveWhitespacesESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetTrimDirectiveWhitespaces() { - return trimDirectiveWhitespacesESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getDefaultContentType() { - return defaultContentType; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setDefaultContentType(String newDefaultContentType) { - String oldDefaultContentType = defaultContentType; - defaultContentType = newDefaultContentType; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE, oldDefaultContentType, defaultContentType)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getBuffer() { - return buffer; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setBuffer(String newBuffer) { - String oldBuffer = buffer; - buffer = newBuffer; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__BUFFER, oldBuffer, buffer)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isErrorOnUndeclaredNamespace() { - return errorOnUndeclaredNamespace; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setErrorOnUndeclaredNamespace(boolean newErrorOnUndeclaredNamespace) { - boolean oldErrorOnUndeclaredNamespace = errorOnUndeclaredNamespace; - errorOnUndeclaredNamespace = newErrorOnUndeclaredNamespace; - boolean oldErrorOnUndeclaredNamespaceESet = errorOnUndeclaredNamespaceESet; - errorOnUndeclaredNamespaceESet = true; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE, oldErrorOnUndeclaredNamespace, errorOnUndeclaredNamespace, !oldErrorOnUndeclaredNamespaceESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void unsetErrorOnUndeclaredNamespace() { - boolean oldErrorOnUndeclaredNamespace = errorOnUndeclaredNamespace; - boolean oldErrorOnUndeclaredNamespaceESet = errorOnUndeclaredNamespaceESet; - errorOnUndeclaredNamespace = ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT; - errorOnUndeclaredNamespaceESet = false; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.UNSET, JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE, oldErrorOnUndeclaredNamespace, ERROR_ON_UNDECLARED_NAMESPACE_EDEFAULT, oldErrorOnUndeclaredNamespaceESet)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public boolean isSetErrorOnUndeclaredNamespace() { - return errorOnUndeclaredNamespaceESet; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.JSP_PROPERTY_GROUP__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { - switch (featureID) { - case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS: - return ((InternalEList<?>)getDescriptions()).basicRemove(otherEnd, msgs); - case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES: - return ((InternalEList<?>)getDisplayNames()).basicRemove(otherEnd, msgs); - case JspPackage.JSP_PROPERTY_GROUP__ICONS: - return ((InternalEList<?>)getIcons()).basicRemove(otherEnd, msgs); - case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS: - return ((InternalEList<?>)getUrlPatterns()).basicRemove(otherEnd, msgs); - } - return super.eInverseRemove(otherEnd, featureID, msgs); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS: - return getDescriptions(); - case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES: - return getDisplayNames(); - case JspPackage.JSP_PROPERTY_GROUP__ICONS: - return getIcons(); - case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS: - return getUrlPatterns(); - case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED: - return isElIgnored(); - case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING: - return getPageEncoding(); - case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID: - return isScriptingInvalid(); - case JspPackage.JSP_PROPERTY_GROUP__IS_XML: - return isIsXml(); - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES: - return getIncludePreludes(); - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS: - return getIncludeCodas(); - case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL: - return isDeferredSyntaxAllowedAsLiteral(); - case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES: - return isTrimDirectiveWhitespaces(); - case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE: - return getDefaultContentType(); - case JspPackage.JSP_PROPERTY_GROUP__BUFFER: - return getBuffer(); - case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE: - return isErrorOnUndeclaredNamespace(); - case JspPackage.JSP_PROPERTY_GROUP__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @SuppressWarnings("unchecked") - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS: - getDescriptions().clear(); - getDescriptions().addAll((Collection<? extends Description>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES: - getDisplayNames().clear(); - getDisplayNames().addAll((Collection<? extends DisplayName>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__ICONS: - getIcons().clear(); - getIcons().addAll((Collection<? extends Icon>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS: - getUrlPatterns().clear(); - getUrlPatterns().addAll((Collection<? extends UrlPatternType>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED: - setElIgnored((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING: - setPageEncoding((String)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID: - setScriptingInvalid((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__IS_XML: - setIsXml((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES: - getIncludePreludes().clear(); - getIncludePreludes().addAll((Collection<? extends String>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS: - getIncludeCodas().clear(); - getIncludeCodas().addAll((Collection<? extends String>)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL: - setDeferredSyntaxAllowedAsLiteral((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES: - setTrimDirectiveWhitespaces((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE: - setDefaultContentType((String)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__BUFFER: - setBuffer((String)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE: - setErrorOnUndeclaredNamespace((Boolean)newValue); - return; - case JspPackage.JSP_PROPERTY_GROUP__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS: - getDescriptions().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES: - getDisplayNames().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__ICONS: - getIcons().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS: - getUrlPatterns().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED: - unsetElIgnored(); - return; - case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING: - setPageEncoding(PAGE_ENCODING_EDEFAULT); - return; - case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID: - unsetScriptingInvalid(); - return; - case JspPackage.JSP_PROPERTY_GROUP__IS_XML: - unsetIsXml(); - return; - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES: - getIncludePreludes().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS: - getIncludeCodas().clear(); - return; - case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL: - unsetDeferredSyntaxAllowedAsLiteral(); - return; - case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES: - unsetTrimDirectiveWhitespaces(); - return; - case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE: - setDefaultContentType(DEFAULT_CONTENT_TYPE_EDEFAULT); - return; - case JspPackage.JSP_PROPERTY_GROUP__BUFFER: - setBuffer(BUFFER_EDEFAULT); - return; - case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE: - unsetErrorOnUndeclaredNamespace(); - return; - case JspPackage.JSP_PROPERTY_GROUP__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JspPackage.JSP_PROPERTY_GROUP__DESCRIPTIONS: - return descriptions != null && !descriptions.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__DISPLAY_NAMES: - return displayNames != null && !displayNames.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__ICONS: - return icons != null && !icons.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__URL_PATTERNS: - return urlPatterns != null && !urlPatterns.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__EL_IGNORED: - return isSetElIgnored(); - case JspPackage.JSP_PROPERTY_GROUP__PAGE_ENCODING: - return PAGE_ENCODING_EDEFAULT == null ? pageEncoding != null : !PAGE_ENCODING_EDEFAULT.equals(pageEncoding); - case JspPackage.JSP_PROPERTY_GROUP__SCRIPTING_INVALID: - return isSetScriptingInvalid(); - case JspPackage.JSP_PROPERTY_GROUP__IS_XML: - return isSetIsXml(); - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_PRELUDES: - return includePreludes != null && !includePreludes.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__INCLUDE_CODAS: - return includeCodas != null && !includeCodas.isEmpty(); - case JspPackage.JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL: - return isSetDeferredSyntaxAllowedAsLiteral(); - case JspPackage.JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES: - return isSetTrimDirectiveWhitespaces(); - case JspPackage.JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE: - return DEFAULT_CONTENT_TYPE_EDEFAULT == null ? defaultContentType != null : !DEFAULT_CONTENT_TYPE_EDEFAULT.equals(defaultContentType); - case JspPackage.JSP_PROPERTY_GROUP__BUFFER: - return BUFFER_EDEFAULT == null ? buffer != null : !BUFFER_EDEFAULT.equals(buffer); - case JspPackage.JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE: - return isSetErrorOnUndeclaredNamespace(); - case JspPackage.JSP_PROPERTY_GROUP__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (elIgnored: "); //$NON-NLS-1$ - if (elIgnoredESet) result.append(elIgnored); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", pageEncoding: "); //$NON-NLS-1$ - result.append(pageEncoding); - result.append(", scriptingInvalid: "); //$NON-NLS-1$ - if (scriptingInvalidESet) result.append(scriptingInvalid); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", isXml: "); //$NON-NLS-1$ - if (isXmlESet) result.append(isXml); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", includePreludes: "); //$NON-NLS-1$ - result.append(includePreludes); - result.append(", includeCodas: "); //$NON-NLS-1$ - result.append(includeCodas); - result.append(", deferredSyntaxAllowedAsLiteral: "); //$NON-NLS-1$ - if (deferredSyntaxAllowedAsLiteralESet) result.append(deferredSyntaxAllowedAsLiteral); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", trimDirectiveWhitespaces: "); //$NON-NLS-1$ - if (trimDirectiveWhitespacesESet) result.append(trimDirectiveWhitespaces); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", defaultContentType: "); //$NON-NLS-1$ - result.append(defaultContentType); - result.append(", buffer: "); //$NON-NLS-1$ - result.append(buffer); - result.append(", errorOnUndeclaredNamespace: "); //$NON-NLS-1$ - if (errorOnUndeclaredNamespaceESet) result.append(errorOnUndeclaredNamespace); else result.append("<unset>"); //$NON-NLS-1$ - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //JspPropertyGroupImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/TagLibImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/TagLibImpl.java deleted file mode 100644 index f30da409b..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/impl/TagLibImpl.java +++ /dev/null @@ -1,280 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.impl; - -import org.eclipse.emf.common.notify.Notification; - -import org.eclipse.emf.ecore.EClass; - -import org.eclipse.emf.ecore.impl.ENotificationImpl; -import org.eclipse.emf.ecore.impl.EObjectImpl; - -import org.eclipse.jst.javaee.jsp.TagLib; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * An implementation of the model object '<em><b>Tag Lib</b></em>'. - * <!-- end-user-doc --> - * <p> - * The following features are implemented: - * <ul> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl#getTaglibUri <em>Taglib Uri</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl#getTaglibLocation <em>Taglib Location</em>}</li> - * <li>{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl#getId <em>Id</em>}</li> - * </ul> - * </p> - * - * @generated - */ -public class TagLibImpl extends EObjectImpl implements TagLib { - /** - * The default value of the '{@link #getTaglibUri() <em>Taglib Uri</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaglibUri() - * @generated - * @ordered - */ - protected static final String TAGLIB_URI_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTaglibUri() <em>Taglib Uri</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaglibUri() - * @generated - * @ordered - */ - protected String taglibUri = TAGLIB_URI_EDEFAULT; - - /** - * The default value of the '{@link #getTaglibLocation() <em>Taglib Location</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaglibLocation() - * @generated - * @ordered - */ - protected static final String TAGLIB_LOCATION_EDEFAULT = null; - - /** - * The cached value of the '{@link #getTaglibLocation() <em>Taglib Location</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getTaglibLocation() - * @generated - * @ordered - */ - protected String taglibLocation = TAGLIB_LOCATION_EDEFAULT; - - /** - * The default value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected static final String ID_EDEFAULT = null; - - /** - * The cached value of the '{@link #getId() <em>Id</em>}' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see #getId() - * @generated - * @ordered - */ - protected String id = ID_EDEFAULT; - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected TagLibImpl() { - super(); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected EClass eStaticClass() { - return JspPackage.Literals.TAG_LIB; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getTaglibUri() { - return taglibUri; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTaglibUri(String newTaglibUri) { - String oldTaglibUri = taglibUri; - taglibUri = newTaglibUri; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.TAG_LIB__TAGLIB_URI, oldTaglibUri, taglibUri)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getTaglibLocation() { - return taglibLocation; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setTaglibLocation(String newTaglibLocation) { - String oldTaglibLocation = taglibLocation; - taglibLocation = newTaglibLocation; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.TAG_LIB__TAGLIB_LOCATION, oldTaglibLocation, taglibLocation)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public String getId() { - return id; - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public void setId(String newId) { - String oldId = id; - id = newId; - if (eNotificationRequired()) - eNotify(new ENotificationImpl(this, Notification.SET, JspPackage.TAG_LIB__ID, oldId, id)); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Object eGet(int featureID, boolean resolve, boolean coreType) { - switch (featureID) { - case JspPackage.TAG_LIB__TAGLIB_URI: - return getTaglibUri(); - case JspPackage.TAG_LIB__TAGLIB_LOCATION: - return getTaglibLocation(); - case JspPackage.TAG_LIB__ID: - return getId(); - } - return super.eGet(featureID, resolve, coreType); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eSet(int featureID, Object newValue) { - switch (featureID) { - case JspPackage.TAG_LIB__TAGLIB_URI: - setTaglibUri((String)newValue); - return; - case JspPackage.TAG_LIB__TAGLIB_LOCATION: - setTaglibLocation((String)newValue); - return; - case JspPackage.TAG_LIB__ID: - setId((String)newValue); - return; - } - super.eSet(featureID, newValue); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public void eUnset(int featureID) { - switch (featureID) { - case JspPackage.TAG_LIB__TAGLIB_URI: - setTaglibUri(TAGLIB_URI_EDEFAULT); - return; - case JspPackage.TAG_LIB__TAGLIB_LOCATION: - setTaglibLocation(TAGLIB_LOCATION_EDEFAULT); - return; - case JspPackage.TAG_LIB__ID: - setId(ID_EDEFAULT); - return; - } - super.eUnset(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public boolean eIsSet(int featureID) { - switch (featureID) { - case JspPackage.TAG_LIB__TAGLIB_URI: - return TAGLIB_URI_EDEFAULT == null ? taglibUri != null : !TAGLIB_URI_EDEFAULT.equals(taglibUri); - case JspPackage.TAG_LIB__TAGLIB_LOCATION: - return TAGLIB_LOCATION_EDEFAULT == null ? taglibLocation != null : !TAGLIB_LOCATION_EDEFAULT.equals(taglibLocation); - case JspPackage.TAG_LIB__ID: - return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id); - } - return super.eIsSet(featureID); - } - - /** - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public String toString() { - if (eIsProxy()) return super.toString(); - - StringBuffer result = new StringBuffer(super.toString()); - result.append(" (taglibUri: "); //$NON-NLS-1$ - result.append(taglibUri); - result.append(", taglibLocation: "); //$NON-NLS-1$ - result.append(taglibLocation); - result.append(", id: "); //$NON-NLS-1$ - result.append(id); - result.append(')'); - return result.toString(); - } - -} //TagLibImpl
\ No newline at end of file diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java deleted file mode 100644 index 59ecfb9ec..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/metadata/JspPackage.java +++ /dev/null @@ -1,1077 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.metadata; - -import org.eclipse.emf.ecore.EAttribute; -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EDataType; -import org.eclipse.emf.ecore.EPackage; -import org.eclipse.emf.ecore.EReference; -import org.eclipse.jst.javaee.jsp.JspFactory; - -/** - * <!-- begin-user-doc --> - * The <b>Package</b> for the model. - * It contains accessors for the meta objects to represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * <!-- begin-model-doc --> - * - * @(#)jsp_2_2.xsds 02/26/09 - * - * - * - * This is the XML Schema for the JSP 2.2 deployment descriptor - * types. The JSP 2.2 schema contains all the special - * structures and datatypes that are necessary to use JSP files - * from a web application. - * - * The contents of this schema is used by the web-common_3_0.xsd - * file to define JSP specific content. - * - * - * - * - * The following conventions apply to all Java EE - * deployment descriptor elements unless indicated otherwise. - * - * - In elements that specify a pathname to a file within the - * same JAR file, relative filenames (i.e., those not - * starting with "/") are considered relative to the root of - * the JAR file's namespace. Absolute filenames (i.e., those - * starting with "/") also specify names in the root of the - * JAR file's namespace. In general, relative names are - * preferred. The exception is .war files where absolute - * names are preferred for consistency with the Servlet API. - * - * - * - * - * $Id: JspPackage.java,v 1.4 2010/01/15 14:32:08 canderson Exp $ - * - * - * - * - * The following definitions that appear in the common - * shareable schema(s) of Java EE deployment descriptors should be - * interpreted with respect to the context they are included: - * - * Deployment Component may indicate one of the following: - * java ee application; - * application client; - * web application; - * enterprise bean; - * resource adapter; - * - * Deployment File may indicate one of the following: - * ear file; - * war file; - * jar file; - * rar file; - * - * - * - * - * $Id: JspPackage.java,v 1.4 2010/01/15 14:32:08 canderson Exp $ - * - * - * - * - * (C) Copyright International Business Machines Corporation 2002 - * - * - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * <h1>About the XML namespace</h1> - * - * <div class="bodytext"> - * <p> - * This schema document describes the XML namespace, in a form - * suitable for import by other schema documents. - * </p> - * <p> - * See <a href="http://www.w3.org/XML/1998/namespace.html"> - * http://www.w3.org/XML/1998/namespace.html</a> and - * <a href="http://www.w3.org/TR/REC-xml"> - * http://www.w3.org/TR/REC-xml</a> for information - * about this namespace. - * </p> - * <p> - * Note that local names in this namespace are intended to be - * defined only by the World Wide Web Consortium or its subgroups. - * The names currently defined in this namespace are listed below. - * They should not be used with conflicting semantics by any Working - * Group, specification, or document instance. - * </p> - * <p> - * See further below in this document for more information about <a href="#usage">how to refer to this schema document from your own - * XSD schema documents</a> and about <a href="#nsversioning">the - * namespace-versioning policy governing this schema document</a>. - * </p> - * </div> - * </div> - * - * - * <div xmlns="http://www.w3.org/1999/xhtml"> - * - * <h3>Father (in any context at all)</h3> - * - * <div class="bodytext"> - * <p> - * denotes Jon Bosak, the chair of - * the original XML Working Group. This name is reserved by - * the following decision of the W3C XML Plenary and - * XML Coordination groups: - * </p> - * <blockquote> - * <p> - * In appreciation for his vision, leadership and - * dedication the W3C XML Plenary on this 10th day of - * February, 2000, reserves for Jon Bosak in perpetuity - * the XML name "xml:Father". - * </p> - * </blockquote> - * </div> - * </div> - * - * - * <div id="usage" xml:id="usage" xmlns="http://www.w3.org/1999/xhtml"> - * <h2> - * <a name="usage">About this schema document</a> - * </h2> - * - * <div class="bodytext"> - * <p> - * This schema defines attributes and an attribute group suitable - * for use by schemas wishing to allow <code>xml:base</code>, - * <code>xml:lang</code>, <code>xml:space</code> or - * <code>xml:id</code> attributes on elements they define. - * </p> - * <p> - * To enable this, such a schema must import this schema for - * the XML namespace, e.g. as follows: - * </p> - * <pre> - * <schema . . .> - * . . . - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2001/xml.xsd"/> - * </pre> - * <p> - * or - * </p> - * <pre> - * <import namespace="http://www.w3.org/XML/1998/namespace" - * schemaLocation="http://www.w3.org/2009/01/xml.xsd"/> - * </pre> - * <p> - * Subsequently, qualified reference to any of the attributes or the - * group defined below will have the desired effect, e.g. - * </p> - * <pre> - * <type . . .> - * . . . - * <attributeGroup ref="xml:specialAttrs"/> - * </pre> - * <p> - * will define a type which will schema-validate an instance element - * with any of those attributes. - * </p> - * </div> - * </div> - * - * - * <div id="nsversioning" xml:id="nsversioning" xmlns="http://www.w3.org/1999/xhtml"> - * <h2> - * <a name="nsversioning">Versioning policy for this schema document</a> - * </h2> - * <div class="bodytext"> - * <p> - * In keeping with the XML Schema WG's standard versioning - * policy, this schema document will persist at - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd</a>. - * </p> - * <p> - * At the date of issue it can also be found at - * <a href="http://www.w3.org/2001/xml.xsd"> - * http://www.w3.org/2001/xml.xsd</a>. - * </p> - * <p> - * The schema document at that URI may however change in the future, - * in order to remain compatible with the latest version of XML - * Schema itself, or with the XML namespace itself. In other words, - * if the XML Schema or XML namespaces change, the version of this - * document at <a href="http://www.w3.org/2001/xml.xsd"> - * http://www.w3.org/2001/xml.xsd - * </a> - * will change accordingly; the version at - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd - * </a> - * will not change. - * </p> - * <p> - * Previous dated (and unchanging) versions of this schema - * document are at: - * </p> - * <ul> - * <li> - * <a href="http://www.w3.org/2009/01/xml.xsd"> - * http://www.w3.org/2009/01/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2007/08/xml.xsd"> - * http://www.w3.org/2007/08/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2004/10/xml.xsd"> - * http://www.w3.org/2004/10/xml.xsd</a> - * </li> - * <li> - * <a href="http://www.w3.org/2001/03/xml.xsd"> - * http://www.w3.org/2001/03/xml.xsd</a> - * </li> - * </ul> - * </div> - * </div> - * - * <!-- end-model-doc --> - * @see org.eclipse.jst.javaee.jsp.JspFactory - * @generated - */ -public interface JspPackage extends EPackage { - /** - * The package name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNAME = "jsp"; //$NON-NLS-1$ - - /** - * The package namespace URI. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_URI = "http://java.sun.com/xml/ns/javaee/jsp"; //$NON-NLS-1$ - - /** - * The package namespace name. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - String eNS_PREFIX = "jsp"; //$NON-NLS-1$ - - /** - * The singleton instance of the package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - JspPackage eINSTANCE = org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl.init(); - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl <em>Config</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspConfig() - * @generated - */ - int JSP_CONFIG = 0; - - /** - * The feature id for the '<em><b>Tag Libs</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_CONFIG__TAG_LIBS = 0; - - /** - * The feature id for the '<em><b>Jsp Property Groups</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_CONFIG__JSP_PROPERTY_GROUPS = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_CONFIG__ID = 2; - - /** - * The number of structural features of the '<em>Config</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_CONFIG_FEATURE_COUNT = 3; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl <em>Property Group</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspPropertyGroup() - * @generated - */ - int JSP_PROPERTY_GROUP = 1; - - /** - * The feature id for the '<em><b>Descriptions</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__DESCRIPTIONS = 0; - - /** - * The feature id for the '<em><b>Display Names</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__DISPLAY_NAMES = 1; - - /** - * The feature id for the '<em><b>Icons</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__ICONS = 2; - - /** - * The feature id for the '<em><b>Url Patterns</b></em>' containment reference list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__URL_PATTERNS = 3; - - /** - * The feature id for the '<em><b>El Ignored</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__EL_IGNORED = 4; - - /** - * The feature id for the '<em><b>Page Encoding</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__PAGE_ENCODING = 5; - - /** - * The feature id for the '<em><b>Scripting Invalid</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__SCRIPTING_INVALID = 6; - - /** - * The feature id for the '<em><b>Is Xml</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__IS_XML = 7; - - /** - * The feature id for the '<em><b>Include Preludes</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__INCLUDE_PRELUDES = 8; - - /** - * The feature id for the '<em><b>Include Codas</b></em>' attribute list. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__INCLUDE_CODAS = 9; - - /** - * The feature id for the '<em><b>Deferred Syntax Allowed As Literal</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL = 10; - - /** - * The feature id for the '<em><b>Trim Directive Whitespaces</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = 11; - - /** - * The feature id for the '<em><b>Default Content Type</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE = 12; - - /** - * The feature id for the '<em><b>Buffer</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__BUFFER = 13; - - /** - * The feature id for the '<em><b>Error On Undeclared Namespace</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE = 14; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP__ID = 15; - - /** - * The number of structural features of the '<em>Property Group</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int JSP_PROPERTY_GROUP_FEATURE_COUNT = 16; - - /** - * The meta object id for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl <em>Tag Lib</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getTagLib() - * @generated - */ - int TAG_LIB = 2; - - /** - * The feature id for the '<em><b>Taglib Uri</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__TAGLIB_URI = 0; - - /** - * The feature id for the '<em><b>Taglib Location</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__TAGLIB_LOCATION = 1; - - /** - * The feature id for the '<em><b>Id</b></em>' attribute. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB__ID = 2; - - /** - * The number of structural features of the '<em>Tag Lib</em>' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - * @ordered - */ - int TAG_LIB_FEATURE_COUNT = 3; - - /** - * The meta object id for the '<em>File Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspFileType() - * @generated - */ - int JSP_FILE_TYPE = 3; - - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.jsp.JspConfig <em>Config</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Config</em>'. - * @see org.eclipse.jst.javaee.jsp.JspConfig - * @generated - */ - EClass getJspConfig(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspConfig#getTagLibs <em>Tag Libs</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Tag Libs</em>'. - * @see org.eclipse.jst.javaee.jsp.JspConfig#getTagLibs() - * @see #getJspConfig() - * @generated - */ - EReference getJspConfig_TagLibs(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspConfig#getJspPropertyGroups <em>Jsp Property Groups</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Jsp Property Groups</em>'. - * @see org.eclipse.jst.javaee.jsp.JspConfig#getJspPropertyGroups() - * @see #getJspConfig() - * @generated - */ - EReference getJspConfig_JspPropertyGroups(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspConfig#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.jsp.JspConfig#getId() - * @see #getJspConfig() - * @generated - */ - EAttribute getJspConfig_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup <em>Property Group</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Property Group</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup - * @generated - */ - EClass getJspPropertyGroup(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDescriptions <em>Descriptions</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Descriptions</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDescriptions() - * @see #getJspPropertyGroup() - * @generated - */ - EReference getJspPropertyGroup_Descriptions(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDisplayNames <em>Display Names</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Display Names</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDisplayNames() - * @see #getJspPropertyGroup() - * @generated - */ - EReference getJspPropertyGroup_DisplayNames(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIcons <em>Icons</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Icons</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIcons() - * @see #getJspPropertyGroup() - * @generated - */ - EReference getJspPropertyGroup_Icons(); - - /** - * Returns the meta object for the containment reference list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getUrlPatterns <em>Url Patterns</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the containment reference list '<em>Url Patterns</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getUrlPatterns() - * @see #getJspPropertyGroup() - * @generated - */ - EReference getJspPropertyGroup_UrlPatterns(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored <em>El Ignored</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>El Ignored</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isElIgnored() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_ElIgnored(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getPageEncoding <em>Page Encoding</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Page Encoding</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getPageEncoding() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_PageEncoding(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid <em>Scripting Invalid</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Scripting Invalid</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isScriptingInvalid() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_ScriptingInvalid(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml <em>Is Xml</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Is Xml</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isIsXml() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_IsXml(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludePreludes <em>Include Preludes</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Include Preludes</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludePreludes() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_IncludePreludes(); - - /** - * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludeCodas <em>Include Codas</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute list '<em>Include Codas</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getIncludeCodas() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_IncludeCodas(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral <em>Deferred Syntax Allowed As Literal</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Deferred Syntax Allowed As Literal</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isDeferredSyntaxAllowedAsLiteral() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces <em>Trim Directive Whitespaces</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Trim Directive Whitespaces</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isTrimDirectiveWhitespaces() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_TrimDirectiveWhitespaces(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType <em>Default Content Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Default Content Type</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getDefaultContentType() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_DefaultContentType(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer <em>Buffer</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Buffer</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getBuffer() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_Buffer(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace <em>Error On Undeclared Namespace</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Error On Undeclared Namespace</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#isErrorOnUndeclaredNamespace() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_ErrorOnUndeclaredNamespace(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup#getId() - * @see #getJspPropertyGroup() - * @generated - */ - EAttribute getJspPropertyGroup_Id(); - - /** - * Returns the meta object for class '{@link org.eclipse.jst.javaee.jsp.TagLib <em>Tag Lib</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for class '<em>Tag Lib</em>'. - * @see org.eclipse.jst.javaee.jsp.TagLib - * @generated - */ - EClass getTagLib(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibUri <em>Taglib Uri</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Taglib Uri</em>'. - * @see org.eclipse.jst.javaee.jsp.TagLib#getTaglibUri() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_TaglibUri(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.TagLib#getTaglibLocation <em>Taglib Location</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Taglib Location</em>'. - * @see org.eclipse.jst.javaee.jsp.TagLib#getTaglibLocation() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_TaglibLocation(); - - /** - * Returns the meta object for the attribute '{@link org.eclipse.jst.javaee.jsp.TagLib#getId <em>Id</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for the attribute '<em>Id</em>'. - * @see org.eclipse.jst.javaee.jsp.TagLib#getId() - * @see #getTagLib() - * @generated - */ - EAttribute getTagLib_Id(); - - /** - * Returns the meta object for data type '{@link java.lang.String <em>File Type</em>}'. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the meta object for data type '<em>File Type</em>'. - * @see java.lang.String - * @generated - */ - EDataType getJspFileType(); - - /** - * Returns the factory that creates the instances of the model. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the factory that creates the instances of the model. - * @generated - */ - JspFactory getJspFactory(); - - /** - * <!-- begin-user-doc --> - * Defines literals for the meta objects that represent - * <ul> - * <li>each class,</li> - * <li>each feature of each class,</li> - * <li>each enum,</li> - * <li>and each data type</li> - * </ul> - * <!-- end-user-doc --> - * @generated - */ - interface Literals { - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl <em>Config</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspConfigImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspConfig() - * @generated - */ - EClass JSP_CONFIG = eINSTANCE.getJspConfig(); - - /** - * The meta object literal for the '<em><b>Tag Libs</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_CONFIG__TAG_LIBS = eINSTANCE.getJspConfig_TagLibs(); - - /** - * The meta object literal for the '<em><b>Jsp Property Groups</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_CONFIG__JSP_PROPERTY_GROUPS = eINSTANCE.getJspConfig_JspPropertyGroups(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_CONFIG__ID = eINSTANCE.getJspConfig_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl <em>Property Group</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPropertyGroupImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspPropertyGroup() - * @generated - */ - EClass JSP_PROPERTY_GROUP = eINSTANCE.getJspPropertyGroup(); - - /** - * The meta object literal for the '<em><b>Descriptions</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_PROPERTY_GROUP__DESCRIPTIONS = eINSTANCE.getJspPropertyGroup_Descriptions(); - - /** - * The meta object literal for the '<em><b>Display Names</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_PROPERTY_GROUP__DISPLAY_NAMES = eINSTANCE.getJspPropertyGroup_DisplayNames(); - - /** - * The meta object literal for the '<em><b>Icons</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_PROPERTY_GROUP__ICONS = eINSTANCE.getJspPropertyGroup_Icons(); - - /** - * The meta object literal for the '<em><b>Url Patterns</b></em>' containment reference list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EReference JSP_PROPERTY_GROUP__URL_PATTERNS = eINSTANCE.getJspPropertyGroup_UrlPatterns(); - - /** - * The meta object literal for the '<em><b>El Ignored</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__EL_IGNORED = eINSTANCE.getJspPropertyGroup_ElIgnored(); - - /** - * The meta object literal for the '<em><b>Page Encoding</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__PAGE_ENCODING = eINSTANCE.getJspPropertyGroup_PageEncoding(); - - /** - * The meta object literal for the '<em><b>Scripting Invalid</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__SCRIPTING_INVALID = eINSTANCE.getJspPropertyGroup_ScriptingInvalid(); - - /** - * The meta object literal for the '<em><b>Is Xml</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__IS_XML = eINSTANCE.getJspPropertyGroup_IsXml(); - - /** - * The meta object literal for the '<em><b>Include Preludes</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__INCLUDE_PRELUDES = eINSTANCE.getJspPropertyGroup_IncludePreludes(); - - /** - * The meta object literal for the '<em><b>Include Codas</b></em>' attribute list feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__INCLUDE_CODAS = eINSTANCE.getJspPropertyGroup_IncludeCodas(); - - /** - * The meta object literal for the '<em><b>Deferred Syntax Allowed As Literal</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__DEFERRED_SYNTAX_ALLOWED_AS_LITERAL = eINSTANCE.getJspPropertyGroup_DeferredSyntaxAllowedAsLiteral(); - - /** - * The meta object literal for the '<em><b>Trim Directive Whitespaces</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__TRIM_DIRECTIVE_WHITESPACES = eINSTANCE.getJspPropertyGroup_TrimDirectiveWhitespaces(); - - /** - * The meta object literal for the '<em><b>Default Content Type</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__DEFAULT_CONTENT_TYPE = eINSTANCE.getJspPropertyGroup_DefaultContentType(); - - /** - * The meta object literal for the '<em><b>Buffer</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__BUFFER = eINSTANCE.getJspPropertyGroup_Buffer(); - - /** - * The meta object literal for the '<em><b>Error On Undeclared Namespace</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__ERROR_ON_UNDECLARED_NAMESPACE = eINSTANCE.getJspPropertyGroup_ErrorOnUndeclaredNamespace(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute JSP_PROPERTY_GROUP__ID = eINSTANCE.getJspPropertyGroup_Id(); - - /** - * The meta object literal for the '{@link org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl <em>Tag Lib</em>}' class. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.impl.TagLibImpl - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getTagLib() - * @generated - */ - EClass TAG_LIB = eINSTANCE.getTagLib(); - - /** - * The meta object literal for the '<em><b>Taglib Uri</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__TAGLIB_URI = eINSTANCE.getTagLib_TaglibUri(); - - /** - * The meta object literal for the '<em><b>Taglib Location</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__TAGLIB_LOCATION = eINSTANCE.getTagLib_TaglibLocation(); - - /** - * The meta object literal for the '<em><b>Id</b></em>' attribute feature. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - EAttribute TAG_LIB__ID = eINSTANCE.getTagLib_Id(); - - /** - * The meta object literal for the '<em>File Type</em>' data type. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @see java.lang.String - * @see org.eclipse.jst.javaee.jsp.internal.impl.JspPackageImpl#getJspFileType() - * @generated - */ - EDataType JSP_FILE_TYPE = eINSTANCE.getJspFileType(); - - } - -} //JspPackage diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspAdapterFactory.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspAdapterFactory.java deleted file mode 100644 index 326684c41..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspAdapterFactory.java +++ /dev/null @@ -1,166 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.util; - -import org.eclipse.emf.common.notify.Adapter; -import org.eclipse.emf.common.notify.Notifier; - -import org.eclipse.emf.common.notify.impl.AdapterFactoryImpl; - -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.jst.javaee.jsp.*; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Adapter Factory</b> for the model. - * It provides an adapter <code>createXXX</code> method for each class of the model. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage - * @generated - */ -public class JspAdapterFactory extends AdapterFactoryImpl { - /** - * The cached model package. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JspPackage modelPackage; - - /** - * Creates an instance of the adapter factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspAdapterFactory() { - if (modelPackage == null) { - modelPackage = JspPackage.eINSTANCE; - } - } - - /** - * Returns whether this factory is applicable for the type of the object. - * <!-- begin-user-doc --> - * This implementation returns <code>true</code> if the object is either the model's package or is an instance object of the model. - * <!-- end-user-doc --> - * @return whether this factory is applicable for the type of the object. - * @generated - */ - @Override - public boolean isFactoryForType(Object object) { - if (object == modelPackage) { - return true; - } - if (object instanceof EObject) { - return ((EObject)object).eClass().getEPackage() == modelPackage; - } - return false; - } - - /** - * The switch that delegates to the <code>createXXX</code> methods. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected JspSwitch<Adapter> modelSwitch = - new JspSwitch<Adapter>() { - @Override - public Adapter caseJspConfig(JspConfig object) { - return createJspConfigAdapter(); - } - @Override - public Adapter caseJspPropertyGroup(JspPropertyGroup object) { - return createJspPropertyGroupAdapter(); - } - @Override - public Adapter caseTagLib(TagLib object) { - return createTagLibAdapter(); - } - @Override - public Adapter defaultCase(EObject object) { - return createEObjectAdapter(); - } - }; - - /** - * Creates an adapter for the <code>target</code>. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param target the object to adapt. - * @return the adapter for the <code>target</code>. - * @generated - */ - @Override - public Adapter createAdapter(Notifier target) { - return modelSwitch.doSwitch((EObject)target); - } - - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.jsp.JspConfig <em>Config</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.javaee.jsp.JspConfig - * @generated - */ - public Adapter createJspConfigAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.jsp.JspPropertyGroup <em>Property Group</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.javaee.jsp.JspPropertyGroup - * @generated - */ - public Adapter createJspPropertyGroupAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class '{@link org.eclipse.jst.javaee.jsp.TagLib <em>Tag Lib</em>}'. - * <!-- begin-user-doc --> - * This default implementation returns null so that we can easily ignore cases; - * it's useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * @return the new adapter. - * @see org.eclipse.jst.javaee.jsp.TagLib - * @generated - */ - public Adapter createTagLibAdapter() { - return null; - } - - /** - * Creates a new adapter for the default case. - * <!-- begin-user-doc --> - * This default implementation returns null. - * <!-- end-user-doc --> - * @return the new adapter. - * @generated - */ - public Adapter createEObjectAdapter() { - return null; - } - -} //JspAdapterFactory diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceFactoryImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceFactoryImpl.java deleted file mode 100644 index c208fd110..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceFactoryImpl.java +++ /dev/null @@ -1,60 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.util; - -import org.eclipse.emf.common.util.URI; - -import org.eclipse.emf.ecore.resource.Resource; - -import org.eclipse.emf.ecore.resource.impl.ResourceFactoryImpl; - -import org.eclipse.emf.ecore.xmi.XMLResource; - -/** - * <!-- begin-user-doc --> - * The <b>Resource Factory</b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.util.JspResourceImpl - * @generated - */ -public class JspResourceFactoryImpl extends ResourceFactoryImpl { - /** - * Creates an instance of the resource factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspResourceFactoryImpl() { - super(); - } - - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - public Resource createResource(URI uri) { - XMLResource result = new JspResourceImpl(uri); - result.getDefaultSaveOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); - result.getDefaultLoadOptions().put(XMLResource.OPTION_EXTENDED_META_DATA, Boolean.TRUE); - - result.getDefaultSaveOptions().put(XMLResource.OPTION_SCHEMA_LOCATION, Boolean.TRUE); - - result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); - result.getDefaultSaveOptions().put(XMLResource.OPTION_USE_ENCODED_ATTRIBUTE_STYLE, Boolean.TRUE); - - result.getDefaultLoadOptions().put(XMLResource.OPTION_USE_LEXICAL_HANDLER, Boolean.TRUE); - return result; - } - -} //JspResourceFactoryImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceImpl.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceImpl.java deleted file mode 100644 index 454c2bb7f..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspResourceImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.util; - -import org.eclipse.emf.common.util.URI; - -import org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl; - -/** - * <!-- begin-user-doc --> - * The <b>Resource </b> associated with the package. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.util.JspResourceFactoryImpl - * @generated - */ -public class JspResourceImpl extends XMLResourceImpl { - /** - * Creates an instance of the resource. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @param uri the URI of the new resource. - * @generated - */ - public JspResourceImpl(URI uri) { - super(uri); - } - -} //JspResourceImpl diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspSwitch.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspSwitch.java deleted file mode 100644 index dc2ffd687..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspSwitch.java +++ /dev/null @@ -1,178 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.util; - -import java.util.List; - -import org.eclipse.emf.ecore.EClass; -import org.eclipse.emf.ecore.EObject; - -import org.eclipse.jst.javaee.jsp.*; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * <!-- begin-user-doc --> - * The <b>Switch</b> for the model's inheritance hierarchy. - * It supports the call {@link #doSwitch(EObject) doSwitch(object)} - * to invoke the <code>caseXXX</code> method for each class of the model, - * starting with the actual class of the object - * and proceeding up the inheritance hierarchy - * until a non-null result is returned, - * which is the result of the switch. - * <!-- end-user-doc --> - * @see org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage - * @generated - */ -public class JspSwitch<T> { - /** - * The cached model package - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - protected static JspPackage modelPackage; - - /** - * Creates an instance of the switch. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspSwitch() { - if (modelPackage == null) { - modelPackage = JspPackage.eINSTANCE; - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - public T doSwitch(EObject theEObject) { - return doSwitch(theEObject.eClass(), theEObject); - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected T doSwitch(EClass theEClass, EObject theEObject) { - if (theEClass.eContainer() == modelPackage) { - return doSwitch(theEClass.getClassifierID(), theEObject); - } - else { - List<EClass> eSuperTypes = theEClass.getESuperTypes(); - return - eSuperTypes.isEmpty() ? - defaultCase(theEObject) : - doSwitch(eSuperTypes.get(0), theEObject); - } - } - - /** - * Calls <code>caseXXX</code> for each class of the model until one returns a non null result; it yields that result. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @return the first non-null result returned by a <code>caseXXX</code> call. - * @generated - */ - protected T doSwitch(int classifierID, EObject theEObject) { - switch (classifierID) { - case JspPackage.JSP_CONFIG: { - JspConfig jspConfig = (JspConfig)theEObject; - T result = caseJspConfig(jspConfig); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JspPackage.JSP_PROPERTY_GROUP: { - JspPropertyGroup jspPropertyGroup = (JspPropertyGroup)theEObject; - T result = caseJspPropertyGroup(jspPropertyGroup); - if (result == null) result = defaultCase(theEObject); - return result; - } - case JspPackage.TAG_LIB: { - TagLib tagLib = (TagLib)theEObject; - T result = caseTagLib(tagLib); - if (result == null) result = defaultCase(theEObject); - return result; - } - default: return defaultCase(theEObject); - } - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Config</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Config</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJspConfig(JspConfig object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Property Group</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Property Group</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseJspPropertyGroup(JspPropertyGroup object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>Tag Lib</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>Tag Lib</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTagLib(TagLib object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of '<em>EObject</em>'. - * <!-- begin-user-doc --> - * This implementation returns null; - * returning a non-null result will terminate the switch, but this is the last case anyway. - * <!-- end-user-doc --> - * @param object the target of the switch. - * @return the result of interpreting the object as an instance of '<em>EObject</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) - * @generated - */ - public T defaultCase(EObject object) { - return null; - } - -} //JspSwitch diff --git a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspXMLProcessor.java b/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspXMLProcessor.java deleted file mode 100644 index dbb5493d6..000000000 --- a/plugins/org.eclipse.jst.j2ee.core/jee-models/org/eclipse/jst/javaee/jsp/internal/util/JspXMLProcessor.java +++ /dev/null @@ -1,56 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2007 IBM 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: - * IBM Corporation - initial API and implementation - *******************************************************************************/ -package org.eclipse.jst.javaee.jsp.internal.util; - -import java.util.Map; - -import org.eclipse.emf.ecore.EPackage; - -import org.eclipse.emf.ecore.resource.Resource; -import org.eclipse.emf.ecore.xmi.util.XMLProcessor; - -import org.eclipse.jst.javaee.jsp.internal.metadata.JspPackage; - -/** - * This class contains helper methods to serialize and deserialize XML documents - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ -public class JspXMLProcessor extends XMLProcessor { - /** - * Public constructor to instantiate the helper. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - public JspXMLProcessor() { - super((EPackage.Registry.INSTANCE)); - JspPackage.eINSTANCE.eClass(); - } - - /** - * Register for "*" and "xml" file extensions the JspResourceFactoryImpl factory. - * <!-- begin-user-doc --> - * <!-- end-user-doc --> - * @generated - */ - @Override - protected Map<String, Resource.Factory> getRegistrations() { - if (registrations == null) { - super.getRegistrations(); - registrations.put(XML_EXTENSION, new JspResourceFactoryImpl()); - registrations.put(STAR_EXTENSION, new JspResourceFactoryImpl()); - } - return registrations; - } - -} //JspXMLProcessor |