| /******************************************************************************* |
| * Copyright (c) 2009 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.webfragment.internal.metadata; |
| |
| import org.eclipse.emf.ecore.EAttribute; |
| import org.eclipse.emf.ecore.EClass; |
| import org.eclipse.emf.ecore.EPackage; |
| import org.eclipse.emf.ecore.EReference; |
| import org.eclipse.jst.javaee.webfragment.WebfragmentFactory; |
| |
| /** |
| * <!-- 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 --> |
| * |
| * @(#)web-fragment_3_0.xsds |
| * |
| * |
| * <![CDATA[[ |
| * This is the XML Schema for the Servlet 3.0 deployment descriptor. |
| * The deployment descriptor must be named "META-INF/web-fragment.xml" |
| * in the web fragment's jar file. All Servlet deployment descriptors |
| * must indicate the web application schema by using the Java EE |
| * namespace: |
| * |
| * http://java.sun.com/xml/ns/javaee |
| * |
| * and by indicating the version of the schema by |
| * using the version element as shown below: |
| * |
| * <web-fragment xmlns="http://java.sun.com/xml/ns/javaee" |
| * xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| * xsi:schemaLocation="..." |
| * version="3.0"> |
| * ... |
| * </web-fragment> |
| * |
| * The instance documents may indicate the published version of |
| * the schema using the xsi:schemaLocation attribute for Java EE |
| * namespace with the following location: |
| * |
| * http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd |
| * |
| * ]]> |
| * |
| * |
| * |
| * 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: WebfragmentPackage.java,v 1.4 2010/02/11 06:22:50 canderson Exp $ |
| * |
| * |
| * |
| * <![CDATA[[ |
| * This is the common XML Schema for the Servlet 3.0 deployment descriptor. |
| * This file is in turn used by web.xml and web-fragment.xml |
| * web application's war file. All Servlet deployment descriptors |
| * must indicate the web common schema by using the Java EE |
| * namespace: |
| * |
| * http://java.sun.com/xml/ns/javaee |
| * |
| * and by indicating the version of the schema by |
| * using the version element as shown below: |
| * |
| * <web-app xmlns="http://java.sun.com/xml/ns/javaee" |
| * xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| * xsi:schemaLocation="..." |
| * version="3.0"> |
| * ... |
| * </web-app> |
| * |
| * The instance documents may indicate the published version of |
| * the schema using the xsi:schemaLocation attribute for Java EE |
| * namespace with the following location: |
| * |
| * http://java.sun.com/xml/ns/javaee/web-common_3_0.xsd |
| * |
| * ]]> |
| * |
| * |
| * |
| * 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: WebfragmentPackage.java,v 1.4 2010/02/11 06:22:50 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: WebfragmentPackage.java,v 1.4 2010/02/11 06:22:50 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> |
| * |
| * |
| * @(#)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. |
| * |
| * |
| * <!-- end-model-doc --> |
| * @see org.eclipse.jst.javaee.webfragment.WebfragmentFactory |
| * @generated |
| */ |
| public interface WebfragmentPackage extends EPackage { |
| /** |
| * The package name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNAME = "webfragment"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace URI. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_URI = "http://java.sun.com/xml/ns/javaee/web-fragment_3_0.xsd"; //$NON-NLS-1$ |
| |
| /** |
| * The package namespace name. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| String eNS_PREFIX = "webfragment"; //$NON-NLS-1$ |
| |
| /** |
| * The singleton instance of the package. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| WebfragmentPackage eINSTANCE = org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl.init(); |
| |
| /** |
| * The meta object id for the '{@link org.eclipse.jst.javaee.webfragment.internal.impl.WebAppDeploymentDescriptorImpl <em>Web App Deployment Descriptor</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.jst.javaee.webfragment.internal.impl.WebAppDeploymentDescriptorImpl |
| * @see org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl#getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR = 0; |
| |
| /** |
| * The feature id for the '<em><b>Mixed</b></em>' attribute list. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR__MIXED = 0; |
| |
| /** |
| * The feature id for the '<em><b>XMLNS Prefix Map</b></em>' map. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP = 1; |
| |
| /** |
| * The feature id for the '<em><b>XSI Schema Location</b></em>' map. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION = 2; |
| |
| /** |
| * The feature id for the '<em><b>Web Fragment</b></em>' containment reference. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR__WEB_FRAGMENT = 3; |
| |
| /** |
| * The number of structural features of the '<em>Web App Deployment Descriptor</em>' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| * @ordered |
| */ |
| int WEB_APP_DEPLOYMENT_DESCRIPTOR_FEATURE_COUNT = 4; |
| |
| |
| /** |
| * Returns the meta object for class '{@link org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor <em>Web App Deployment Descriptor</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for class '<em>Web App Deployment Descriptor</em>'. |
| * @see org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor |
| * @generated |
| */ |
| EClass getWebAppDeploymentDescriptor(); |
| |
| /** |
| * Returns the meta object for the attribute list '{@link org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getMixed <em>Mixed</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the attribute list '<em>Mixed</em>'. |
| * @see org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getMixed() |
| * @see #getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| EAttribute getWebAppDeploymentDescriptor_Mixed(); |
| |
| /** |
| * Returns the meta object for the map '{@link org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getXMLNSPrefixMap <em>XMLNS Prefix Map</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the map '<em>XMLNS Prefix Map</em>'. |
| * @see org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getXMLNSPrefixMap() |
| * @see #getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| EReference getWebAppDeploymentDescriptor_XMLNSPrefixMap(); |
| |
| /** |
| * Returns the meta object for the map '{@link org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getXSISchemaLocation <em>XSI Schema Location</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the map '<em>XSI Schema Location</em>'. |
| * @see org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getXSISchemaLocation() |
| * @see #getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| EReference getWebAppDeploymentDescriptor_XSISchemaLocation(); |
| |
| /** |
| * Returns the meta object for the containment reference '{@link org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getWebFragment <em>Web Fragment</em>}'. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @return the meta object for the containment reference '<em>Web Fragment</em>'. |
| * @see org.eclipse.jst.javaee.webfragment.WebAppDeploymentDescriptor#getWebFragment() |
| * @see #getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| EReference getWebAppDeploymentDescriptor_WebFragment(); |
| |
| /** |
| * 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 |
| */ |
| WebfragmentFactory getWebfragmentFactory(); |
| |
| /** |
| * <!-- 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.webfragment.internal.impl.WebAppDeploymentDescriptorImpl <em>Web App Deployment Descriptor</em>}' class. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @see org.eclipse.jst.javaee.webfragment.internal.impl.WebAppDeploymentDescriptorImpl |
| * @see org.eclipse.jst.javaee.webfragment.internal.impl.WebfragmentPackageImpl#getWebAppDeploymentDescriptor() |
| * @generated |
| */ |
| EClass WEB_APP_DEPLOYMENT_DESCRIPTOR = eINSTANCE.getWebAppDeploymentDescriptor(); |
| |
| /** |
| * The meta object literal for the '<em><b>Mixed</b></em>' attribute list feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EAttribute WEB_APP_DEPLOYMENT_DESCRIPTOR__MIXED = eINSTANCE.getWebAppDeploymentDescriptor_Mixed(); |
| |
| /** |
| * The meta object literal for the '<em><b>XMLNS Prefix Map</b></em>' map feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference WEB_APP_DEPLOYMENT_DESCRIPTOR__XMLNS_PREFIX_MAP = eINSTANCE.getWebAppDeploymentDescriptor_XMLNSPrefixMap(); |
| |
| /** |
| * The meta object literal for the '<em><b>XSI Schema Location</b></em>' map feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference WEB_APP_DEPLOYMENT_DESCRIPTOR__XSI_SCHEMA_LOCATION = eINSTANCE.getWebAppDeploymentDescriptor_XSISchemaLocation(); |
| |
| /** |
| * The meta object literal for the '<em><b>Web Fragment</b></em>' containment reference feature. |
| * <!-- begin-user-doc --> |
| * <!-- end-user-doc --> |
| * @generated |
| */ |
| EReference WEB_APP_DEPLOYMENT_DESCRIPTOR__WEB_FRAGMENT = eINSTANCE.getWebAppDeploymentDescriptor_WebFragment(); |
| |
| } |
| |
| } //WebfragmentPackage |