Java Doc for LanguageManager.java in  » IDE-Netbeans » uml » org » netbeans » modules » uml » core » reverseengineering » reframework » parsingframework » 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 » IDE Netbeans » uml » org.netbeans.modules.uml.core.reverseengineering.reframework.parsingframework 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.netbeans.modules.uml.core.reverseengineering.reframework.parsingframework.LanguageManager

LanguageManager
public class LanguageManager implements ILanguageManager(Code)

author:
   sumitabhk



Constructor Summary
public  LanguageManager()
    

Method Summary
public  ILanguageDataTypegetAttributeDefaultType(Object pOwner)
     Retrieves the default data type for a new attribute.
public  StringgetConfigLocation()
     Retrieves the current, absolute path to the Languages.etc configuration file.
public  StringgetDefaultForLanguage(String language, String name)
    
public  ILanguagegetDefaultLanguage(Object pElement)
     Retrieves the default langauge information for a specified element.
public  StringgetDefaultSourceFileExtensionForLanguage(String language)
    
public  ETList<ILanguageFilter>getFileExtensionFilters(String languageName)
     Retrieves a collection of file filters for a specified language.
Parameters:
  langaugeName - [in] The name of the language.
Parameters:
  groupString - [out] The extensions.
public  ETList<ILanguageFilter>getFileExtensionFilters(ILanguage language)
     Retrieves a collection of file filters for a specified language.
public  IStringsgetFileExtensionsForLanguage(String language)
    
public  IStringsgetFileExtensionsForLanguage(ILanguage pLanguage)
    
public  ILanguagegetLanguage(String langName)
     Retrieves the language defintion from the language manager.
public  ILanguagegetLanguageForFile(String filename)
     Retrieves the language definition from the language manager.
public  ETList<ILanguage>getLanguagesWithCodeGenSupport()
    
public  ILanguageDataTypegetOperationDefaultType(Object pOwner)
     Retrieves the default data type for a new operation.
public  ILanguageParsergetParserForFile(String file, String type)
     Retrieves a langauge parser that will parse the specified file.
public  IStringsgetSupportedLanguages()
     Retrieves the name of the languages that are supported by the Language Manager.
public  ETList<ILanguage>getSupportedLanguages2()
     Retrieves the languages that are supported by the Language Manager.
public  StringgetSupportedLanguagesAsString()
     Retrieves the list of supported language.
public  StringretrieveContextForFile(String filename, String context)
     Retrieves the RequestProcessor progid associated with the given file. fileName[in] A file path.
public  StringretrieveContextForLanguage(String language, String context)
     Retrieves the instantiation directive for the RequestProcessor associated with the passed-in language name.
public  ILanguageParserretrieveParserForLanguage(String language, String type)
     Retrieves a language parser for the specified language.
public  voidsetConfigLocation(String newVal)
     Sets the location of the configuration file to use.


Constructor Detail
LanguageManager
public LanguageManager()(Code)




Method Detail
getAttributeDefaultType
public ILanguageDataType getAttributeDefaultType(Object pOwner)(Code)
Retrieves the default data type for a new attribute. If a data type is not defined as the default type then the default type will be retrieved from the UML language.
Parameters:
  pOwner - [in] The element that contains the attribute
Parameters:
  pType - [out] The data type



getConfigLocation
public String getConfigLocation()(Code)
Retrieves the current, absolute path to the Languages.etc configuration file.
Parameters:
  pVal - [out] The current value HRESULT



getDefaultForLanguage
public String getDefaultForLanguage(String language, String name)(Code)
returns a "default" setting for the language language[in] the name of the language to get the default for name[in] the name of the setting value[out] the value of the setting



getDefaultLanguage
public ILanguage getDefaultLanguage(Object pElement)(Code)
Retrieves the default langauge information for a specified element. The name of the default language will be retrieved from the project that contains a specified element.
Parameters:
  pElement - [in] Must implement the IElement interface
Parameters:
  pLanguage - [out] The default langauge



getDefaultSourceFileExtensionForLanguage
public String getDefaultSourceFileExtensionForLanguage(String language)(Code)
Returns the default extension for a source file for a particular language language[in] the language extension[out] the default source file extension



getFileExtensionFilters
public ETList<ILanguageFilter> getFileExtensionFilters(String languageName)(Code)
Retrieves a collection of file filters for a specified language.
Parameters:
  langaugeName - [in] The name of the language.
Parameters:
  groupString - [out] The extensions.



getFileExtensionFilters
public ETList<ILanguageFilter> getFileExtensionFilters(ILanguage language)(Code)
Retrieves a collection of file filters for a specified language.



getFileExtensionsForLanguage
public IStrings getFileExtensionsForLanguage(String language)(Code)
Returns a list of file extensions for the specified language language[in] the language you want file extensions for pVal[out] list of languages HRESULT



getFileExtensionsForLanguage
public IStrings getFileExtensionsForLanguage(ILanguage pLanguage)(Code)
Returns a list of file extensions for the specified language language[in] the language you want file extensions for pVal[out] list of languages HRESULT



getLanguage
public ILanguage getLanguage(String langName)(Code)
Retrieves the language defintion from the language manager.
Parameters:
  langName - [in] The name of the language
Parameters:
  pVal - [out] The language definition E_INVALID_ARG if pVal = NULL, IDS_E_LANG_CONFIG_MISSING if langNameis not found in the language config file.



getLanguageForFile
public ILanguage getLanguageForFile(String filename)(Code)
Retrieves the language definition from the language manager. The file name is used to determine the language defintion to retrieve.
Parameters:
  filename - [in] The name of the file
Parameters:
  pVal - [out] The language definition



getLanguagesWithCodeGenSupport
public ETList<ILanguage> getLanguagesWithCodeGenSupport()(Code)
Retrieves all the languages that contain ICodeGenerationScripts pVal[out] The collection of languages HRESULT



getOperationDefaultType
public ILanguageDataType getOperationDefaultType(Object pOwner)(Code)
Retrieves the default data type for a new operation. If a data type is not defined as the default type then the default type will be retrieved from the UML language.
Parameters:
  pOwner - [in] The element that contains the operation
Parameters:
  pType - [out] The data type



getParserForFile
public ILanguageParser getParserForFile(String file, String type)(Code)
Retrieves a langauge parser that will parse the specified file. The parser will be selected based on the file extension. A language can support more than one way to parse a stream. Examples of different parses are a complete parser, a parser that retrieves classes only, and a parser that only retrieves package and class defintions (no attribute or operations).
Parameters:
  file - [in] The file name
Parameters:
  type - [in] The parser type
Parameters:
  pVal - [out] The parser



getSupportedLanguages
public IStrings getSupportedLanguages()(Code)
Retrieves the name of the languages that are supported by the Language Manager.
Parameters:
  pVal - [out] The list of language names



getSupportedLanguages2
public ETList<ILanguage> getSupportedLanguages2()(Code)
Retrieves the languages that are supported by the Language Manager.
Parameters:
  pVal - [out] The collection of Language objects



getSupportedLanguagesAsString
public String getSupportedLanguagesAsString()(Code)
Retrieves the list of supported language. The output will be a delemeted string. The deleminter is '|'.
Parameters:
  pVal - [out] The list of language names.



retrieveContextForFile
public String retrieveContextForFile(String filename, String context)(Code)
Retrieves the RequestProcessor progid associated with the given file. fileName[in] A file path. Can be relative or absolute procID[out] The ProgID of the appropriate RequestProcessor HRESULT



retrieveContextForLanguage
public String retrieveContextForLanguage(String language, String context)(Code)
Retrieves the instantiation directive for the RequestProcessor associated with the passed-in language name. language[in] The name of the language procID[out] The RequestProcessor associated with that language HRESULT



retrieveParserForLanguage
public ILanguageParser retrieveParserForLanguage(String language, String type)(Code)
Retrieves a language parser for the specified language. A language can support more than one way to parse a stream. Examples of different parses are a complete parser, a parser that retrieves classes only, and a parser that only retrieves package and class defintions (no attribute or operatons).
Parameters:
  language - [in] The language
Parameters:
  type - [in] The parser type
Parameters:
  pVal - [out] The parser



setConfigLocation
public void setConfigLocation(String newVal)(Code)
Sets the location of the configuration file to use. This must be an absolute path. newVal[in] Absolute path to the config file HRESULT



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.