1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.opensaml.ws.wstrust.impl;
19
20 import org.opensaml.ws.wstrust.BinaryExchange;
21 import org.opensaml.xml.schema.impl.XSStringImpl;
22 import org.opensaml.xml.util.AttributeMap;
23
24
25
26
27
28 public class BinaryExchangeImpl extends XSStringImpl implements BinaryExchange {
29
30
31 private String valueType;
32
33
34 private String encodingType;
35
36
37 private AttributeMap unknownAttributes;
38
39
40
41
42
43
44
45
46 public BinaryExchangeImpl(String namespaceURI, String elementLocalName, String namespacePrefix) {
47 super(namespaceURI, elementLocalName, namespacePrefix);
48 unknownAttributes = new AttributeMap(this);
49 }
50
51
52 public String getEncodingType() {
53 return encodingType;
54 }
55
56
57 public void setEncodingType(String newEncodingType) {
58 encodingType = prepareForAssignment(encodingType, newEncodingType);
59 }
60
61
62 public String getValueType() {
63 return valueType;
64 }
65
66
67 public void setValueType(String newValueType) {
68 valueType = prepareForAssignment(valueType, newValueType);
69 }
70
71
72 public AttributeMap getUnknownAttributes() {
73 return unknownAttributes;
74 }
75
76 }