1 8 9 package com.sun.xml.ws.policy.impl.bindings; 10 11 import javax.xml.bind.JAXBElement; 12 import javax.xml.bind.annotation.XmlElementDecl; 13 import javax.xml.bind.annotation.XmlRegistry; 14 import javax.xml.namespace.QName ; 15 import com.sun.xml.ws.policy.impl.bindings.AppliesTo; 16 import com.sun.xml.ws.policy.impl.bindings.ObjectFactory; 17 import com.sun.xml.ws.policy.impl.bindings.OperatorContentType; 18 import com.sun.xml.ws.policy.impl.bindings.Policy; 19 import com.sun.xml.ws.policy.impl.bindings.PolicyAttachment; 20 import com.sun.xml.ws.policy.impl.bindings.PolicyReference; 21 import com.sun.xml.ws.policy.impl.bindings.UsingPolicy; 22 23 24 38 @XmlRegistry 39 public class ObjectFactory { 40 41 private final static QName _ExactlyOne_QNAME = new QName ("http://schemas.xmlsoap.org/ws/2004/09/policy", "ExactlyOne"); 42 private final static QName _All_QNAME = new QName ("http://schemas.xmlsoap.org/ws/2004/09/policy", "All"); 43 44 48 public ObjectFactory() { 49 } 50 51 55 public UsingPolicy createUsingPolicy() { 56 return new UsingPolicy(); 57 } 58 59 63 public PolicyReference createPolicyReference() { 64 return new PolicyReference(); 65 } 66 67 71 public PolicyAttachment createPolicyAttachment() { 72 return new PolicyAttachment(); 73 } 74 75 79 public AppliesTo createAppliesTo() { 80 return new AppliesTo(); 81 } 82 83 87 public OperatorContentType createOperatorContentType() { 88 return new OperatorContentType(); 89 } 90 91 95 public Policy createPolicy() { 96 return new Policy(); 97 } 98 99 103 @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "ExactlyOne") 104 public JAXBElement<OperatorContentType> createExactlyOne(OperatorContentType value) { 105 return new JAXBElement<OperatorContentType>(_ExactlyOne_QNAME, OperatorContentType.class, null, value); 106 } 107 108 112 @XmlElementDecl(namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", name = "All") 113 public JAXBElement<OperatorContentType> createAll(OperatorContentType value) { 114 return new JAXBElement<OperatorContentType>(_All_QNAME, OperatorContentType.class, null, value); 115 } 116 117 } 118 | Popular Tags |