Java Doc for Lexer.java in  » 6.0-JDK-Modules » j2me » gov » nist » javax » sdp » parser » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » j2me » gov.nist.javax.sdp.parser 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   gov.nist.core.StringTokenizer
      gov.nist.core.LexerCore
         gov.nist.javax.sdp.parser.Lexer

Lexer
public class Lexer extends LexerCore (Code)
Basica lexigographical processor.



Constructor Summary
public  Lexer(String lexerName, String buffer)
     Constructs a Lexer byte name to process the requested buffer of text.

Method Summary
public static  StringgetFieldName(String line)
     Gets the firld name.
public  voidselectLexer(String lexerName)
     Selects a new lexer byte name.


Constructor Detail
Lexer
public Lexer(String lexerName, String buffer)(Code)
Constructs a Lexer byte name to process the requested buffer of text.
Parameters:
  lexerName - the requested processor
Parameters:
  buffer - the data to be processed




Method Detail
getFieldName
public static String getFieldName(String line)(Code)
Gets the firld name.
Parameters:
  line - the text to parse the name of the field to process



selectLexer
public void selectLexer(String lexerName)(Code)
Selects a new lexer byte name.
Parameters:
  lexerName - the new processor to use



Fields inherited from gov.nist.core.LexerCore
final public static int ALPHA(Code)(Java Doc)
final public static int AND(Code)(Java Doc)
final public static int AT(Code)(Java Doc)
final public static int BACKSLASH(Code)(Java Doc)
final public static int BACK_QUOTE(Code)(Java Doc)
final public static int BAR(Code)(Java Doc)
final public static int COLON(Code)(Java Doc)
final public static int DIGIT(Code)(Java Doc)
final public static int DOLLAR(Code)(Java Doc)
final public static int DOT(Code)(Java Doc)
final public static int DOUBLEQUOTE(Code)(Java Doc)
final public static int END(Code)(Java Doc)
final public static int EQUALS(Code)(Java Doc)
final public static int EXCLAMATION(Code)(Java Doc)
final public static int GREATER_THAN(Code)(Java Doc)
final public static int HAT(Code)(Java Doc)
final public static int HT(Code)(Java Doc)
final public static int ID(Code)(Java Doc)
final public static int LESS_THAN(Code)(Java Doc)
final public static int LPAREN(Code)(Java Doc)
final public static int L_CURLY(Code)(Java Doc)
final public static int L_SQUARE_BRACKET(Code)(Java Doc)
final public static int MINUS(Code)(Java Doc)
final public static int NULL(Code)(Java Doc)
final public static int PERCENT(Code)(Java Doc)
final public static int PLUS(Code)(Java Doc)
final public static int POUND(Code)(Java Doc)
final public static int QUESTION(Code)(Java Doc)
final public static int QUOTE(Code)(Java Doc)
final public static int RPAREN(Code)(Java Doc)
final public static int R_CURLY(Code)(Java Doc)
final public static int R_SQUARE_BRACKET(Code)(Java Doc)
final public static int SEMICOLON(Code)(Java Doc)
final public static int SLASH(Code)(Java Doc)
final public static int SP(Code)(Java Doc)
final public static int STAR(Code)(Java Doc)
final public static int START(Code)(Java Doc)
final public static int TILDE(Code)(Java Doc)
final public static int UNDERSCORE(Code)(Java Doc)
final public static int WHITESPACE(Code)(Java Doc)
protected Hashtable currentLexer(Code)(Java Doc)
protected String currentLexerName(Code)(Java Doc)
protected Token currentMatch(Code)(Java Doc)
protected static Hashtable globalSymbolTable(Code)(Java Doc)
protected static Hashtable lexerTables(Code)(Java Doc)

Methods inherited from gov.nist.core.LexerCore
public void SPorHT()(Code)(Java Doc)
protected void addKeyword(String name, int value)(Code)(Java Doc)
protected Hashtable addLexer(String lexerName)(Code)(Java Doc)
public String byteStringNoComma()(Code)(Java Doc)
public String byteStringNoSemicolon()(Code)(Java Doc)
public static String charAsString(char ch)(Code)(Java Doc)
public String charAsString(int nchars)(Code)(Java Doc)
public String comment() throws ParseException(Code)(Java Doc)
public ParseException createParseException()(Code)(Java Doc)
public String getBuffer()(Code)(Java Doc)
public String getNextId()(Code)(Java Doc)
public Token getNextToken()(Code)(Java Doc)
public int getPtr()(Code)(Java Doc)
public String getRest()(Code)(Java Doc)
public String getString(char c) throws ParseException(Code)(Java Doc)
public String lookupToken(int value)(Code)(Java Doc)
public int markInputPosition()(Code)(Java Doc)
public Token match(int tok) throws ParseException(Code)(Java Doc)
public String number() throws ParseException(Code)(Java Doc)
public String peekNextId()(Code)(Java Doc)
public Token peekNextToken() throws ParseException(Code)(Java Doc)
public Vector peekNextToken(int ntokens) throws ParseException(Code)(Java Doc)
public String quotedString() throws ParseException(Code)(Java Doc)
public void rewindInputPosition(int position)(Code)(Java Doc)
abstract public void selectLexer(String lexerName)(Code)(Java Doc)
public boolean startsId()(Code)(Java Doc)
public String ttoken()(Code)(Java Doc)
public String ttokenAllowSpace()(Code)(Java Doc)

Fields inherited from gov.nist.core.StringTokenizer
protected String buffer(Code)(Java Doc)
protected int ptr(Code)(Java Doc)
protected int savedPtr(Code)(Java Doc)

Methods inherited from gov.nist.core.StringTokenizer
public void consume()(Code)(Java Doc)
public void consume(int k)(Code)(Java Doc)
public static String convertNewLines(String s)(Code)(Java Doc)
public String getLine()(Code)(Java Doc)
public Vector getLines()(Code)(Java Doc)
public char getNextChar() throws ParseException(Code)(Java Doc)
public String getNextToken(char delim) throws ParseException(Code)(Java Doc)
public static String getSDPFieldName(String line)(Code)(Java Doc)
public boolean hasMoreChars()(Code)(Java Doc)
public static boolean isAlpha(char ch)(Code)(Java Doc)
public static boolean isDigit(char ch)(Code)(Java Doc)
public static boolean isDigitString(String str)(Code)(Java Doc)
public static boolean isEscaped(String name, int index)(Code)(Java Doc)
public static boolean isHexDigit(char ch)(Code)(Java Doc)
public static boolean isQuotedPair(String name, int offset)(Code)(Java Doc)
public static boolean isValidChar(char ch)(Code)(Java Doc)
public char lookAhead() throws ParseException(Code)(Java Doc)
public char lookAhead(int k) throws ParseException(Code)(Java Doc)
public String nextToken()(Code)(Java Doc)
public String peekLine()(Code)(Java Doc)

Methods inherited from java.lang.Object
public boolean equals(Object obj)(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.