Package | org.igniterealtime.xiff.core |
Class | public class AbstractJID |
Subclasses | EscapedJID, UnescapedJID |
jid = [ node "
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 |
Property | Defined by | ||
---|---|---|---|
_domain : String = "" | AbstractJID | ||
jidNodeValidator : RegExp [static]
| AbstractJID | ||
_node : String = "" | AbstractJID | ||
_resource : String = "" | AbstractJID |
Method | Defined by | ||
---|---|---|---|
AbstractJID(inJID:String, validate:Boolean = false)
Creates a new AbstractJID object.
| AbstractJID | ||
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 |
bareJID | property |
bareJID:String
[read-only]The JID without the resource.
Implementation public function get bareJID():String
_domain | property |
protected var _domain:String = ""
domain | property |
domain:String
[read-only]The domain portion of the JID.
Implementation public function get domain():String
jidNodeValidator | property |
protected static var jidNodeValidator:RegExp
_node | property |
protected var _node:String = ""
node | property |
node:String
[read-only]The node portion of the JID.
Implementation public function get node():String
_resource | property |
protected var _resource:String = ""
resource | property |
resource:String
[read-only]The resource portion of the JID.
Implementation public function get resource():String
AbstractJID | () | constructor |
public function AbstractJID(inJID:String, validate:Boolean = false)
Creates a new AbstractJID object. Used via EscapedJID or UnescapedJID.
Each allowable portion of a JID (node identifier, domain identifier, and resource identifier) MUST NOT be more than 1023 bytes in length, resulting in a maximum total size (including the ’Parameters
inJID:String — The JID as a String.
|
|
validate:Boolean (default = false ) — True if the JID should be validated.
|
escapedNode | () | method |
public static function escapedNode(n:String):String
Provides functionality to convert a JID to an escaped format.
Parametersn:String — The string to escape.
|
String — The escaped string.
|
toString | () | method |
public function toString():String
Converts JID represented by this class to a String.
ReturnsString — The JID as a String.
|
unescapedNode | () | method |
public static function unescapedNode(n:String):String
Provides functionality to return an escaped JID into a normal String.
Parametersn:String — The string to unescape.
|
String — The unescaped string.
|