1 8 9 package com.sun.xml.ws.policy.impl.bindings; 10 11 import java.util.ArrayList ; 12 import java.util.HashMap ; 13 import java.util.List ; 14 import java.util.Map ; 15 import javax.xml.bind.annotation.XmlAccessType; 16 import javax.xml.bind.annotation.XmlAccessorType; 17 import javax.xml.bind.annotation.XmlAnyAttribute; 18 import javax.xml.bind.annotation.XmlAnyElement; 19 import javax.xml.bind.annotation.XmlRootElement; 20 import javax.xml.bind.annotation.XmlType; 21 import javax.xml.namespace.QName ; 22 import com.sun.xml.ws.policy.impl.bindings.AppliesTo; 23 import org.w3c.dom.Element ; 24 25 26 47 @XmlAccessorType(XmlAccessType.FIELD) 48 @XmlType(name = "", propOrder = { 49 "any" 50 }) 51 @XmlRootElement(name = "AppliesTo") 52 public class AppliesTo { 53 54 @XmlAnyElement(lax = true) 55 protected List <Object > any; 56 @XmlAnyAttribute 57 private Map <QName , String > otherAttributes = new HashMap <QName , String >(); 58 59 82 public List <Object > getAny() { 83 if (any == null) { 84 any = new ArrayList <Object >(); 85 } 86 return this.any; 87 } 88 89 103 public Map <QName , String > getOtherAttributes() { 104 return otherAttributes; 105 } 106 107 } 108 | Popular Tags |