Return-Path: Delivered-To: apmail-geronimo-scm-archive@www.apache.org Received: (qmail 16767 invoked from network); 16 Aug 2005 19:48:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 16 Aug 2005 19:48:19 -0000 Received: (qmail 89862 invoked by uid 500); 16 Aug 2005 19:48:07 -0000 Delivered-To: apmail-geronimo-scm-archive@geronimo.apache.org Received: (qmail 89705 invoked by uid 500); 16 Aug 2005 19:48:06 -0000 Mailing-List: contact scm-help@geronimo.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: dev@geronimo.apache.org List-Id: Delivered-To: mailing list scm@geronimo.apache.org Received: (qmail 89470 invoked by uid 99); 16 Aug 2005 19:48:04 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2005 12:48:04 -0700 X-ASF-Spam-Status: No, hits=-9.8 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [209.237.227.194] (HELO minotaur.apache.org) (209.237.227.194) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 16 Aug 2005 12:48:06 -0700 Received: (qmail 16074 invoked by uid 65534); 16 Aug 2005 19:47:45 -0000 Message-ID: <20050816194745.16073.qmail@minotaur.apache.org> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r233044 [12/33] - in /geronimo/trunk/sandbox/eclipse-plugin: ./ org.apache.geronimo.core/ org.apache.geronimo.core/META-INF/ org.apache.geronimo.core/serverdef/ org.apache.geronimo.core/src/ org.apache.geronimo.core/src/org/ org.apache.gero... Date: Tue, 16 Aug 2005 19:47:05 -0000 To: scm@geronimo.apache.org From: dain@apache.org X-Mailer: svnmailer-1.0.3 X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/web-jsptaglibrary_2_0.xsd URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/web-jsptaglibrary_2_0.xsd?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/web-jsptaglibrary_2_0.xsd (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/web-jsptaglibrary_2_0.xsd Tue Aug 16 12:46:27 2005 @@ -0,0 +1,1010 @@ + + + + + + @(#)web-jsptaglibrary_2_0.xsds 1.38 10/08/03 + + + + + + + Copyright 2003 Sun Microsystems, Inc., 901 San Antonio + Road, Palo Alto, California 94303, U.S.A. All rights + reserved. + + Sun Microsystems, Inc. has intellectual property rights + relating to technology described in this document. In + particular, and without limitation, these intellectual + property rights may include one or more of the U.S. patents + listed at http://www.sun.com/patents and one or more + additional patents or pending patent applications in the + U.S. and other countries. + + This document and the technology which it describes are + distributed under licenses restricting their use, copying, + distribution, and decompilation. No part of this document + may be reproduced in any form by any means without prior + written authorization of Sun and its licensors, if any. + + Third-party software, including font technology, is + copyrighted and licensed from Sun suppliers. + + Sun, Sun Microsystems, the Sun logo, Solaris, Java, J2EE, + JavaServer Pages, Enterprise JavaBeans and the Java Coffee + Cup logo are trademarks or registered trademarks of Sun + Microsystems, Inc. in the U.S. and other countries. + + Federal Acquisitions: Commercial Software - Government Users + Subject to Standard License Terms and Conditions. + + + + + + + + ... + + + The instance documents may indicate the published + version of the schema using xsi:schemaLocation attribute + for J2EE namespace with the following location: + + http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd + + ]]> + + + + + + + + + + + + + + The taglib tag is the document root. + The definition of taglib is provided + by the tldTaglibType. + + + + + + + + The taglib element contains, among other things, tag and + tag-file elements. + The name subelements of these elements must each be unique. + + + + + + + + + + + + The taglib element contains function elements. + The name subelements of these elements must each be unique. + + + + + + + + + + + + + + + + + Specifies the type of body that is valid for a tag. + This value is used by the JSP container to validate + that a tag invocation has the correct body syntax and + by page composition tools to assist the page author + in providing a valid tag body. + + There are currently four values specified: + + tagdependent The body of the tag is interpreted by the tag + implementation itself, and is most likely + in a different "language", e.g embedded SQL + statements. + + JSP The body of the tag contains nested JSP + syntax. + + empty The body must be empty + + scriptless The body accepts only template text, EL + Expressions, and JSP action elements. No + scripting elements are allowed. + + + + + + + + + + + + + + + + + + + + + The extensibleType is an abstract base type that is used to + define the type of extension-elements. Instance documents + must substitute a known type to define the extension by + using xsi:type attribute to define the actual type of + extension-elements. + + + + + + + + + + + + + The function element is used to provide information on each + function in the tag library that is to be exposed to the EL. + + The function element may have several subelements defining: + + description Optional tag-specific information + + display-name A short name that is intended to be + displayed by tools + + icon Optional icon element that can be used + by tools + + name A unique name for this function + + function-class Provides the name of the Java class that + implements the function + + function-signature Provides the signature, as in the Java + Language Specification, of the Java + method that is to be used to implement + the function. + + example Optional informal description of an + example of a use of this function + + function-extension Zero or more extensions that provide extra + information about this function, for tool + consumption + + + + + + + + + + + A unique name for this function. + + + + + + + + + Provides the fully-qualified class name of the Java + class containing the static method that implements + the function. + + + + + + + + + + Provides the signature, of the static Java method that is + to be used to implement the function. The syntax of the + function-signature element is as follows: + + FunctionSignature ::= ReturnType S MethodName S? + '(' S? Parameters? S? ')' + + ReturnType ::= Type + + MethodName ::= Identifier + + Parameters ::= Parameter + | ( Parameter S? ',' S? Parameters ) + + Parameter ::= Type + + Where: + + * Type is a basic type or a fully qualified + Java class name (including package name), + as per the 'Type' production in the Java + Language Specification, Second Edition, + Chapter 18. + + * Identifier is a Java identifier, as per + the 'Identifier' production in the Java + Language Specification, Second + Edition, Chapter 18. + + Example: + + java.lang.String nickName( java.lang.String, int ) + + + + + + + + + + The example element contains an informal description + of an example of the use of this function. + + + + + + + + + + Function extensions are for tool use only and must not affect + the behavior of a container. + + + + + + + + + + + + + + + Defines an action in this tag library that is implemented + as a .tag file. + + The tag-file element has two required subelements: + + description Optional tag-specific information + + display-name A short name that is intended to be + displayed by tools + + icon Optional icon element that can be used + by tools + + name The unique action name + + path Where to find the .tag file implementing this + action, relative to the root of the web + application or the root of the JAR file for a + tag library packaged in a JAR. This must + begin with /WEB-INF/tags if the .tag file + resides in the WAR, or /META-INF/tags if the + .tag file resides in a JAR. + + example Optional informal description of an + example of a use of this tag + + tag-extension Zero or more extensions that provide extra + information about this tag, for tool + consumption + + + + + + + + + + + + + The example element contains an informal description + of an example of the use of a tag. + + + + + + + + + + Tag extensions are for tool use only and must not affect + the behavior of a container. + + + + + + + + + + + + + + + The tag defines a unique tag in this tag library. It has one + attribute, id. + + The tag element may have several subelements defining: + + description Optional tag-specific information + + display-name A short name that is intended to be + displayed by tools + + icon Optional icon element that can be used + by tools + + name The unique action name + + tag-class The tag handler class implementing + javax.servlet.jsp.tagext.JspTag + + tei-class An optional subclass of + javax.servlet.jsp.tagext.TagExtraInfo + + body-content The body content type + + variable Optional scripting variable information + + attribute All attributes of this action that are + evaluated prior to invocation. + + dynamic-attributes Whether this tag supports additional + attributes with dynamic names. If + true, the tag-class must implement the + javax.servlet.jsp.tagext.DynamicAttributes + interface. Defaults to false. + + example Optional informal description of an + example of a use of this tag + + tag-extension Zero or more extensions that provide extra + information about this tag, for tool + consumption + + + + + + + + + + + + Defines the subclass of javax.serlvet.jsp.tagext.JspTag + that implements the request time semantics for + this tag. (required) + + + + + + + + + + Defines the subclass of javax.servlet.jsp.tagext.TagExtraInfo + for this tag. (optional) + + If this is not given, the class is not consulted at + translation time. + + + + + + + + + Specifies the format for the body of this tag. + The default in JSP 1.2 was "JSP" but because this + is an invalid setting for simple tag handlers, there + is no longer a default in JSP 2.0. A reasonable + default for simple tag handlers is "scriptless" if + the tag can have a body. + + + + + + + + + + + + The example element contains an informal description + of an example of the use of a tag. + + + + + + + + + + Tag extensions are for tool use only and must not affect + the behavior of a container. + + + + + + + + + + + + + + + The attribute element defines an attribute for the nesting + tag. The attributre element may have several subelements + defining: + + description a description of the attribute + + name the name of the attribute + + required whether the attribute is required or + optional + + rtexprvalue whether the attribute is a runtime attribute + + type the type of the attributes + + fragment whether this attribute is a fragment + + + + + + + + + + + Defines if the nesting attribute is required or + optional. + + If not present then the default is "false", i.e + the attribute is optional. + + + + + + + + + + + + Defines if the nesting attribute can have scriptlet + expressions as a value, i.e the value of the + attribute may be dynamically calculated at request + time, as opposed to a static value determined at + translation time. + + If not present then the default is "false", i.e the + attribute has a static value + + + + + + + + + + Defines the Java type of the attributes value. For + static values (those determined at translation time) + the type is always java.lang.String. + + + + + + + + + + "true" if this attribute is of type + javax.jsp.tagext.JspFragment, representing dynamic + content that can be re-evaluated as many times + as needed by the tag handler. If omitted or "false", + the default is still type="java.lang.String" + + + + + + + + + + + + + + + + + Defines the canonical name of a tag or attribute being + defined. + + The name must conform to the lexical rules for an NMTOKEN. + + + + + + + + + + + + + + + + The tld-extensionType is used to indicate + extensions to a specific TLD element. + + It is used by elements to designate an extension block + that is targeted to a specific extension designated by + a set of extension elements that are declared by a + namespace. The namespace identifies the extension to + the tool that processes the extension. + + The type of the extension-element is abstract. Therefore, + a concrete type must be specified by the TLD using + xsi:type attribute for each extension-element. + + + + + + + + + + + + + + + + + + + + The taglib tag is the document root, it defines: + + description a simple string describing the "use" of this + taglib, should be user discernable + + display-name the display-name element contains a + short name that is intended to be displayed + by tools + + icon optional icon that can be used by tools + + tlib-version the version of the tag library implementation + + short-name a simple default short name that could be + used by a JSP authoring tool to create + names with a mnemonic value; for example, + the it may be used as the prefered prefix + value in taglib directives + + uri a uri uniquely identifying this taglib + + validator optional TagLibraryValidator information + + listener optional event listener specification + + tag tags in this tag library + + tag-file tag files in this tag library + + function zero or more EL functions defined in this + tag library + + taglib-extension zero or more extensions that provide extra + information about this taglib, for tool + consumption + + + + + + + + + + Describes this version (number) of the taglibrary. + It is described as a dewey decimal. + + + + + + + + + + + Defines a simple default name that could be used by + a JSP authoring tool to create names with a + mnemonicvalue; for example, it may be used as the + preferred prefix value in taglib directives. Do + not use white space, and do not start with digits + or underscore. + + + + + + + + + + Defines a public URI that uniquely identifies this + version of the taglibrary. Leave it empty if it + does not apply. + + + + + + + + + + + + + + + + + Taglib extensions are for tool use only and must not affect + the behavior of a container. + + + + + + + + + + Describes the JSP version (number) this taglibrary + requires in order to function (dewey decimal) + + + + + + + + + + + + + + + A validator that can be used to validate + the conformance of a JSP page to using this tag library is + defined by a validatorType. + + + + + + + + + + + Defines the TagLibraryValidator class that can be used + to validate the conformance of a JSP page to using this + tag library. + + + + + + + + + The init-param element contains a name/value pair as an + initialization param. + + + + + + + + + + + + + + + + + This type defines scope of the scripting variable. See + TagExtraInfo for details. The allowed values are, + "NESTED", "AT_BEGIN" and "AT_END". + + + + + + + + + + + + + + + + + + + + The variableType provides information on the scripting + variables defined by using this tag. It is a (translation + time) error for a tag that has one or more variable + subelements to have a TagExtraInfo class that returns a + non-null value from a call to getVariableInfo(). + + The subelements of variableType are of the form: + + description Optional description of this + variable + + name-given The variable name as a constant + + name-from-attribute The name of an attribute whose + (translation time) value will + give the name of the + variable. One of name-given or + name-from-attribute is required. + + variable-class Name of the class of the variable. + java.lang.String is default. + + declare Whether the variable is declared + or not. True is the default. + + scope The scope of the scripting varaible + defined. NESTED is default. + + + + + + + + + + + + The name for the scripting variable. + + + + + + + + + + The name of an attribute whose + (translation-time) value will give the name of + the variable. + + + + + + + + + + The optional name of the class for the scripting + variable. The default is java.lang.String. + + + + + + + + + + + + Whether the scripting variable is to be defined + or not. See TagExtraInfo for details. This + element is optional and "true" is the default. + + + + + + + + + The element is optional and "NESTED" is the default. + + + + + + + + + + Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/web-jsptaglibrary_2_0.xsd ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/xml.xsd URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/xml.xsd?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/xml.xsd (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/xml.xsd Tue Aug 16 12:46:27 2005 @@ -0,0 +1,135 @@ + + + + + + + See http://www.w3.org/XML/1998/namespace.html and + http://www.w3.org/TR/REC-xml for information about this namespace. + + This schema document describes the XML namespace, in a form + suitable for import by other schema documents. + + Note that local names in this namespace are intended to be defined + only by the World Wide Web Consortium or its subgroups. The + following names are currently defined in this namespace and should + not be used with conflicting semantics by any Working Group, + specification, or document instance: + + base (as an attribute name): denotes an attribute whose value + provides a URI to be used as the base for interpreting any + relative URIs in the scope of the element on which it + appears; its value is inherited. This name is reserved + by virtue of its definition in the XML Base specification. + + id (as an attribute name): denotes an attribute whose value + should be interpreted as if declared to be of type ID. + The xml:id specification is not yet a W3C Recommendation, + but this attribute is included here to facilitate experimentation + with the mechanisms it proposes. Note that it is _not_ included + in the specialAttrs attribute group. + + lang (as an attribute name): denotes an attribute whose value + is a language code for the natural language of the content of + any element; its value is inherited. This name is reserved + by virtue of its definition in the XML specification. + + space (as an attribute name): denotes an attribute whose + value is a keyword indicating what whitespace processing + discipline is intended for the content of the element; its + value is inherited. This name is reserved by virtue of its + definition in the XML specification. + + Father (in any context at all): 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: + + 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 + + + + + This schema defines attributes and an attribute group + suitable for use by + schemas wishing to allow xml:base, xml:lang or xml:space attributes + on elements they define. + + To enable this, such a schema must import this schema + for the XML namespace, e.g. as follows: + <schema . . .> + . . . + <import namespace="http://www.w3.org/XML/1998/namespace" + schemaLocation="http://www.w3.org/2001/03/xml.xsd"/> + + Subsequently, qualified reference to any of the attributes + or the group defined below will have the desired effect, e.g. + + <type . . .> + . . . + <attributeGroup ref="xml:specialAttrs"/> + + will define a type which will schema-validate an instance + element with any of those attributes + + + + In keeping with the XML Schema WG's standard versioning + policy, this schema document will persist at + http://www.w3.org/2004/10/xml.xsd. + At the date of issue it can also be found at + http://www.w3.org/2001/xml.xsd. + 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 + http://www.w3.org/2001/xml.xsd will change + accordingly; the version at + http://www.w3.org/2004/10/xml.xsd will not change. + + + + + + Attempting to install the relevant ISO 2- and 3-letter + codes as the enumerated possible values is probably never + going to be a realistic possibility. See + RFC 3066 at http://www.ietf.org/rfc/rfc3066.txt and the IANA registry + at http://www.iana.org/assignments/lang-tag-apps.htm for + further information. + + + + + + + + + + + + + + + See http://www.w3.org/TR/xmlbase/ for + information about this attribute. + + + + + + See http://www.w3.org/TR/xml-id/ for + information about this attribute. + + + + + + + + + + Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/schema/xml.xsd ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/model/GeronimoModelPlugin.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/model/GeronimoModelPlugin.java?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/model/GeronimoModelPlugin.java (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/model/GeronimoModelPlugin.java Tue Aug 16 12:46:27 2005 @@ -0,0 +1,106 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.model; + +import org.eclipse.emf.common.EMFPlugin; + +import org.eclipse.emf.common.util.ResourceLocator; + +/** + * This is the central singleton for the Geronimo-web model plugin. + * + * + * @generated + */ +public final class GeronimoModelPlugin extends EMFPlugin { + /** + * + * + * @generated + */ + public static final String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."; + + /** + * Keep track of the singleton. + * + * + * @generated + */ + public static final GeronimoModelPlugin INSTANCE = new GeronimoModelPlugin(); + + /** + * Keep track of the singleton. + * + * + * @generated + */ + private static Implementation plugin; + + /** + * Create the instance. + * + * + * @generated + */ + public GeronimoModelPlugin() { + super(new ResourceLocator [] {}); + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public ResourceLocator getPluginResourceLocator() { + return plugin; + } + + /** + * Returns the singleton instance of the Eclipse plugin. + * + * + * @return the singleton instance. + * @generated + */ + public static Implementation getPlugin() { + return plugin; + } + + /** + * The actual implementation of the Eclipse Plugin. + * + * + * @generated + */ + public static class Implementation extends EclipsePlugin { + /** + * Creates an instance. + * + * + * @generated + */ + public Implementation() { + super(); + + // Remember the static instance. + // + plugin = this; + } + } + +} Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/model/GeronimoModelPlugin.java ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/AttributeType.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/AttributeType.java?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/AttributeType.java (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/AttributeType.java Tue Aug 16 12:46:27 2005 @@ -0,0 +1,127 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.deployment; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Attribute Type'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.deployment.AttributeType#getValue Value}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.AttributeType#getName Name}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.AttributeType#getType Type}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getAttributeType() + * @model extendedMetaData="name='attributeType' kind='simple'" + * @generated + */ +public interface AttributeType extends EObject { + /** + * + * + * @generated + */ + String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."; + + /** + * Returns the value of the 'Value' attribute. + * + *

+ * If the meaning of the 'Value' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Value' attribute. + * @see #setValue(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getAttributeType_Value() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="name=':0' kind='simple'" + * @generated + */ + String getValue(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.AttributeType#getValue Value}' attribute. + * + * + * @param value the new value of the 'Value' attribute. + * @see #getValue() + * @generated + */ + void setValue(String value); + + /** + * Returns the value of the 'Name' attribute. + * + *

+ * If the meaning of the 'Name' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Name' attribute. + * @see #setName(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getAttributeType_Name() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='name'" + * @generated + */ + String getName(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.AttributeType#getName Name}' attribute. + * + * + * @param value the new value of the 'Name' attribute. + * @see #getName() + * @generated + */ + void setName(String value); + + /** + * Returns the value of the 'Type' attribute. + * + *

+ * If the meaning of the 'Type' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Type' attribute. + * @see #setType(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getAttributeType_Type() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='type'" + * @generated + */ + String getType(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.AttributeType#getType Type}' attribute. + * + * + * @param value the new value of the 'Type' attribute. + * @see #getType() + * @generated + */ + void setType(String value); + +} // AttributeType Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/AttributeType.java ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/ConfigurationType.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/ConfigurationType.java?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/ConfigurationType.java (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/ConfigurationType.java Tue Aug 16 12:46:27 2005 @@ -0,0 +1,213 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.deployment; + +import org.eclipse.emf.common.util.EList; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Configuration Type'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getInclude Include}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getDependency Dependency}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getGbean Gbean}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getConfigId Config Id}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getDomain Domain}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getParentId Parent Id}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getServer Server}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType() + * @model extendedMetaData="name='configurationType' kind='elementOnly'" + * @generated + */ +public interface ConfigurationType extends EObject { + /** + * + * + * @generated + */ + String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."; + + /** + * Returns the value of the 'Include' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.DependencyType}. + * + *

+ * If the meaning of the 'Include' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Include' containment reference list. + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_Include() + * @model type="org.apache.geronimo.xml.ns.deployment.DependencyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='include' namespace='##targetNamespace'" + * @generated + */ + EList getInclude(); + + /** + * Returns the value of the 'Dependency' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.DependencyType}. + * + *

+ * If the meaning of the 'Dependency' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Dependency' containment reference list. + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_Dependency() + * @model type="org.apache.geronimo.xml.ns.deployment.DependencyType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='dependency' namespace='##targetNamespace'" + * @generated + */ + EList getDependency(); + + /** + * Returns the value of the 'Gbean' containment reference list. + * The list contents are of type {@link org.apache.geronimo.xml.ns.deployment.GbeanType}. + * + *

+ * If the meaning of the 'Gbean' containment reference list isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Gbean' containment reference list. + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_Gbean() + * @model type="org.apache.geronimo.xml.ns.deployment.GbeanType" containment="true" resolveProxies="false" + * extendedMetaData="kind='element' name='gbean' namespace='##targetNamespace'" + * @generated + */ + EList getGbean(); + + /** + * Returns the value of the 'Config Id' attribute. + * + *

+ * If the meaning of the 'Config Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Config Id' attribute. + * @see #setConfigId(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_ConfigId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" required="true" + * extendedMetaData="kind='attribute' name='configId'" + * @generated + */ + String getConfigId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getConfigId Config Id}' attribute. + * + * + * @param value the new value of the 'Config Id' attribute. + * @see #getConfigId() + * @generated + */ + void setConfigId(String value); + + /** + * Returns the value of the 'Domain' attribute. + * + *

+ * If the meaning of the 'Domain' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Domain' attribute. + * @see #setDomain(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_Domain() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='domain'" + * @generated + */ + String getDomain(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getDomain Domain}' attribute. + * + * + * @param value the new value of the 'Domain' attribute. + * @see #getDomain() + * @generated + */ + void setDomain(String value); + + /** + * Returns the value of the 'Parent Id' attribute. + * + * + * + * + * You are required to specify either parentId or both domain and server. domain and server form + * the domain and J2EEServer key for gbeans in this configuration and any descendant configurations. + * + * + * @return the value of the 'Parent Id' attribute. + * @see #setParentId(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_ParentId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='parentId'" + * @generated + */ + String getParentId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getParentId Parent Id}' attribute. + * + * + * @param value the new value of the 'Parent Id' attribute. + * @see #getParentId() + * @generated + */ + void setParentId(String value); + + /** + * Returns the value of the 'Server' attribute. + * + *

+ * If the meaning of the 'Server' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Server' attribute. + * @see #setServer(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getConfigurationType_Server() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='attribute' name='server'" + * @generated + */ + String getServer(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.ConfigurationType#getServer Server}' attribute. + * + * + * @param value the new value of the 'Server' attribute. + * @see #getServer() + * @generated + */ + void setServer(String value); + +} // ConfigurationType Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/ConfigurationType.java ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DependencyType.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DependencyType.java?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DependencyType.java (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DependencyType.java Tue Aug 16 12:46:27 2005 @@ -0,0 +1,155 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.deployment; + +import org.eclipse.emf.ecore.EObject; + +/** + * + * A representation of the model object 'Dependency Type'. + * + * + *

+ * The following features are supported: + *

    + *
  • {@link org.apache.geronimo.xml.ns.deployment.DependencyType#getGroupId Group Id}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.DependencyType#getArtifactId Artifact Id}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.DependencyType#getVersion Version}
  • + *
  • {@link org.apache.geronimo.xml.ns.deployment.DependencyType#getUri Uri}
  • + *
+ *

+ * + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getDependencyType() + * @model extendedMetaData="name='dependencyType' kind='elementOnly'" + * @generated + */ +public interface DependencyType extends EObject { + /** + * + * + * @generated + */ + String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."; + + /** + * Returns the value of the 'Group Id' attribute. + * + *

+ * If the meaning of the 'Group Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Group Id' attribute. + * @see #setGroupId(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getDependencyType_GroupId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='element' name='groupId' namespace='##targetNamespace'" + * @generated + */ + String getGroupId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.DependencyType#getGroupId Group Id}' attribute. + * + * + * @param value the new value of the 'Group Id' attribute. + * @see #getGroupId() + * @generated + */ + void setGroupId(String value); + + /** + * Returns the value of the 'Artifact Id' attribute. + * + *

+ * If the meaning of the 'Artifact Id' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Artifact Id' attribute. + * @see #setArtifactId(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getDependencyType_ArtifactId() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='element' name='artifactId' namespace='##targetNamespace'" + * @generated + */ + String getArtifactId(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.DependencyType#getArtifactId Artifact Id}' attribute. + * + * + * @param value the new value of the 'Artifact Id' attribute. + * @see #getArtifactId() + * @generated + */ + void setArtifactId(String value); + + /** + * Returns the value of the 'Version' attribute. + * + *

+ * If the meaning of the 'Version' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Version' attribute. + * @see #setVersion(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getDependencyType_Version() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='element' name='version' namespace='##targetNamespace'" + * @generated + */ + String getVersion(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.DependencyType#getVersion Version}' attribute. + * + * + * @param value the new value of the 'Version' attribute. + * @see #getVersion() + * @generated + */ + void setVersion(String value); + + /** + * Returns the value of the 'Uri' attribute. + * + *

+ * If the meaning of the 'Uri' attribute isn't clear, + * there really should be more of a description here... + *

+ * + * @return the value of the 'Uri' attribute. + * @see #setUri(String) + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage#getDependencyType_Uri() + * @model unique="false" dataType="org.eclipse.emf.ecore.xml.type.String" + * extendedMetaData="kind='element' name='uri' namespace='##targetNamespace'" + * @generated + */ + String getUri(); + + /** + * Sets the value of the '{@link org.apache.geronimo.xml.ns.deployment.DependencyType#getUri Uri}' attribute. + * + * + * @param value the new value of the 'Uri' attribute. + * @see #getUri() + * @generated + */ + void setUri(String value); + +} // DependencyType Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DependencyType.java ------------------------------------------------------------------------------ svn:executable = * Added: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DeploymentFactory.java URL: http://svn.apache.org/viewcvs/geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DeploymentFactory.java?rev=233044&view=auto ============================================================================== --- geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DeploymentFactory.java (added) +++ geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DeploymentFactory.java Tue Aug 16 12:46:27 2005 @@ -0,0 +1,134 @@ +/** + * Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.apache.geronimo.xml.ns.deployment; + +import org.eclipse.emf.ecore.EFactory; + +/** + * + * The Factory for the model. + * It provides a create method for each non-abstract class of the model. + * + * @see org.apache.geronimo.xml.ns.deployment.DeploymentPackage + * @generated + */ +public interface DeploymentFactory extends EFactory { + /** + * + * + * @generated + */ + String copyright = "Copyright 2004, 2005 The Apache Software Foundation or its licensors, as applicable."; + + /** + * The singleton instance of the factory. + * + * + * @generated + */ + DeploymentFactory eINSTANCE = new org.apache.geronimo.xml.ns.deployment.impl.DeploymentFactoryImpl(); + + /** + * Returns a new object of class 'Attribute Type'. + * + * + * @return a new object of class 'Attribute Type'. + * @generated + */ + AttributeType createAttributeType(); + + /** + * Returns a new object of class 'Configuration Type'. + * + * + * @return a new object of class 'Configuration Type'. + * @generated + */ + ConfigurationType createConfigurationType(); + + /** + * Returns a new object of class 'Dependency Type'. + * + * + * @return a new object of class 'Dependency Type'. + * @generated + */ + DependencyType createDependencyType(); + + /** + * Returns a new object of class 'Document Root'. + * + * + * @return a new object of class 'Document Root'. + * @generated + */ + DocumentRoot createDocumentRoot(); + + /** + * Returns a new object of class 'Gbean Type'. + * + * + * @return a new object of class 'Gbean Type'. + * @generated + */ + GbeanType createGbeanType(); + + /** + * Returns a new object of class 'Pattern Type'. + * + * + * @return a new object of class 'Pattern Type'. + * @generated + */ + PatternType createPatternType(); + + /** + * Returns a new object of class 'References Type'. + * + * + * @return a new object of class 'References Type'. + * @generated + */ + ReferencesType createReferencesType(); + + /** + * Returns a new object of class 'Reference Type'. + * + * + * @return a new object of class 'Reference Type'. + * @generated + */ + ReferenceType createReferenceType(); + + /** + * Returns a new object of class 'Xml Attribute Type'. + * + * + * @return a new object of class 'Xml Attribute Type'. + * @generated + */ + XmlAttributeType createXmlAttributeType(); + + /** + * Returns the package supported by this factory. + * + * + * @return the package supported by this factory. + * @generated + */ + DeploymentPackage getDeploymentPackage(); + +} //DeploymentFactory Propchange: geronimo/trunk/sandbox/eclipse-plugin/org.apache.geronimo.deployment.model/src/org/apache/geronimo/xml/ns/deployment/DeploymentFactory.java ------------------------------------------------------------------------------ svn:executable = *