1 8 9 package com.sun.xml.ws.security.impl.bindings; 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.impl.bindings.AttributedString; 24 25 26 45 @XmlAccessorType(XmlAccessType.FIELD) 46 @XmlType(name = "AttributedString", propOrder = { 47 "value" 48 }) 49 public class AttributedString { 50 51 @XmlValue 52 protected String value; 53 @XmlAttribute(name = "Id", namespace = "http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd") 54 @XmlJavaTypeAdapter(CollapsedStringAdapter.class) 55 @XmlID 56 protected String id; 57 @XmlAnyAttribute 58 private Map <QName , String > otherAttributes = new HashMap <QName , String >(); 59 60 68 public String getValue() { 69 return value; 70 } 71 72 80 public void setValue(String value) { 81 this.value = value; 82 } 83 84 92 public String getId() { 93 return id; 94 } 95 96 104 public void setId(String value) { 105 this.id = value; 106 } 107 108 122 public Map <QName , String > getOtherAttributes() { 123 return otherAttributes; 124 } 125 126 } 127 | Popular Tags |