Source Code Cross Referenced for ObjectFactory.java in  » J2EE » openejb3 » org » apache » openejb » jee » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » J2EE » openejb3 » org.apache.openejb.jee 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         *
003:         * Licensed to the Apache Software Foundation (ASF) under one or more
004:         * contributor license agreements.  See the NOTICE file distributed with
005:         * this work for additional information regarding copyright ownership.
006:         * The ASF licenses this file to You under the Apache License, Version 2.0
007:         * (the "License"); you may not use this file except in compliance with
008:         * the License.  You may obtain a copy of the License at
009:         *
010:         *     http://www.apache.org/licenses/LICENSE-2.0
011:         *
012:         *  Unless required by applicable law or agreed to in writing, software
013:         *  distributed under the License is distributed on an "AS IS" BASIS,
014:         *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015:         *  See the License for the specific language governing permissions and
016:         *  limitations under the License.
017:         */package org.apache.openejb.jee;
018:
019:        import javax.xml.bind.JAXBElement;
020:        import javax.xml.bind.annotation.XmlElementDecl;
021:        import javax.xml.bind.annotation.XmlRegistry;
022:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
023:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
024:        import javax.xml.namespace.QName;
025:
026:        /**
027:         * This object contains factory methods for each
028:         * Java content interface and Java element interface
029:         * generated in the org.apache.openejb.jee2 package.
030:         * <p>An ObjectFactory allows you to programatically
031:         * construct new instances of the Java representation
032:         * for XML content. The Java representation of XML
033:         * content can consist of schema derived interfaces
034:         * and classes representing the binding of schema
035:         * type definitions, element declarations and model
036:         * groups.  Factory methods for each of these are
037:         * provided in this class.
038:         */
039:        @XmlRegistry
040:        public class ObjectFactory {
041:
042:            private final static QName _EjbJar_QNAME = new QName(
043:                    "http://java.sun.com/xml/ns/javaee", "ejb-jar");
044:            private final static QName _EjbRelationTypeEjbRelationName_QNAME = new QName(
045:                    "http://java.sun.com/xml/ns/javaee", "ejb-relation-name");
046:            private final static QName _EjbRelationTypeEjbRelationshipRole_QNAME = new QName(
047:                    "http://java.sun.com/xml/ns/javaee",
048:                    "ejb-relationship-role");
049:            private final static QName _EjbRelationTypeDescription_QNAME = new QName(
050:                    "http://java.sun.com/xml/ns/javaee", "description");
051:            private final static QName _WebResourceCollectionTypeHttpMethod_QNAME = new QName(
052:                    "http://java.sun.com/xml/ns/javaee", "http-method");
053:            private final static QName _TldTaglib_QNAME = new QName(
054:                    "http://java.sun.com/xml/ns/javaee", "web-app");
055:            private final static QName _WebApp_QNAME = new QName(
056:                    "http://java.sun.com/xml/ns/javaee", "taglib");
057:            private final static QName _Connector_QNAME = new QName(
058:                    "http://java.sun.com/xml/ns/j2ee", "connector");
059:            private final static QName _JavaWsdlMapping_QNAME = new QName(
060:                    "http://java.sun.com/xml/ns/j2ee", "java-wsdl-mapping");
061:            private final static QName _Webservices_QNAME = new QName(
062:                    "http://java.sun.com/xml/ns/javaee", "webservices");
063:
064:            /**
065:             * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.apache.openejb.jee2
066:             */
067:            public ObjectFactory() {
068:            }
069:
070:            /**
071:             * Create an instance of {@link JAXBElement }{@code <}{@link EjbJar }{@code >}}
072:             */
073:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="ejb-jar")
074:            public JAXBElement<EjbJar> createEjbJar(EjbJar value) {
075:                return new JAXBElement<EjbJar>(_EjbJar_QNAME, EjbJar.class,
076:                        null, value);
077:            }
078:
079:            /**
080:             * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
081:             */
082:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="ejb-relation-name",scope=EjbRelation.class)
083:            public JAXBElement<String> createEjbRelationTypeEjbRelationName(
084:                    String value) {
085:                return new JAXBElement<String>(
086:                        _EjbRelationTypeEjbRelationName_QNAME, String.class,
087:                        EjbRelation.class, value);
088:            }
089:
090:            /**
091:             * Create an instance of {@link JAXBElement }{@code <}{@link EjbRelationshipRole }{@code >}}
092:             */
093:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="ejb-relationship-role",scope=EjbRelation.class)
094:            public JAXBElement<EjbRelationshipRole> createEjbRelationTypeEjbRelationshipRole(
095:                    EjbRelationshipRole value) {
096:                return new JAXBElement<EjbRelationshipRole>(
097:                        _EjbRelationTypeEjbRelationshipRole_QNAME,
098:                        EjbRelationshipRole.class, EjbRelation.class, value);
099:            }
100:
101:            /**
102:             * Create an instance of {@link JAXBElement }{@code <}{@link Text }{@code >}}
103:             */
104:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="description",scope=EjbRelation.class)
105:            public JAXBElement<Text> createEjbRelationTypeDescription(Text value) {
106:                return new JAXBElement<Text>(_EjbRelationTypeDescription_QNAME,
107:                        Text.class, EjbRelation.class, value);
108:            }
109:
110:            /**
111:             * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}
112:             *
113:             */
114:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="http-method",scope=WebResourceCollection.class)
115:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
116:            public JAXBElement<String> createWebResourceCollectionTypeHttpMethod(
117:                    String value) {
118:                return new JAXBElement<String>(
119:                        _WebResourceCollectionTypeHttpMethod_QNAME,
120:                        String.class, WebResourceCollection.class, value);
121:            }
122:
123:            /**
124:             * Create an instance of {@link JAXBElement }{@code <}{@link WebApp }{@code >}}
125:             *
126:             */
127:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="web-app")
128:            public JAXBElement<WebApp> createWebApp(WebApp value) {
129:                return new JAXBElement<WebApp>(_WebApp_QNAME, WebApp.class,
130:                        null, value);
131:            }
132:
133:            /**
134:             * Create an instance of {@link JAXBElement }{@code <}{@link TldTaglib }{@code >}}
135:             *
136:             */
137:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="taglib")
138:            public JAXBElement<TldTaglib> createTldTaglib(TldTaglib value) {
139:                return new JAXBElement<TldTaglib>(_TldTaglib_QNAME,
140:                        TldTaglib.class, null, value);
141:            }
142:
143:            /**
144:             * Create an instance of {@link JAXBElement }{@code <}{@link Connector }{@code >}}
145:             *
146:             */
147:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/j2ee",name="connector")
148:            public JAXBElement<Connector> createConnector(Connector value) {
149:                return new JAXBElement<Connector>(_Connector_QNAME,
150:                        Connector.class, null, value);
151:            }
152:
153:            /**
154:             * Create an instance of {@link JAXBElement }{@code <}{@link JavaWsdlMapping }{@code >}}
155:             *
156:             */
157:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/j2ee",name="java-wsdl-mapping")
158:            public JAXBElement<JavaWsdlMapping> createConnector(
159:                    JavaWsdlMapping value) {
160:                return new JAXBElement<JavaWsdlMapping>(_JavaWsdlMapping_QNAME,
161:                        JavaWsdlMapping.class, null, value);
162:            }
163:
164:            /**
165:             * Create an instance of {@link JAXBElement }{@code <}{@link Webservices }{@code >}}
166:             *
167:             */
168:            @XmlElementDecl(namespace="http://java.sun.com/xml/ns/javaee",name="webservices")
169:            public JAXBElement<Webservices> createConnector(Webservices value) {
170:                return new JAXBElement<Webservices>(_Webservices_QNAME,
171:                        Webservices.class, null, value);
172:            }
173:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.