FileDocCategorySizeDatePackage
Token.javaAPI DocphoneME MR2 API (J2ME)1974Wed May 02 18:00:42 BST 2007gov.nist.core

Token

public class Token extends Object
Base token class.
version
JAIN-SIP-1.1 This code is in the public domain.

Fields Summary
protected String
tokenValue
The value of the token.
protected int
tokenType
The type of the token.
Constructors Summary
Methods Summary
public intgetTokenType()
Gets the token type.

return
the token type

        return this.tokenType;
    
public java.lang.StringgetTokenValue()
Gets the token value.

return
the textual token value

        return this.tokenValue;
    
public java.lang.StringtoString()
Gets a textual representation of the token value and type.

return
the encoded string

        return "tokenValue = " + tokenValue +
                "/tokenType = " + tokenType;