StropheCappuccino API 1.0.0
TNStropheJID Class Reference

#import <TNStropheJID.h>

List of all members.

Public Member Functions

(CPString) - bare [implementation]
(BOOL) - bareEquals: [implementation]
(CPComparisonResult) - compare: [implementation]
(CPString) - description [implementation]
(CPString) - domain [implementation]
(void) - encodeWithCoder: [implementation]
(BOOL) - equals: [implementation]
(CPString) - full [implementation]
(BOOL) - fullEquals: [implementation]
(id) - initWithCoder: [implementation]
(TNStropheJID- initWithNode:domain: [implementation]
(TNStropheJID- initWithNode:domain:resource: [implementation]
(TNStropheJID- initWithString: [implementation]
(BOOL) - isServer [implementation]
(CPString) - lowercaseString [implementation]
(CPString) - node [implementation]
(CPString) - resource [implementation]
(void) - setBare: [implementation]
(void) - setDomain: [implementation]
(void) - setFull: [implementation]
(void) - setNode: [implementation]
(void) - setResource: [implementation]
(CPString) - stringValue [implementation]
(CPString) - uppercaseString [implementation]

Static Public Member Functions

(void) + initialize [implementation]
(TNStropheJID+ stropheJIDWithNode:domain: [implementation]
(TNStropheJID+ stropheJIDWithNode:domain:resource: [implementation]
(TNStropheJID+ stropheJIDWithString: [implementation]

Detailed Description

This class represents a XMPP JID

Definition at line 2 of file TNStropheJID.h.


Member Function Documentation

- (CPString) bare [implementation]

return the bare JID (node)

Returns:
CPString containing the bare JID

Definition at line 143 of file TNStropheJID.j.

- (BOOL) bareEquals: (TNStropheJID anotherJID [implementation]

check if given TNStropheJID's node and domain is equals to self

Parameters:
anotherJIDthe TNStropheJID to compare

Definition at line 245 of file TNStropheJID.j.

- (CPComparisonResult) compare: (TNStropheJID anotherJID [implementation]

compare rthe JID with another (using the full JID)

Parameters:
anotherthe JID to compare with

Definition at line 253 of file TNStropheJID.j.

- (CPString) description [implementation]

description method

Returns:
CPString containing the full JID

Definition at line 196 of file TNStropheJID.j.

- (CPString) domain [implementation]

Synthesized accessor method.

Definition at line 304 of file TNStropheJID.j.

- (void) encodeWithCoder: (CPCoder)  aCoder [implementation]

Definition at line 278 of file TNStropheJID.j.

- (BOOL) equals: (TNStropheJID anotherJID [implementation]

check if given TNStropheJID is equals to self

Parameters:
anotherJIDthe TNStropheJID to compare

Definition at line 229 of file TNStropheJID.j.

- (CPString) full [implementation]

return the full JID (node/resource)

Returns:
CPString containing the full JID

Definition at line 170 of file TNStropheJID.j.

- (BOOL) fullEquals: (TNStropheJID anotherJID [implementation]

check if given TNStropheJID fullJID is equals to self

Parameters:
anotherJIDthe TNStropheJID to compare

Definition at line 237 of file TNStropheJID.j.

+ (void) initialize [implementation]

Definition at line 39 of file TNStropheJID.j.

- (id) initWithCoder: (CPCoder)  aCoder [implementation]

Definition at line 266 of file TNStropheJID.j.

- (TNStropheJID) initWithNode: (CPString)  aNode
domain: (CPString)  aDomain 
[implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID

Definition at line 107 of file TNStropheJID.j.

- (TNStropheJID) initWithNode: (CPString)  aNode
domain: (CPString)  aDomain
resource: (CPString)  aResource 
[implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID
aResourcethe resource part of the JID

Definition at line 86 of file TNStropheJID.j.

- (TNStropheJID) initWithString: (CPString)  aStringJID [implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID

Definition at line 116 of file TNStropheJID.j.

- (BOOL) isServer [implementation]

Synthesized accessor method.

Definition at line 296 of file TNStropheJID.j.

- (CPString) lowercaseString [implementation]

convenient method

Definition at line 218 of file TNStropheJID.j.

- (CPString) node [implementation]

Synthesized accessor method.

Definition at line 320 of file TNStropheJID.j.

- (CPString) resource [implementation]

Synthesized accessor method.

Definition at line 336 of file TNStropheJID.j.

- (void) setBare: (CPString)  aBareJID [implementation]

set the bare JID from the string. resource, if any remains the same

Parameters:
aBareJIDCPString containing the bare JID

Definition at line 155 of file TNStropheJID.j.

- (void) setDomain: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 312 of file TNStropheJID.j.

- (void) setFull: (CPString)  aFullJID [implementation]

set the full JID from the string.

Parameters:
aFullJIDCPString containing the full JID

Definition at line 181 of file TNStropheJID.j.

- (void) setNode: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 328 of file TNStropheJID.j.

- (void) setResource: (CPString)  aValue [implementation]

Synthesized accessor method.

Definition at line 344 of file TNStropheJID.j.

- (CPString) stringValue [implementation]

string value method

Returns:
CPString containing the full JID

Definition at line 204 of file TNStropheJID.j.

+ (TNStropheJID) stropheJIDWithNode: (CPString)  aNode
domain: (CPString)  aDomain 
[implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID
aResourcethe resource part of the JID

Definition at line 61 of file TNStropheJID.j.

+ (TNStropheJID) stropheJIDWithNode: (CPString)  aNode
domain: (CPString)  aDomain
resource: (CPString)  aResource 
[implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID
aResourcethe resource part of the JID

Definition at line 51 of file TNStropheJID.j.

+ (TNStropheJID) stropheJIDWithString: (CPString)  aStringJID [implementation]

return a new TNStropheJID

Parameters:
aNodethe node part of the JID
aDomainthe domain part of the JID
aResourcethe resource part of the JID

Definition at line 71 of file TNStropheJID.j.

- (CPString) uppercaseString [implementation]

convenient method

Definition at line 211 of file TNStropheJID.j.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables