1 8 9 package com.sun.xml.ws.security.wsu; 10 11 import java.util.HashMap ; 12 import java.util.Map ; 13 import javax.xml.bind.annotation.XmlAccessType; 14 import javax.xml.bind.annotation.XmlAccessorType; 15 import javax.xml.bind.annotation.XmlAnyAttribute; 16 import javax.xml.bind.annotation.XmlAttribute; 17 import javax.xml.bind.annotation.XmlID; 18 import javax.xml.bind.annotation.XmlType; 19 import javax.xml.bind.annotation.XmlValue; 20 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter; 21 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; 22 import javax.xml.namespace.QName ; 23 import com.sun.xml.ws.security.wsu.AttributedURI; 24 25 26 47 @XmlAccessorType(XmlAccessType.FIELD) 48 @XmlType(name = "AttributedURI", propOrder = { 49 "value" 50 }) 51 public class AttributedURI { 52 53 @XmlValue 54 protected String value; 55 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") 56 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 57 @XmlID 58 protected String id; 59 @XmlAnyAttribute 60 private Map <QName , String > otherAttributes = new HashMap <QName , String >(); 61 62 70 public String getValue() { 71 return value; 72 } 73 74 82 public void setValue(String value) { 83 this.value = value; 84 } 85 86 94 public String getId() { 95 return id; 96 } 97 98 106 public void setId(String value) { 107 this.id = value; 108 } 109 110 124 public Map <QName , String > getOtherAttributes() { 125 return otherAttributes; 126 } 127 128 } 129 | Popular Tags |