Package | org.igniterealtime.xiff.core |
Class | public class EscapedJID |
Inheritance | EscapedJID ![]() ![]() |
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 | |
![]() | node : String [read-only]
The node portion of the JID. | AbstractJID | |
![]() | resource : String [read-only]
The resource portion of the JID. | AbstractJID | |
unescaped : UnescapedJID [read-only]
The escaped JID in unescaped form. | EscapedJID |
Method | Defined By | ||
---|---|---|---|
EscapedJID(inJID:String, validate:Boolean = false)
Creates a new EscapedJID object. | EscapedJID | ||
equals(testJID:EscapedJID, shouldTestBareJID:Boolean):Boolean
Determines if two escaped JIDs are equivalent. | EscapedJID | ||
![]() | 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 |
unescaped | property |
unescaped:UnescapedJID
[read-only] The escaped JID in unescaped form.
public function get unescaped():UnescapedJID
EscapedJID | () | Constructor |
public function EscapedJID(inJID:String, validate:Boolean = false)
Creates a new EscapedJID 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:EscapedJID, shouldTestBareJID:Boolean):Boolean
Determines if two escaped JIDs are equivalent.
Parameters
testJID:EscapedJID — The JID with which to test equivalency.
| |
shouldTestBareJID:Boolean |
Boolean — True if the JIDs are equivalent.
|