Package tigase.util.stringprep
Class XMPPStringPrepEmpty
java.lang.Object
tigase.util.stringprep.XMPPStringPrepEmpty
- All Implemented Interfaces:
XMPPStringPrepIfc
Class implementing stringprep processor interface. This is a dummy implementation performing no processing at all.
All methods simply return value passed as the method call parameter. Use of this implementation is recommended inly
in strictly controlled systems where there is no possibility of getting incorrectly formated JIDs to the system. Of
course this implementation causes no impact on the system performance.
Created: Feb 4, 2010 9:52:41 AM
Created: Feb 4, 2010 9:52:41 AM
- Version:
- $Rev$
- Author:
- Artur Hefczyc
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
XMPPStringPrepEmpty
public XMPPStringPrepEmpty()
-
-
Method Details
-
nameprep
Description copied from interface:XMPPStringPrepIfc
JID's domain part stringprep processing. In RFC-3920 this is called nameprep processing.- Specified by:
nameprep
in interfaceXMPPStringPrepIfc
- Parameters:
domain
- aString
value of the JID's domain part.- Returns:
- nameprep processed JID's doman part.
-
nodeprep
Description copied from interface:XMPPStringPrepIfc
JID's localpart (or nick name) stringprep processing. In RFC-3920 this is called nodeprep processing.- Specified by:
nodeprep
in interfaceXMPPStringPrepIfc
- Parameters:
localpart
- aString
value of the JID's localpart.- Returns:
- nodeprep processed JID's localpart.
-
resourceprep
Description copied from interface:XMPPStringPrepIfc
JID's resource stringprep proessing. In RFC-3920 this is called resourceprep processing.- Specified by:
resourceprep
in interfaceXMPPStringPrepIfc
- Parameters:
resource
- aString
value of the JID's resource part.- Returns:
- resourceprep processed JID's resource part.
-