1 8 9 package com.sun.xml.ws.policy.impl.bindings; 10 11 import java.util.ArrayList ; 12 import java.util.List ; 13 import javax.xml.bind.JAXBElement; 14 import javax.xml.bind.annotation.XmlAccessType; 15 import javax.xml.bind.annotation.XmlAccessorType; 16 import javax.xml.bind.annotation.XmlAnyElement; 17 import javax.xml.bind.annotation.XmlElementRef; 18 import javax.xml.bind.annotation.XmlElementRefs; 19 import javax.xml.bind.annotation.XmlType; 20 import com.sun.xml.ws.policy.impl.bindings.OperatorContentType; 21 import com.sun.xml.ws.policy.impl.bindings.Policy; 22 import com.sun.xml.ws.policy.impl.bindings.PolicyReference; 23 import org.w3c.dom.Element ; 24 25 26 49 @XmlAccessorType(XmlAccessType.FIELD) 50 @XmlType(name = "OperatorContentType", propOrder = { 51 "policyOrAllOrExactlyOne" 52 }) 53 public class OperatorContentType { 54 55 @XmlElementRefs({ 56 @XmlElementRef(name = "ExactlyOne", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = JAXBElement.class), 57 @XmlElementRef(name = "PolicyReference", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = PolicyReference.class), 58 @XmlElementRef(name = "All", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = JAXBElement.class), 59 @XmlElementRef(name = "Policy", namespace = "http://schemas.xmlsoap.org/ws/2004/09/policy", type = Policy.class) 60 }) 61 @XmlAnyElement(lax = true) 62 protected List <Object > policyOrAllOrExactlyOne; 63 64 91 public List <Object > getPolicyOrAllOrExactlyOne() { 92 if (policyOrAllOrExactlyOne == null) { 93 policyOrAllOrExactlyOne = new ArrayList <Object >(); 94 } 95 return this.policyOrAllOrExactlyOne; 96 } 97 98 } 99 | Popular Tags |