Package system.windows.data
Class ObjectDataProvider
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.data.DataSourceProvider
-
- system.windows.data.ObjectDataProvider
-
- All Implemented Interfaces:
IJCOBridgeReflected,ISupportInitialize
public class ObjectDataProvider extends DataSourceProvider
The base .NET class managing System.Windows.Data.ObjectDataProvider, PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Data.ObjectDataProvider
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: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationFrameworkstatic java.lang.StringclassNameQualified class name: System.Windows.Data.ObjectDataProviderstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ObjectDataProvider()ObjectDataProvider(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ObjectDataProvidercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoObjectDataProvider, a cast assert is made to check if types are compatible.IListgetConstructorParameters()booleangetIsAsynchronous()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 Typejava.lang.StringgetMethodName()IListgetMethodParameters()NetObjectgetObjectInstance()NetTypegetObjectType()voidsetIsAsynchronous(boolean IsAsynchronous)voidsetJCOInstance(JCObject instance)voidsetMethodName(java.lang.String MethodName)voidsetObjectInstance(NetObject ObjectInstance)voidsetObjectType(NetType ObjectType)booleanShouldSerializeConstructorParameters()booleanShouldSerializeMethodParameters()booleanShouldSerializeObjectInstance()booleanShouldSerializeObjectType()-
Methods inherited from class system.windows.data.DataSourceProvider
addDataChanged, DeferRefresh, getData, getError, getIsInitialLoadEnabled, InitialLoad, Refresh, removeDataChanged, setIsInitialLoadEnabled
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.componentmodel.ISupportInitialize
BeginInit, EndInit
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationFramework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationFramework- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Data.ObjectDataProvider- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ObjectDataProvider
public ObjectDataProvider(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ObjectDataProvider
public ObjectDataProvider() throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, ArgumentNullException, MissingManifestResourceException, InvalidOperationException, InvalidEnumArgumentException, Win32Exception, IndexOutOfRangeException, OutOfMemoryException, OverflowException, TimeoutException, SecurityException, PlatformNotSupportedException, NotSupportedException, FormatException- Throws:
java.lang.ThrowableArgumentExceptionArgumentOutOfRangeExceptionArgumentNullExceptionMissingManifestResourceExceptionInvalidOperationExceptionInvalidEnumArgumentExceptionWin32ExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionOverflowExceptionTimeoutExceptionSecurityExceptionPlatformNotSupportedExceptionNotSupportedExceptionFormatException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Specified by:
getJCOAssemblyNamein interfaceISupportInitialize- Overrides:
getJCOAssemblyNamein classDataSourceProvider- 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- Specified by:
getJCOClassNamein interfaceISupportInitialize- Overrides:
getJCOClassNamein classDataSourceProvider- 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- Specified by:
getJCOObjectNamein interfaceISupportInitialize- Overrides:
getJCOObjectNamein classDataSourceProvider- 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- Specified by:
getJCOInstancein interfaceISupportInitialize- Overrides:
getJCOInstancein classDataSourceProvider- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classDataSourceProvider
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Specified by:
getJCOTypein interfaceISupportInitialize- Overrides:
getJCOTypein classDataSourceProvider- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ObjectDataProvider cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoObjectDataProvider, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ObjectDataProviderinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
ShouldSerializeConstructorParameters
public boolean ShouldSerializeConstructorParameters() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ShouldSerializeMethodParameters
public boolean ShouldSerializeMethodParameters() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ShouldSerializeObjectInstance
public boolean ShouldSerializeObjectInstance() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
ShouldSerializeObjectType
public boolean ShouldSerializeObjectType() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getIsAsynchronous
public boolean getIsAsynchronous() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setIsAsynchronous
public void setIsAsynchronous(boolean IsAsynchronous) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getConstructorParameters
public IList getConstructorParameters() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getMethodParameters
public IList getMethodParameters() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getObjectInstance
public NetObject getObjectInstance() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setObjectInstance
public void setObjectInstance(NetObject ObjectInstance) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException, MulticastNotSupportedException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionObjectDisposedExceptionAbandonedMutexExceptionMulticastNotSupportedException
-
getMethodName
public java.lang.String getMethodName() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
setMethodName
public void setMethodName(java.lang.String MethodName) throws java.lang.Throwable- Throws:
java.lang.Throwable
-
getObjectType
public NetType getObjectType() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setObjectType
public void setObjectType(NetType ObjectType) throws java.lang.Throwable, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, AbandonedMutexException
-
-