FileDocCategorySizeDatePackage
AddressParametersParser.javaAPI DocphoneME MR2 API (J2ME)2719Wed May 02 18:00:42 BST 2007gov.nist.siplite.parser

AddressParametersParser

public class AddressParametersParser extends ParametersParser
Address parameters parser.
version
JAIN-SIP-1.1 This code is in the public domain.

Fields Summary
protected AddressParametersHeader
addressParametersHeader
Current parsed address parameters.
Constructors Summary
protected AddressParametersParser(Lexer lexer)
Constructor with initial lexer engine.

param
lexer the character parsing engine

        super(lexer);
    
protected AddressParametersParser(String buffer)
Constructor with initial buffer.

param
buffer data to be parsed

        super(buffer);
    
protected AddressParametersParser()
Default constructor.

Methods Summary
protected voidparse(AddressParametersHeader addressParametersHeader)
Invokes the parsing engine.

param
addressParametersHeader out put of parsed parameters

        dbg_enter("AddressParametersParser.parse");
        try {
            this.addressParametersHeader  = addressParametersHeader;
            AddressParser addressParser = new AddressParser
                    (this.getLexer());
            Address addr = addressParser.address();
            addressParametersHeader.setAddress(addr);
            super.parse(addressParametersHeader);
        } finally {
            dbg_leave("AddressParametersParser.parse");
        }