-
Notifications
You must be signed in to change notification settings - Fork 0
/
IMatchResult.xml
378 lines (378 loc) · 23.6 KB
/
IMatchResult.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
<Type Name="IMatchResult" FullName="Java.Util.Regex.IMatchResult">
<TypeSignature Language="C#" Value="public interface IMatchResult : Android.Runtime.IJavaObject, IDisposable, Java.Interop.IJavaPeerable" />
<TypeSignature Language="ILAsm" Value=".class public interface auto ansi abstract beforefieldinit IMatchResult implements class Android.Runtime.IJavaObject, class Java.Interop.IJavaPeerable, class System.IDisposable" />
<TypeSignature Language="DocId" Value="T:Java.Util.Regex.IMatchResult" />
<TypeSignature Language="F#" Value="type IMatchResult = interface
 interface IJavaObject
 interface IDisposable
 interface IJavaPeerable" />
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Interfaces>
<Interface>
<InterfaceName>Android.Runtime.IJavaObject</InterfaceName>
</Interface>
<Interface>
<InterfaceName>Java.Interop.IJavaPeerable</InterfaceName>
</Interface>
<Interface>
<InterfaceName>System.IDisposable</InterfaceName>
</Interface>
</Interfaces>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("java/util/regex/MatchResult", "", "Java.Util.Regex.IMatchResultInvoker")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("java/util/regex/MatchResult", "", "Java.Util.Regex.IMatchResultInvoker")>]</AttributeName>
</Attribute>
</Attributes>
<Docs since="1">
<summary>The result of a match operation.</summary>
<remarks>
<para>The result of a match operation.</para>
<para>This interface contains query methods used to determine the
results of a match against a regular expression. The match boundaries,
groups and group boundaries can be seen but not modified through
a <c>MatchResult</c>.</para>
<para>Added in 1.5.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
<Members>
<Member MemberName="End">
<MemberSignature Language="C#" Value="public int End ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 End() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.End" />
<MemberSignature Language="F#" Value="abstract member End : unit -> int" Usage="iMatchResult.End " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("end", "()I", "GetEndHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("end", "()I", "GetEndHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the offset after the last character matched.</summary>
<returns>The offset after the last character matched</returns>
<remarks>
<para>Returns the offset after the last character matched.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#end()" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.end()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="End">
<MemberSignature Language="C#" Value="public int End (int group);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 End(int32 group) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.End(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member End : int -> int" Usage="iMatchResult.End group" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("end", "(I)I", "GetEnd_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("end", "(I)I", "GetEnd_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.Int32" />
</Parameters>
<Docs>
<param name="group">The index of a capturing group in this matcher's pattern</param>
<summary>Returns the offset after the last character of the subsequence
captured by the given group during this match.</summary>
<returns>The offset after the last character captured by the group,
or <c>-1</c> if the match was successful
but the group itself did not match anything</returns>
<remarks>
<para>Returns the offset after the last character of the subsequence
captured by the given group during this match.</para>
<para>Capturing groups are indexed from left
to right, starting at one. Group zero denotes the entire pattern, so
the expression <i>m.</i><c>end(0)</c> is equivalent to
<i>m.</i><c>end()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#end(int)" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.end(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Group">
<MemberSignature Language="C#" Value="public string? Group ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string Group() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.Group" />
<MemberSignature Language="F#" Value="abstract member Group : unit -> string" Usage="iMatchResult.Group " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("group", "()Ljava/lang/String;", "GetGroupHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("group", "()Ljava/lang/String;", "GetGroupHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the input subsequence matched by the previous match.</summary>
<returns>The (possibly empty) subsequence matched by the previous match,
in string form</returns>
<remarks>
<para>Returns the input subsequence matched by the previous match.</para>
<para>For a matcher <i>m</i> with input sequence <i>s</i>,
the expressions <i>m.</i><c>group()</c> and
<i>s.</i><c>substring(</c><i>m.</i><c>start(),</c>&nbsp;<i>m.</i><c>end())</c>
are equivalent.</para>
<para>Note that some patterns, for example <c>a*</c>, match the empty
string. This method will return the empty string when the pattern
successfully matches the empty string in the input.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#group()" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.group()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Group">
<MemberSignature Language="C#" Value="public string? Group (int group);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance string Group(int32 group) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.Group(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Group : int -> string" Usage="iMatchResult.Group group" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("group", "(I)Ljava/lang/String;", "GetGroup_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("group", "(I)Ljava/lang/String;", "GetGroup_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.String</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.Int32" />
</Parameters>
<Docs>
<param name="group">The index of a capturing group in this matcher's pattern</param>
<summary>Returns the input subsequence captured by the given group during the
previous match operation.</summary>
<returns>The (possibly empty) subsequence captured by the group
during the previous match, or <c>null</c> if the group
failed to match part of the input</returns>
<remarks>
<para>Returns the input subsequence captured by the given group during the
previous match operation.</para>
<para>For a matcher <i>m</i>, input sequence <i>s</i>, and group index
<i>g</i>, the expressions <i>m.</i><c>group(</c><i>g</i><c>)</c> and
<i>s.</i><c>substring(</c><i>m.</i><c>start(</c><i>g</i><c>),</c>&nbsp;<i>m.</i><c>end(</c><i>g</i><c>))</c>
are equivalent.</para>
<para>Capturing groups are indexed from left
to right, starting at one. Group zero denotes the entire pattern, so
the expression <c>m.group(0)</c> is equivalent to <c>m.group()</c>.</para>
<para>If the match was successful but the group specified failed to match
any part of the input sequence, then <c>null</c> is returned. Note
that some groups, for example <c>(a*)</c>, match the empty string.
This method will return the empty string when such a group successfully
matches the empty string in the input.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#group(int)" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.group(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="GroupCount">
<MemberSignature Language="C#" Value="public int GroupCount ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 GroupCount() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.GroupCount" />
<MemberSignature Language="F#" Value="abstract member GroupCount : unit -> int" Usage="iMatchResult.GroupCount " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("groupCount", "()I", "GetGroupCountHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("groupCount", "()I", "GetGroupCountHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the number of capturing groups in this match result's pattern.</summary>
<returns>The number of capturing groups in this matcher's pattern</returns>
<remarks>
<para>Returns the number of capturing groups in this match result's pattern.</para>
<para>Group zero denotes the entire pattern by convention. It is not
included in this count.</para>
<para>Any non-negative integer smaller than or equal to the value
returned by this method is guaranteed to be a valid group index for
this matcher.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#groupCount()" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.groupCount()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Start">
<MemberSignature Language="C#" Value="public int Start ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Start() cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.Start" />
<MemberSignature Language="F#" Value="abstract member Start : unit -> int" Usage="iMatchResult.Start " />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("start", "()I", "GetStartHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("start", "()I", "GetStartHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters />
<Docs>
<summary>Returns the start index of the match.</summary>
<returns>The index of the first character matched</returns>
<remarks>
<para>Returns the start index of the match.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#start()" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.start()</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
<Member MemberName="Start">
<MemberSignature Language="C#" Value="public int Start (int group);" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance int32 Start(int32 group) cil managed" />
<MemberSignature Language="DocId" Value="M:Java.Util.Regex.IMatchResult.Start(System.Int32)" />
<MemberSignature Language="F#" Value="abstract member Start : int -> int" Usage="iMatchResult.Start group" />
<MemberType>Method</MemberType>
<AssemblyInfo>
<AssemblyName>Mono.Android</AssemblyName>
<AssemblyVersion>0.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[Android.Runtime.Register("start", "(I)I", "GetStart_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]</AttributeName>
<AttributeName Language="F#">[<Android.Runtime.Register("start", "(I)I", "GetStart_IHandler:Java.Util.Regex.IMatchResultInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Int32</ReturnType>
</ReturnValue>
<Parameters>
<Parameter Name="group" Type="System.Int32" />
</Parameters>
<Docs>
<param name="group">The index of a capturing group in this matcher's pattern</param>
<summary>Returns the start index of the subsequence captured by the given group
during this match.</summary>
<returns>The index of the first character captured by the group,
or <c>-1</c> if the match was successful but the group
itself did not match anything</returns>
<remarks>
<para>Returns the start index of the subsequence captured by the given group
during this match.</para>
<para>Capturing groups are indexed from left
to right, starting at one. Group zero denotes the entire pattern, so
the expression <i>m.</i><c>start(0)</c> is equivalent to
<i>m.</i><c>start()</c>.</para>
<para>
<format type="text/html">
<a href="https://developer.android.com/reference/java/util/regex/MatchResult#start(int)" title="Reference documentation">Java documentation for <code>java.util.regex.MatchResult.start(int)</code>.</a>
</format>
</para>
<para>
Portions of this page are modifications based on work created and shared by the
<format type="text/html"><a href="https://developers.google.com/terms/site-policies" title="Android Open Source Project">Android Open Source Project</a></format>
and used according to terms described in the
<format type="text/html"><a href="https://creativecommons.org/licenses/by/2.5/" title="Creative Commons 2.5 Attribution License">Creative Commons 2.5 Attribution License.</a></format></para>
</remarks>
<since version="Added in API level 1" />
</Docs>
</Member>
</Members>
</Type>