Class MetaData
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.remoting.metadataservices.MetaData
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class MetaData extends NetObject
The base .NET class managing System.Runtime.Remoting.MetadataServices.MetaData, System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Remoting.MetadataServices.MetaData
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringassemblyFullNameFully assembly qualified name: System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.StringassemblyShortNameAssembly name: System.Runtime.Remotingstatic java.lang.StringclassNameQualified class name: System.Runtime.Remoting.MetadataServices.MetaDatastatic JCTypeclassTypeThe type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetaDatacast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoMetaData, a cast assert is made to check if types are compatible.static voidConvertCodeSourceFileToAssemblyFile(java.lang.String codePath, java.lang.String assemblyPath, java.lang.String strongNameFilename)static voidConvertCodeSourceStreamToAssemblyFile(NetArrayList outCodeStreamList, java.lang.String assemblyPath, java.lang.String strongNameFilename)static voidConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList)static voidConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList, java.lang.String proxyUrl)static voidConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList, java.lang.String proxyUrl, java.lang.String proxyNamespace)static voidConvertTypesToSchemaToFile(NetType[] types, SdlType sdlType, java.lang.String path)static voidConvertTypesToSchemaToFile(ServiceType[] types, SdlType sdlType, java.lang.String path)static voidConvertTypesToSchemaToStream(NetType[] types, SdlType sdlType, Stream outputStream)static voidConvertTypesToSchemaToStream(ServiceType[] serviceTypes, SdlType sdlType, Stream outputStream)java.lang.StringgetJCOAssemblyName()Returns the reflected Assembly namejava.lang.StringgetJCOClassName()Returns the reflected Class namejava.lang.ObjectgetJCOInstance()Returns the instantiated classjava.lang.StringgetJCOObjectName()Returns the reflected Class name used to build the objectJCTypegetJCOType()Returns the instantiated class Typestatic voidRetrieveSchemaFromUrlToFile(java.lang.String url, java.lang.String path)static voidRetrieveSchemaFromUrlToStream(java.lang.String url, Stream outputStream)static voidSaveStreamToFile(Stream inputStream, java.lang.String path)voidsetJCOInstance(JCObject instance)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Remoting, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Runtime.Remoting- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.Remoting.MetadataServices.MetaData- See Also:
- Constant Field Values
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name- Specified by:
getJCOClassNamein interfaceIJCOBridgeReflected- Overrides:
getJCOClassNamein classNetObject- Returns:
- A
Stringrepresenting the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Class name used to build the object- Specified by:
getJCOObjectNamein interfaceIJCOBridgeReflected- Overrides:
getJCOObjectNamein classNetObject- Returns:
- A
Stringrepresenting the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class- Specified by:
getJCOInstancein interfaceIJCOBridgeReflected- Overrides:
getJCOInstancein classNetObject- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classNetObject
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classNetObject- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static MetaData cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoMetaData, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
MetaDatainstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ConvertCodeSourceFileToAssemblyFile
public static void ConvertCodeSourceFileToAssemblyFile(java.lang.String codePath, java.lang.String assemblyPath, java.lang.String strongNameFilename) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, IndexOutOfRangeException, FormatException, PathTooLongException, NotSupportedException, NullReferenceException, SecurityException, IOException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, RemotingException, OutOfMemoryException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionIndexOutOfRangeExceptionFormatExceptionPathTooLongExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionIOExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionRemotingExceptionOutOfMemoryException
-
ConvertCodeSourceStreamToAssemblyFile
public static void ConvertCodeSourceStreamToAssemblyFile(NetArrayList outCodeStreamList, java.lang.String assemblyPath, java.lang.String strongNameFilename) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, CultureNotFoundException, IndexOutOfRangeException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, NullReferenceException, SecurityException, FormatException, TypeInitializationException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, AbandonedMutexException, RemotingException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionCultureNotFoundExceptionIndexOutOfRangeExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionNullReferenceExceptionSecurityExceptionFormatExceptionTypeInitializationExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionAbandonedMutexExceptionRemotingException
-
ConvertSchemaStreamToCodeSourceStream
public static void ConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, NotImplementedException, SUDSParserException
-
ConvertSchemaStreamToCodeSourceStream
public static void ConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList, java.lang.String proxyUrl) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, IndexOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, XmlException, NotImplementedException, SUDSParserException
-
ConvertSchemaStreamToCodeSourceStream
public static void ConvertSchemaStreamToCodeSourceStream(boolean clientProxy, java.lang.String outputDirectory, Stream inputStream, NetArrayList outCodeStreamList, java.lang.String proxyUrl, java.lang.String proxyNamespace) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, FormatException, IndexOutOfRangeException, NotImplementedException, NotSupportedException, InvalidOperationException, MissingManifestResourceException, ObjectDisposedException, XmlException, SUDSParserException
-
ConvertTypesToSchemaToFile
public static void ConvertTypesToSchemaToFile(ServiceType[] types, SdlType sdlType, java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedException
-
ConvertTypesToSchemaToFile
public static void ConvertTypesToSchemaToFile(NetType[] types, SdlType sdlType, java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, NotImplementedException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionNotImplementedExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionIndexOutOfRangeException
-
ConvertTypesToSchemaToStream
public static void ConvertTypesToSchemaToStream(ServiceType[] serviceTypes, SdlType sdlType, Stream outputStream) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, ArgumentOutOfRangeException, NotImplementedException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, SecurityException, FormatException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionArgumentOutOfRangeExceptionNotImplementedExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionSecurityExceptionFormatException
-
ConvertTypesToSchemaToStream
public static void ConvertTypesToSchemaToStream(NetType[] types, SdlType sdlType, Stream outputStream) throws java.lang.Throwable, ArgumentNullException, TypeLoadException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, CultureNotFoundException, NotImplementedException, ArgumentOutOfRangeException, MissingManifestResourceException, ObjectDisposedException, FormatException, IndexOutOfRangeException
- Throws:
java.lang.ThrowableArgumentNullExceptionTypeLoadExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionCultureNotFoundExceptionNotImplementedExceptionArgumentOutOfRangeExceptionMissingManifestResourceExceptionObjectDisposedExceptionFormatExceptionIndexOutOfRangeException
-
RetrieveSchemaFromUrlToFile
public static void RetrieveSchemaFromUrlToFile(java.lang.String url, java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IndexOutOfRangeException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, UriFormatException, OutOfMemoryException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidCastException, MissingMethodException, TargetInvocationException- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionUriFormatExceptionOutOfMemoryExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidCastExceptionMissingMethodExceptionTargetInvocationException
-
RetrieveSchemaFromUrlToStream
public static void RetrieveSchemaFromUrlToStream(java.lang.String url, Stream outputStream) throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, ArgumentException, SecurityException, NotSupportedException, OutOfMemoryException, FormatException, IndexOutOfRangeException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, MemberAccessException, NullReferenceException, UriFormatException, ConfigurationErrorsException, MulticastNotSupportedException, InvalidCastException, MissingMethodException- Throws:
java.lang.ThrowableArgumentOutOfRangeExceptionArgumentNullExceptionArgumentExceptionSecurityExceptionNotSupportedExceptionOutOfMemoryExceptionFormatExceptionIndexOutOfRangeExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionConfigurationErrorsExceptionMulticastNotSupportedExceptionInvalidCastExceptionMissingMethodException
-
SaveStreamToFile
public static void SaveStreamToFile(Stream inputStream, java.lang.String path) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, FormatException, PathTooLongException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, DriveNotFoundException, OperationCanceledException, NotSupportedException, InvalidOperationException, NullReferenceException, SecurityException, IndexOutOfRangeException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionArgumentOutOfRangeExceptionFormatExceptionPathTooLongExceptionFileNotFoundExceptionDirectoryNotFoundExceptionUnauthorizedAccessExceptionIOExceptionDriveNotFoundExceptionOperationCanceledExceptionNotSupportedExceptionInvalidOperationExceptionNullReferenceExceptionSecurityExceptionIndexOutOfRangeExceptionOutOfMemoryException
-
-