XMPPStringPrepIfc¶
-
public interface
XMPPStringPrepIfc
¶ Interface defining stringprep processor API. According to RFC-3920 all JID’s parts have to be stringprep processed, each part should go through different algorithm. The interface and XMPPStringPrepFactory allow for pluggable stringprep processor implementation. See the factory documentation for more details. Created: Dec 28, 2009 9:57:43 PM
Author: Artur Hefczyc
Methods¶
nameprep¶
-
String
nameprep
(String domain)¶ JID’s domain part stringprep processing. In RFC-3920 this is called nameprep processing.
Parameters: - domain – a
String
value of the JID’s domain part.
Throws: - TigaseStringprepException – if stringprep exception occurs.
Returns: nameprep processed JID’s doman part.
- domain – a
nodeprep¶
-
String
nodeprep
(String localpart)¶ JID’s localpart (or nick name) stringprep processing. In RFC-3920 this is called nodeprep processing.
Parameters: - localpart – a
String
value of the JID’s localpart.
Throws: - TigaseStringprepException – if stringprep exception occurs.
Returns: nodeprep processed JID’s localpart.
- localpart – a
resourceprep¶
-
String
resourceprep
(String resource)¶ JID’s resource stringprep proessing. In RFC-3920 this is called resourceprep processing.
Parameters: - resource – a
String
value of the JID’s resource part.
Throws: - TigaseStringprepException – if stringprep exception occurs.
Returns: resourceprep processed JID’s resource part.
- resource – a