1 8 9 package com.sun.xml.ws.policy.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.XmlRootElement; 18 import javax.xml.bind.annotation.XmlType; 19 import javax.xml.namespace.QName ; 20 import com.sun.xml.ws.policy.impl.bindings.PolicyReference; 21 22 23 44 @XmlAccessorType(XmlAccessType.FIELD) 45 @XmlType(name = "") 46 @XmlRootElement(name = "PolicyReference") 47 public class PolicyReference { 48 49 @XmlAttribute(name = "Digest") 50 protected byte[] digest; 51 @XmlAttribute(name = "DigestAlgorithm") 52 protected String digestAlgorithm; 53 @XmlAttribute(name = "URI") 54 protected String uri; 55 @XmlAnyAttribute 56 private Map <QName , String > otherAttributes = new HashMap <QName , String >(); 57 58 65 public byte[] getDigest() { 66 return digest; 67 } 68 69 76 public void setDigest(byte[] value) { 77 this.digest = ((byte[]) value); 78 } 79 80 88 public String getDigestAlgorithm() { 89 return digestAlgorithm; 90 } 91 92 100 public void setDigestAlgorithm(String value) { 101 this.digestAlgorithm = value; 102 } 103 104 112 public String getURI() { 113 return uri; 114 } 115 116 124 public void setURI(String value) { 125 this.uri = value; 126 } 127 128 142 public Map <QName , String > getOtherAttributes() { 143 return otherAttributes; 144 } 145 146 } 147 | Popular Tags |