Android.Net.UrlQuerySanitizer Members

The members of Android.Net.UrlQuerySanitizer are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Constructs a UrlQuerySanitizer.
Constructs a UrlQuerySanitizer and parse a URL.

Protected Constructors

A constructor used when creating managed representations of JNI objects; called by the runtime.

Public Properties

[read-only]
static
AllButNulAndAngleBracketsLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that allows any special characters except angle brackets ('<_27_ and="" _27_="">') and Nul ('\0'). Allows script URLs.
[read-only]
static
AllButNulLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that allows everything except Nul ('\0') characters.
[read-only]
static
AllButWhitespaceLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that allows everything except Nul ('\0') characters, space (' '), and other whitespace characters.
[read-only]
static
AllIllegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that does not allow any special characters, and also does not allow script URLs.
AllowUnregisteredParamatersbool. Get whether or not unregistered parameters are allowed.
[read-only]
static
AmpAndSpaceLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that does not allow any special characters except ampersand ('&') and space (' ').
[read-only]
static
AmpLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that does not allow any special characters except ampersand ('&').
[read-only]
ParameterListIList<UrlQuerySanitizer.ParameterValuePair>. An array list of all of the parameter value pairs in the sanitized query, in the order they appeared in the query.
[read-only]
ParameterSetICollection<string>. Get a set of all of the parameters found in the sanitized query.
PreferFirstRepeatedParameterbool. Get whether or not the first occurrence of a repeated parameter is preferred.
[read-only]
static
SpaceLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that does not allow any special characters except space (' ').
UnregisteredParameterValueSanitizerUrlQuerySanitizer.IValueSanitizer. Get the current value sanitizer used when processing unregistered parameter values.
[read-only]
static
UrlAndSpaceLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that allows all the characters used by encoded URLs and allows spaces, which are not technically legal in encoded URLs, but commonly appear anyway.
[read-only]
static
UrlLegalUrlQuerySanitizer.IValueSanitizer. Return a value sanitizer that allows all the characters used by encoded URLs.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

GetEffectiveValueSanitizer(string) : UrlQuerySanitizer.IValueSanitizer
Get the effective value sanitizer for a parameter.
GetValue(string) : string
Get the value for a parameter in the current sanitized query.
GetValueSanitizer(string) : UrlQuerySanitizer.IValueSanitizer
Get the value sanitizer for a parameter.
HasParameter(string) : bool
Check if a parameter exists in the current sanitized query.
ParseQuery(string)
Parse a query.
ParseUrl(string)
Parse the query parameters out of an encoded URL.
RegisterParameter(string, UrlQuerySanitizer.IValueSanitizer)
Register a value sanitizer for a particular parameter.
RegisterParameters(string[], UrlQuerySanitizer.IValueSanitizer)
Register a value sanitizer for an array of parameters.
Unescape(string) : string
Unescape an escaped string.

Protected Methods

AddSanitizedEntry(string, string)
Record a sanitized parameter-value pair.
Clear()
Clear the existing entries.
DecodeHexDigit(char) : int
Convert a character that represents a hexidecimal digit into an integer.
IsHexDigit(char) : bool
Test if a character is a hexidecimal digit.
ParseEntry(string, string)
Parse an escaped parameter-value pair.