@@ -47,7 +47,7 @@ export class EwsServiceXmlWriter {
47
47
/**
48
48
* Gets the xml created by EWS XMl Writer.
49
49
*
50
- * @param {[ boolean] } keep removes internal cache of XML data if false, otherwise keep the data.
50
+ * @param {boolean } keep removes internal cache of XML data if false, otherwise keep the data.
51
51
*/
52
52
GetXML ( keep : boolean = false ) : string {
53
53
var returnVal = this . soapData . trim ( ) ;
@@ -68,8 +68,8 @@ export class EwsServiceXmlWriter {
68
68
/**
69
69
* Pushes xml uri to internal tracker of used xml uris
70
70
*
71
- * @param {[ string] } prefix Prefix of uri.
72
- * @param {[ string] } uri uri itself.
71
+ * @param {string } prefix Prefix of uri.
72
+ * @param {string } uri uri itself.
73
73
*/
74
74
private PushUris ( prefix : string , uri : string ) : void {
75
75
@@ -82,8 +82,8 @@ export class EwsServiceXmlWriter {
82
82
/**
83
83
* check if an uri exist in internal tracker
84
84
*
85
- * @param {[ string] } prefix Prefix of uri.
86
- * @param {[ string] } uri uri itself.
85
+ * @param {string } prefix Prefix of uri.
86
+ * @param {string } uri uri itself.
87
87
*/
88
88
private CheckRootUri ( prefix : string , uri : string ) : boolean {
89
89
return this . rootUris . indexOf ( prefix + ":" + uri ) >= 0 ;
@@ -93,7 +93,7 @@ export class EwsServiceXmlWriter {
93
93
/**
94
94
* Initializes a new instance of the class.
95
95
*
96
- * @param {[ ExchangeServiceBase] } service The service.
96
+ * @param {ExchangeServiceBase } service The service.
97
97
*/
98
98
constructor ( service : ExchangeServiceBase ) {
99
99
this . service = service ;
@@ -103,8 +103,8 @@ export class EwsServiceXmlWriter {
103
103
/**
104
104
* convert object to a string. transformed TryConvertObjectToString metho from c#
105
105
*
106
- * @param {[ any] } value The value.
107
- * @return {[ string] } The string representation of value.
106
+ * @param {any } value The value.
107
+ * @return {string } The string representation of value.
108
108
*/
109
109
ConvertObjectToString ( value : any ) : string {
110
110
var strValue : string = null ;
@@ -144,16 +144,16 @@ export class EwsServiceXmlWriter {
144
144
/**
145
145
* Writes the attribute value.
146
146
*
147
- * @param {[ string] } localName The local name of the attribute.
148
- * @param {[ string] } stringValue The string value.
147
+ * @param {string } localName The local name of the attribute.
148
+ * @param {string } stringValue The string value.
149
149
*/
150
150
WriteAttributeString ( localName : string , stringValue : string ) : void ;
151
151
/**
152
152
* Writes the attribute value.
153
153
*
154
- * @param {[ string] } namespacePrefix The namespace prefix.
155
- * @param {[ string] } localName The local name of the attribute.
156
- * @param {[ string] } stringValue The string value.
154
+ * @param {string } namespacePrefix The namespace prefix.
155
+ * @param {string } localName The local name of the attribute.
156
+ * @param {string } stringValue The string value.
157
157
*/
158
158
WriteAttributeString ( namespacePrefix : string , localName : string , stringValue : string ) : void ;
159
159
WriteAttributeString (
@@ -190,24 +190,24 @@ export class EwsServiceXmlWriter {
190
190
/**
191
191
* Writes the attribute value. Does not emit empty string values.
192
192
*
193
- * @param {[ string] } localName The local name of the attribute.
194
- * @param {[ any] } value The value.
193
+ * @param {string } localName The local name of the attribute.
194
+ * @param {any } value The value.
195
195
*/
196
196
WriteAttributeValue ( localName : string , value : any ) : void ;
197
197
/**
198
198
* Writes the attribute value. Optionally emits empty string values.
199
199
*
200
- * @param {[ string] } localName The local name of the attribute.
201
- * @param {[ boolean] } alwaysWriteEmptyString Always emit the empty string as the value.
202
- * @param {[ any] } value The value.
200
+ * @param {string } localName The local name of the attribute.
201
+ * @param {boolean } alwaysWriteEmptyString Always emit the empty string as the value.
202
+ * @param {any } value The value.
203
203
*/
204
204
WriteAttributeValue ( localName : string , alwaysWriteEmptyString : boolean , value : any ) : void ;
205
205
/**
206
206
* Writes the attribute value.
207
207
*
208
- * @param {[ string] } namespacePrefix The namespace prefix.
209
- * @param {[ string] } localName The local name of the attribute.
210
- * @param {[ any] } value The value.
208
+ * @param {string } namespacePrefix The namespace prefix.
209
+ * @param {string } localName The local name of the attribute.
210
+ * @param {any } value The value.
211
211
*/
212
212
WriteAttributeValue ( namespacePrefix : string , localName : string , value : any ) : void ;
213
213
WriteAttributeValue (
@@ -250,7 +250,7 @@ export class EwsServiceXmlWriter {
250
250
/**
251
251
* Writes the base64-encoded element value.
252
252
*
253
- * @param {[ any] } buffer The buffer.
253
+ * @param {any } buffer The buffer.
254
254
*/
255
255
WriteBase64ElementValue ( buffer : any ) : void {
256
256
this . WriteValue ( base64Helper . btoa ( buffer ) , null ) ;
@@ -259,18 +259,18 @@ export class EwsServiceXmlWriter {
259
259
/**
260
260
* Writes the element value.
261
261
*
262
- * @param {[ XmlNamespace] } xmlNamespace The XML namespace.
263
- * @param {[ string] } localName The local name of the element.
264
- * @param {[ string] } displayName The name that should appear in the exception message when the value can not be serialized.
265
- * @param {[ any] } value The value.
262
+ * @param {XmlNamespace } xmlNamespace The XML namespace.
263
+ * @param {string } localName The local name of the element.
264
+ * @param {string } displayName The name that should appear in the exception message when the value can not be serialized.
265
+ * @param {any } value The value.
266
266
*/
267
267
WriteElementValue ( xmlNamespace : XmlNamespace , localName : string , value : any ) : void ;
268
268
/**
269
269
* Writes the element value.
270
270
*
271
- * @param {[ XmlNamespace] } xmlNamespace The XML namespace.
272
- * @param {[ string] } localName The local name of the element.
273
- * @param {[ any] } value The value.
271
+ * @param {XmlNamespace } xmlNamespace The XML namespace.
272
+ * @param {string } localName The local name of the element.
273
+ * @param {any } value The value.
274
274
*/
275
275
WriteElementValue ( xmlNamespace : XmlNamespace , localName : string , displayName : string , value : any ) : void ;
276
276
WriteElementValue (
@@ -315,8 +315,8 @@ export class EwsServiceXmlWriter {
315
315
/**
316
316
* Writes the start element.
317
317
*
318
- * @param {[ XmlNamespace] } xmlNamespace The XML namespace.
319
- * @param {[ string] } localName The local name of the element.
318
+ * @param {XmlNamespace } xmlNamespace The XML namespace.
319
+ * @param {string } localName The local name of the element.
320
320
*/
321
321
WriteStartElement ( xmlNamespace : XmlNamespace , localName : string ) : void {
322
322
this . CloseTag ( ) ;
@@ -344,8 +344,8 @@ export class EwsServiceXmlWriter {
344
344
/**
345
345
* Writes string value.
346
346
*
347
- * @param {[ string] } value The value.
348
- * @param {[ string] } name Element name (used for error handling)
347
+ * @param {string } value The value.
348
+ * @param {string } name Element name (used for error handling)
349
349
*/
350
350
WriteValue ( value : string , name : string ) : any {
351
351
//var closeElement = this.soapData.charAt(this.soapData.length - 1) !== ">";
0 commit comments