Java Doc for IdlSymbol.java in  » Collaboration » JacORB » org » jacorb » idl » 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 » Collaboration » JacORB » org.jacorb.idl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jacorb.idl.runtime.symbol
      org.jacorb.idl.IdlSymbol

All known Subclasses:   org.jacorb.idl.ElementSpec,  org.jacorb.idl.XorExpr,  org.jacorb.idl.Declaration,  org.jacorb.idl.Literal,  org.jacorb.idl.AttrRaisesExpr,  org.jacorb.idl.AddExpr,  org.jacorb.idl.InterfaceBody,  org.jacorb.idl.UnaryExpr,  org.jacorb.idl.PosIntConst,  org.jacorb.idl.ConstType,  org.jacorb.idl.SwitchBody,  org.jacorb.idl.FixedArraySize,  org.jacorb.idl.TypeDeclarator,  org.jacorb.idl.Declarator,  org.jacorb.idl.ParamDecl,  org.jacorb.idl.OrExpr,  org.jacorb.idl.TypeSpec,  org.jacorb.idl.Case,  org.jacorb.idl.Truncatable,  org.jacorb.idl.Definition,  org.jacorb.idl.AndExpr,  org.jacorb.idl.Spec,  org.jacorb.idl.PrimaryExpr,  org.jacorb.idl.RaisesExpr,  org.jacorb.idl.ConstExpr,  org.jacorb.idl.ShiftExpr,  org.jacorb.idl.MultExpr,  org.jacorb.idl.SymbolList,
IdlSymbol
public class IdlSymbol extends org.jacorb.idl.runtime.symbol (Code)
Base class for all classes of the abstract IDL syntax tree
author:
   Gerald Brose
version:
   $Id: IdlSymbol.java,v 1.45 2006/08/03 12:31:17 alphonse.bendt Exp $


Field Summary
protected  String_id
    
protected  IdlSymbolenclosing_symbol
    
final protected static  charfileSeparator
    
protected  booleanincluded
    
protected  booleaninhibitionFlag
    
protected  booleanis_pseudo
    
 Loggerlogger
    
 PositionInfomyPosition
    
 Stringname
    
protected  Stringomg_package_prefix
    
public  Stringpack_name
    
 str_tokentoken
    
 StringtypeName
    

Constructor Summary
public  IdlSymbol(int num)
    

Method Summary
public  voidaccept(IDLTreeVisitor visitor)
     let the visitor pattern do its work...
public  voidaddImportedAlias(String alias)
     Called by derived classes to potentially add the aliasHelper name to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
public  voidaddImportedName(String name)
     Called by derived classes to potentially add the name and the nameHelper to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
public  voidaddImportedName(String name, TypeSpec type)
     Called by derived classes to potentially add the name and the nameHelper to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
public  voidaddImportedNameHolder(String name)
     Called by derived classes to potentially add the name, the nameHelper and nameHolder to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
public  StringdeEscapeName()
    
public  voidescapeName()
     A number of IDL constructs need to have their names checked for clashes with name reserved by Java or the Java Language Mapping.
 Stringfull_name()
    
protected  booleangenerateIncluded()
     access to parser state (e.g.
public  IdlSymbolgetEnclosingSymbol()
    
protected  StringgetFullName(String name)
    
public  str_tokenget_token()
    
public  Stringid()
    
public  booleanisEscaped()
    
public  booleanis_included()
     is this a symbol included from another IDL file? Used to determine if code should be generated or not.
public  booleanis_pseudo()
    
 StringjavaName()
    
public  Stringname()
    
public static  intnew_num()
    
public  StringomgPrefix()
    
public  voidparse()
    
public  voidprint(PrintWriter ps)
    
final protected  voidprintClassComment(String type, String name, PrintWriter ps)
     printClassComment is used by inherited classes to print the class comment.
public  voidprintIdMethod(PrintWriter ps)
    
public  voidprintImport(PrintWriter ps)
    
public  voidsetEnclosingSymbol(IdlSymbol s)
    
public  voidsetPackage(String s)
    
public  voidsetPrintPhaseNames()
    
 voidset_included(boolean i)
    
public  voidset_name(String n)
    
public  voidset_pseudo()
    
public  voidset_token(str_token i)
    

Field Detail
_id
protected String _id(Code)



enclosing_symbol
protected IdlSymbol enclosing_symbol(Code)



fileSeparator
final protected static char fileSeparator(Code)



included
protected boolean included(Code)



inhibitionFlag
protected boolean inhibitionFlag(Code)



is_pseudo
protected boolean is_pseudo(Code)



logger
Logger logger(Code)



myPosition
PositionInfo myPosition(Code)
the posizion in the IDL file where this symbol was found by the lexer, needed for better error messages



name
String name(Code)



omg_package_prefix
protected String omg_package_prefix(Code)



pack_name
public String pack_name(Code)



token
str_token token(Code)



typeName
String typeName(Code)




Constructor Detail
IdlSymbol
public IdlSymbol(int num)(Code)
class constructor




Method Detail
accept
public void accept(IDLTreeVisitor visitor)(Code)
let the visitor pattern do its work...



addImportedAlias
public void addImportedAlias(String alias)(Code)
Called by derived classes to potentially add the aliasHelper name to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
Parameters:
  alias - the name of the alias



addImportedName
public void addImportedName(String name)(Code)
Called by derived classes to potentially add the name and the nameHelper to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
Parameters:
  name -



addImportedName
public void addImportedName(String name, TypeSpec type)(Code)
Called by derived classes to potentially add the name and the nameHelper to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
Parameters:
  name -
Parameters:
  type -



addImportedNameHolder
public void addImportedNameHolder(String name)(Code)
Called by derived classes to potentially add the name, the nameHelper and nameHolder to the generated Java class's import list, which is necessary in case the mapped code is in the unnamed package.
Parameters:
  name -



deEscapeName
public String deEscapeName()(Code)



escapeName
public void escapeName()(Code)
A number of IDL constructs need to have their names checked for clashes with name reserved by Java or the Java Language Mapping.



full_name
String full_name()(Code)
fully scoped IDL identifier



generateIncluded
protected boolean generateIncluded()(Code)
access to parser state (e.g. options)



getEnclosingSymbol
public IdlSymbol getEnclosingSymbol()(Code)



getFullName
protected String getFullName(String name)(Code)
this method will prepend the specified name with the omg prefix if necessary the full qualified java name



get_token
public str_token get_token()(Code)



id
public String id()(Code)
this symbol's repository Id



isEscaped
public boolean isEscaped()(Code)



is_included
public boolean is_included()(Code)
is this a symbol included from another IDL file? Used to determine if code should be generated or not.



is_pseudo
public boolean is_pseudo()(Code)
is this a PIDL symbol?



javaName
String javaName()(Code)
fully scoped Java identifier, only used incode generation phase



name
public String name()(Code)
get this symbol's name



new_num
public static int new_num()(Code)



omgPrefix
public String omgPrefix()(Code)
"org.omg." if the symbol has been declared inside ascope with a pragma prefix of "omg.org".



parse
public void parse() throws ParseException(Code)
empty parse



print
public void print(PrintWriter ps)(Code)



printClassComment
final protected void printClassComment(String type, String name, PrintWriter ps)(Code)
printClassComment is used by inherited classes to print the class comment.
Parameters:
  name - a String value
Parameters:
  ps - a PrintWriter value



printIdMethod
public void printIdMethod(PrintWriter ps)(Code)



printImport
public void printImport(PrintWriter ps)(Code)



setEnclosingSymbol
public void setEnclosingSymbol(IdlSymbol s)(Code)



setPackage
public void setPackage(String s)(Code)



setPrintPhaseNames
public void setPrintPhaseNames()(Code)



set_included
void set_included(boolean i)(Code)
used by the lexer to mark this symbol as included from another IDL file



set_name
public void set_name(String n)(Code)
the name of this symbol



set_pseudo
public void set_pseudo()(Code)



set_token
public void set_token(str_token i)(Code)



Fields inherited from org.jacorb.idl.runtime.symbol
public int parse_state(Code)(Java Doc)
public int sym(Code)(Java Doc)


Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(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.