1 8 9 package com.sun.xml.ws.security.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.XmlAttribute; 20 import javax.xml.bind.annotation.XmlID; 21 import javax.xml.bind.annotation.XmlType; 22 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 23 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 24 import javax.xml.namespace.QName ; 25 import com.sun.xml.ws.security.impl.bindings.SecurityTokenReferenceType; 26 import org.w3c.dom.Element ; 27 28 29 52 @XmlAccessorType(XmlAccessType.FIELD) 53 @XmlType(name = "SecurityTokenReferenceType", propOrder = { 54 "any" 55 }) 56 public class SecurityTokenReferenceType { 57 58 @XmlAnyElement(lax = true) 59 protected List <Object > any; 60 @XmlAttribute(name = "Usage", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd") 61 protected List <String > usage; 62 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") 63 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 64 @XmlID 65 protected String id; 66 @XmlAnyAttribute 67 private Map <QName , String > otherAttributes = new HashMap <QName , String >(); 68 69 92 public List <Object > getAny() { 93 if (any == null) { 94 any = new ArrayList <Object >(); 95 } 96 return this.any; 97 } 98 99 121 public List <String > getUsage() { 122 if (usage == null) { 123 usage = new ArrayList <String >(); 124 } 125 return this.usage; 126 } 127 128 136 public String getId() { 137 return id; 138 } 139 140 148 public void setId(String value) { 149 this.id = value; 150 } 151 152 166 public Map <QName , String > getOtherAttributes() { 167 return otherAttributes; 168 } 169 170 } 171 | Popular Tags |