public class CodeDomProvider extends Component
.NET documentation at https://learn.microsoft.com/dotnet/api/System.CodeDom.Compiler.CodeDomProvider
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.CodeDom, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.CodeDom
|
static java.lang.String |
className
Qualified class name: System.CodeDom.Compiler.CodeDomProvider
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
CodeDomProvider() |
CodeDomProvider(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static CodeDomProvider |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into CodeDomProvider, a cast assert is made to check if types are compatible. |
CompilerResults |
CompileAssemblyFromDom(CompilerParameters options,
CodeCompileUnit... compilationUnits)
Invokes the .NET member CompileAssemblyFromDom.
|
CompilerResults |
CompileAssemblyFromFile(CompilerParameters dupParam0,
JCORefOut dupParam1)
Invokes the .NET member CompileAssemblyFromFile.
|
CompilerResults |
CompileAssemblyFromFile(CompilerParameters options,
java.lang.String... fileNames)
Invokes the .NET member CompileAssemblyFromFile.
|
CompilerResults |
CompileAssemblyFromSource(CompilerParameters dupParam0,
JCORefOut dupParam1)
Invokes the .NET member CompileAssemblyFromSource.
|
CompilerResults |
CompileAssemblyFromSource(CompilerParameters options,
java.lang.String... sources)
Invokes the .NET member CompileAssemblyFromSource.
|
ICodeCompiler |
CreateCompiler()
Invokes the .NET member CreateCompiler.
|
java.lang.String |
CreateEscapedIdentifier(java.lang.String value)
Invokes the .NET member CreateEscapedIdentifier.
|
ICodeGenerator |
CreateGenerator()
Invokes the .NET member CreateGenerator.
|
ICodeGenerator |
CreateGenerator(java.lang.String fileName)
Invokes the .NET member CreateGenerator.
|
ICodeGenerator |
CreateGenerator(TextWriter output)
Invokes the .NET member CreateGenerator.
|
ICodeParser |
CreateParser()
Invokes the .NET member CreateParser.
|
static CodeDomProvider |
CreateProvider(java.lang.String language)
Invokes the .NET member CreateProvider.
|
static CodeDomProvider |
CreateProvider(java.lang.String language,
IDictionary_2 providerOptions)
Invokes the .NET member CreateProvider.
|
java.lang.String |
CreateValidIdentifier(java.lang.String value)
Invokes the .NET member CreateValidIdentifier.
|
void |
GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromCompileUnit.
|
void |
GenerateCodeFromExpression(CodeExpression expression,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromExpression.
|
void |
GenerateCodeFromMember(CodeTypeMember member,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromMember.
|
void |
GenerateCodeFromNamespace(CodeNamespace codeNamespace,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromNamespace.
|
void |
GenerateCodeFromStatement(CodeStatement statement,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromStatement.
|
void |
GenerateCodeFromType(CodeTypeDeclaration codeType,
TextWriter writer,
CodeGeneratorOptions options)
Invokes the .NET member GenerateCodeFromType.
|
static CompilerInfo[] |
GetAllCompilerInfo()
Invokes the .NET member GetAllCompilerInfo.
|
static CompilerInfo |
GetCompilerInfo(java.lang.String language)
Invokes the .NET member GetCompilerInfo.
|
TypeConverter |
GetConverter(NetType type)
Invokes the .NET member GetConverter.
|
java.lang.String |
getFileExtension()
Gets the value of the .NET property FileExtension.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
static java.lang.String |
GetLanguageFromExtension(java.lang.String extension)
Invokes the .NET member GetLanguageFromExtension.
|
LanguageOptions |
getLanguageOptions()
Gets the value of the .NET property LanguageOptions.
|
java.lang.String |
GetTypeOutput(CodeTypeReference type)
Invokes the .NET member GetTypeOutput.
|
static boolean |
IsDefinedExtension(java.lang.String extension)
Invokes the .NET member IsDefinedExtension.
|
static boolean |
IsDefinedLanguage(java.lang.String language)
Invokes the .NET member IsDefinedLanguage.
|
boolean |
IsValidIdentifier(java.lang.String value)
Invokes the .NET member IsValidIdentifier.
|
CodeCompileUnit |
Parse(TextReader codeStream)
Invokes the .NET member Parse.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
boolean |
Supports(GeneratorSupport generatorSupport)
Invokes the .NET member Supports.
|
addDisposed, close, Dispose, getContainer, getSite, removeDisposed, setSiteGetLifetimeService, InitializeLifetimeServicepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public CodeDomProvider()
throws java.lang.Throwable
java.lang.Throwablepublic CodeDomProvider(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static CodeDomProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into CodeDomProvider, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedCodeDomProvider instancejava.lang.Throwable - in case of error during cast operationpublic CompilerResults CompileAssemblyFromDom(CompilerParameters options, CodeCompileUnit... compilationUnits) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
options - the argument of type CompilerParameterscompilationUnits - the argument of type CodeCompileUnit...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic CompilerResults CompileAssemblyFromFile(CompilerParameters dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type CompilerParametersdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic CompilerResults CompileAssemblyFromFile(CompilerParameters options, java.lang.String... fileNames) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
options - the argument of type CompilerParametersfileNames - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic CompilerResults CompileAssemblyFromSource(CompilerParameters dupParam0, JCORefOut dupParam1) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
dupParam0 - the argument of type CompilerParametersdupParam1 - the argument of type JCORefOutjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic CompilerResults CompileAssemblyFromSource(CompilerParameters options, java.lang.String... sources) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
options - the argument of type CompilerParameterssources - the argument of type java.lang.String...java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic ICodeCompiler CreateCompiler() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String CreateEscapedIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
value - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic ICodeGenerator CreateGenerator() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICodeGenerator CreateGenerator(java.lang.String fileName) throws java.lang.Throwable
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICodeGenerator CreateGenerator(TextWriter output) throws java.lang.Throwable
output - the argument of type TextWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic ICodeParser CreateParser() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static CodeDomProvider CreateProvider(java.lang.String language) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, TypeLoadException, FileLoadException, FileNotFoundException, MissingMethodException, TargetInvocationException
language - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itFileNotFoundException - if the .NET member raises itMissingMethodException - if the .NET member raises itTargetInvocationException - if the .NET member raises itpublic static CodeDomProvider CreateProvider(java.lang.String language, IDictionary_2 providerOptions) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, TypeLoadException, FileLoadException, FileNotFoundException
language - the argument of type java.lang.StringproviderOptions - the argument of type IDictionary_2java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itTypeLoadException - if the .NET member raises itFileLoadException - if the .NET member raises itFileNotFoundException - if the .NET member raises itpublic java.lang.String CreateValidIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
value - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromCompileUnit(CodeCompileUnit compileUnit, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
compileUnit - the argument of type CodeCompileUnitwriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromExpression(CodeExpression expression, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
expression - the argument of type CodeExpressionwriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromMember(CodeTypeMember member, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, NotSupportedException, CultureNotFoundException, ObjectDisposedException, InvalidOperationException, NotImplementedException
member - the argument of type CodeTypeMemberwriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromNamespace(CodeNamespace codeNamespace, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
codeNamespace - the argument of type CodeNamespacewriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromStatement(CodeStatement statement, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
statement - the argument of type CodeStatementwriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void GenerateCodeFromType(CodeTypeDeclaration codeType, TextWriter writer, CodeGeneratorOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
codeType - the argument of type CodeTypeDeclarationwriter - the argument of type TextWriteroptions - the argument of type CodeGeneratorOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic static CompilerInfo[] GetAllCompilerInfo() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
java.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itpublic static CompilerInfo GetCompilerInfo(java.lang.String language) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, InvalidOperationException, PlatformNotSupportedException, ArrayTypeMismatchException, NotSupportedException, ObjectDisposedException, RankException, IndexOutOfRangeException
language - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic TypeConverter GetConverter(NetType type) throws java.lang.Throwable, NotSupportedException, ArgumentException, ArgumentNullException, TypeLoadException, InvalidOperationException, ArgumentOutOfRangeException, PlatformNotSupportedException, KeyNotFoundException
type - the argument of type NetTypejava.lang.Throwable - if the call fails in the bridge or in the CLRNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itArgumentNullException - if the .NET member raises itTypeLoadException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itKeyNotFoundException - if the .NET member raises itpublic java.lang.String getFileExtension()
throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Componentpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Componentpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Componentnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Componentpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Componentpublic static java.lang.String GetLanguageFromExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
extension - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic LanguageOptions getLanguageOptions() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String GetTypeOutput(CodeTypeReference type) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
type - the argument of type CodeTypeReferencejava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic static boolean IsDefinedExtension(java.lang.String extension)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
extension - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static boolean IsDefinedLanguage(java.lang.String language)
throws java.lang.Throwable,
ArgumentException,
ArgumentOutOfRangeException,
ArgumentNullException,
InvalidOperationException,
PlatformNotSupportedException,
ArrayTypeMismatchException,
NotSupportedException,
ObjectDisposedException,
RankException,
IndexOutOfRangeException
language - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itInvalidOperationException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itRankException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic boolean IsValidIdentifier(java.lang.String value)
throws java.lang.Throwable,
ArgumentNullException,
ArgumentException,
PlatformNotSupportedException,
ArgumentOutOfRangeException,
CultureNotFoundException,
NotSupportedException,
InvalidOperationException,
ObjectDisposedException,
NotImplementedException
value - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic CodeCompileUnit Parse(TextReader codeStream) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
codeStream - the argument of type TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises itpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Componentinstance - the new underlying objectpublic boolean Supports(GeneratorSupport generatorSupport) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, NotSupportedException, InvalidOperationException, ObjectDisposedException, NotImplementedException
generatorSupport - the argument of type GeneratorSupportjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itObjectDisposedException - if the .NET member raises itNotImplementedException - if the .NET member raises it