| Package | org.igniterealtime.xiff.core |
| Class | public class UnescapedJID |
| Inheritance | UnescapedJID AbstractJID Object |
See also
| Property | Defined By | ||
|---|---|---|---|
![]() | bareJID : String [read-only]
The JID without the resource. | AbstractJID | |
![]() | domain : String [read-only]
The domain portion of the JID. | AbstractJID | |
| escaped : EscapedJID [read-only]
The unescaped JID in escaped form. | UnescapedJID | ||
![]() | node : String [read-only]
The node portion of the JID. | AbstractJID | |
![]() | resource : String [read-only]
The resource portion of the JID. | AbstractJID | |
| Method | Defined By | ||
|---|---|---|---|
UnescapedJID(inJID:String, validate:Boolean = false)
Creates a new UnescapedJID object. | UnescapedJID | ||
equals(testJID:UnescapedJID, shouldTestBareJID:Boolean):Boolean
Determines if two unescaped JIDs are equivalent. | UnescapedJID | ||
![]() | escapedNode(n:String):String [static]
Provides functionality to convert a JID to an escaped format. | AbstractJID | |
![]() | toString():String
Converts JID represented by this class to a String. | AbstractJID | |
![]() | unescapedNode(n:String):String [static]
Provides functionality to return an escaped JID into a normal String. | AbstractJID | |
| escaped | property |
escaped:EscapedJID [read-only] The unescaped JID in escaped form.
public function get escaped():EscapedJID| UnescapedJID | () | Constructor |
public function UnescapedJID(inJID:String, validate:Boolean = false)Creates a new UnescapedJID object.
ParametersinJID:String — The JID in String form.
| |
validate:Boolean (default = false) — Will validate the JID string if true. Invalid
JIDs will throw an error.
|
| equals | () | method |
public function equals(testJID:UnescapedJID, shouldTestBareJID:Boolean):BooleanDetermines if two unescaped JIDs are equivalent.
Parameters
testJID:UnescapedJID — The JID with which to test equivalency.
| |
shouldTestBareJID:Boolean |
Boolean — True if the JIDs are equivalent.
|