Home | History | Annotate | Download | only in parser

Lines Matching refs:TO

6 * Pursuant to title 15 Untied States Code Section 105, works of NIST
7 * employees are not subject to copyright protection in the United States
8 * and are considered to be in the public domain. As a result, a formal
9 * license is not needed to use the software.
17 * not limited to the correctness, accuracy, reliability or usefulness of
20 * Permission to use this software is contingent upon your acceptance
33 * To Header parser.
45 * @param to String to set
47 public ToParser(String to) {
48 super(to);
57 headerName(TokenTypes.TO);
58 To to = new To();
59 super.parse(to);
61 return to;
67 String to[] = {
68 "To: <sip:+1-650-555-2222@ss1.wcom.com;user=phone>;tag=5617\n",
69 "To: T. A. Watson <sip:watson@bell-telephone.com;param=something>\n",
70 "To: LittleGuy <sip:UserB@there.com;tag=foo>;tag=bar\n",
71 "To: sip:mranga@120.6.55.9\n",
72 "To: sip:mranga@129.6.55.9;tag=696928473514.129.6.55.9\n",
73 "To: sip:mranga@129.6.55.9; tag=696928473514.129.6.55.9\n",
74 "To: sip:mranga@129.6.55.9 ;tag=696928473514.129.6.55.9\n",
75 "To: sip:mranga@129.6.55.9 ; tag=696928473514.129.6.55.9\n"
78 for (int i = 0; i < to.length; i++ ) {
79 System.out.println("toParse = " + to[i]);
81 new ToParser(to[i]);
82 To t = (To) tp.parse();
93 * stops at ';', then parameters are assigned to the header as expected
96 * Converts indentation tabs to spaces so that we have a uniform indentation policy in the whole project.
111 * Moved some changes from jain-sip-1.2 to java.net
121 * CVS: If this code has been contributed to the project by someone else; i.e.,
133 * Added NIST disclaimer to all public domain files. Clean up some javadoc. Fixed a leak
152 * Major reformat of code to conform with style guide. Resolved compiler and javadoc warnings. Added CVS tags.
162 * CVS: If this code has been contributed to the project by someone else; i.e.,