001: //
002: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.0-b26-ea3
003: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
004: // Any modifications to this file will be lost upon recompilation of the source schema.
005: // Generated on: 2006.02.24 at 05:55:09 PM PST
006: //
007:
008: package com.sun.xml.ws.policy.impl.bindings;
009:
010: import java.util.HashMap;
011: import java.util.Map;
012: import javax.xml.bind.annotation.XmlAccessType;
013: import javax.xml.bind.annotation.XmlAccessorType;
014: import javax.xml.bind.annotation.XmlAnyAttribute;
015: import javax.xml.bind.annotation.XmlAttribute;
016: import javax.xml.bind.annotation.XmlRootElement;
017: import javax.xml.bind.annotation.XmlType;
018: import javax.xml.namespace.QName;
019: import com.sun.xml.ws.policy.impl.bindings.PolicyReference;
020:
021: /**
022: * <p>Java class for PolicyReference element declaration.
023: *
024: * <p>The following schema fragment specifies the expected content contained within this class.
025: *
026: * <pre>
027: * <element name="PolicyReference">
028: * <complexType>
029: * <complexContent>
030: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031: * <attribute name="Digest" type="{http://www.w3.org/2001/XMLSchema}base64Binary" />
032: * <attribute name="DigestAlgorithm" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
033: * <attribute name="URI" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
034: * </restriction>
035: * </complexContent>
036: * </complexType>
037: * </element>
038: * </pre>
039: *
040: *
041: */
042: @XmlAccessorType(XmlAccessType.FIELD)
043: @XmlType(name="")
044: @XmlRootElement(name="PolicyReference")
045: public class PolicyReference {
046:
047: @XmlAttribute(name="Digest")
048: protected byte[] digest;
049: @XmlAttribute(name="DigestAlgorithm")
050: protected String digestAlgorithm;
051: @XmlAttribute(name="URI")
052: protected String uri;
053: @XmlAnyAttribute
054: private Map<QName, String> otherAttributes = new HashMap<QName, String>();
055:
056: /**
057: * Gets the value of the digest property.
058: *
059: * @return
060: * possible object is
061: * byte[]
062: */
063: public byte[] getDigest() {
064: return digest;
065: }
066:
067: /**
068: * Sets the value of the digest property.
069: *
070: * @param value
071: * allowed object is
072: * byte[]
073: */
074: public void setDigest(byte[] value) {
075: this .digest = ((byte[]) value);
076: }
077:
078: /**
079: * Gets the value of the digestAlgorithm property.
080: *
081: * @return
082: * possible object is
083: * {@link String }
084: *
085: */
086: public String getDigestAlgorithm() {
087: return digestAlgorithm;
088: }
089:
090: /**
091: * Sets the value of the digestAlgorithm property.
092: *
093: * @param value
094: * allowed object is
095: * {@link String }
096: *
097: */
098: public void setDigestAlgorithm(String value) {
099: this .digestAlgorithm = value;
100: }
101:
102: /**
103: * Gets the value of the uri property.
104: *
105: * @return
106: * possible object is
107: * {@link String }
108: *
109: */
110: public String getURI() {
111: return uri;
112: }
113:
114: /**
115: * Sets the value of the uri property.
116: *
117: * @param value
118: * allowed object is
119: * {@link String }
120: *
121: */
122: public void setURI(String value) {
123: this .uri = value;
124: }
125:
126: /**
127: * Gets a map that contains attributes that aren't bound to any typed property on this class.
128: *
129: * <p>
130: * the map is keyed by the name of the attribute and
131: * the value is the string value of the attribute.
132: *
133: * the map returned by this method is live, and you can add new attribute
134: * by updating the map directly. Because of this design, there's no setter.
135: *
136: *
137: * @return
138: * always non-null
139: */
140: public Map<QName, String> getOtherAttributes() {
141: return otherAttributes;
142: }
143:
144: }
|