1/*2 * Copyright 2001-2008 The Apache Software Foundation.3 * 4 * Licensed under the Apache License, Version 2.0 (the "License");5 * you may not use this file except in compliance with the License.6 * You may obtain a copy of the License at7 * 8 * http://www.apache.org/licenses/LICENSE-2.09 * 10 * Unless required by applicable law or agreed to in writing, software11 * distributed under the License is distributed on an "AS IS" BASIS,12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13 * See the License for the specific language governing permissions and14 * limitations under the License.15 *16 */171819package org.uddi.policy_v3;
2021import javax.xml.bind.JAXBElement;
22import javax.xml.bind.annotation.XmlElementDecl;
23import javax.xml.bind.annotation.XmlRegistry;
24import javax.xml.namespace.QName;
252627/**28 * This object contains factory methods for each 29 * Java content interface and Java element interface 30 * generated in the org.uddi.policy_v3 package. 31 * <p>An ObjectFactory allows you to programatically 32 * construct new instances of the Java representation 33 * for XML content. The Java representation of XML 34 * content can consist of schema derived interfaces 35 * and classes representing the binding of schema 36 * type definitions, element declarations and model 37 * groups. Factory methods for each of these are 38 * provided in this class.39 * 40 */41 @XmlRegistry
42publicclassObjectFactory {
4344privatefinalstatic QName _PolicyName_QNAME = new QName("urn:uddi-org:policy_v3", "policyName");
45privatefinalstatic QName _PolicyDescription_QNAME = new QName("urn:uddi-org:policy_v3", "policyDescription");
46privatefinalstatic QName _PolicyDecisionPoint_QNAME = new QName("urn:uddi-org:policy_v3", "policyDecisionPoint");
4748/**49 * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: org.uddi.policy_v350 * 51 */52publicObjectFactory() {
53 }
5455/**56 * Create an instance of {@link Policies }57 * 58 */59publicPolicies createPolicies() {
60returnnewPolicies();
61 }
6263/**64 * Create an instance of {@link PolicyDescriptionType }65 * 66 */67publicPolicyDescriptionType createPolicyDescriptionType() {
68returnnewPolicyDescriptionType();
69 }
7071/**72 * Create an instance of {@link Policy }73 * 74 */75publicPolicy createPolicy() {
76returnnewPolicy();
77 }
7879/**80 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}81 * 82 */83 @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyName")
84public JAXBElement<String> createPolicyName(String value) {
85returnnew JAXBElement<String>(_PolicyName_QNAME, String.class, null, value);
86 }
8788/**89 * Create an instance of {@link JAXBElement }{@code <}{@link PolicyDescriptionType }{@code >}}90 * 91 */92 @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyDescription")
93public JAXBElement<PolicyDescriptionType> createPolicyDescription(PolicyDescriptionType value) {
94returnnew JAXBElement<PolicyDescriptionType>(_PolicyDescription_QNAME, PolicyDescriptionType.class, null, value);
95 }
9697/**98 * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}}99 * 100 */101 @XmlElementDecl(namespace = "urn:uddi-org:policy_v3", name = "policyDecisionPoint")
102public JAXBElement<String> createPolicyDecisionPoint(String value) {
103returnnew JAXBElement<String>(_PolicyDecisionPoint_QNAME, String.class, null, value);
104 }
105106 }