Package system.windows.media
Class ImageSourceValueSerializer
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.windows.markup.ValueSerializer
-
- system.windows.media.ImageSourceValueSerializer
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class ImageSourceValueSerializer extends ValueSerializer
The base .NET class managing System.Windows.Media.ImageSourceValueSerializer, PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Windows.Media.ImageSourceValueSerializer
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: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35static java.lang.StringassemblyShortNameAssembly name: PresentationCorestatic java.lang.StringclassNameQualified class name: System.Windows.Media.ImageSourceValueSerializerstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description ImageSourceValueSerializer()ImageSourceValueSerializer(java.lang.Object instance)Internal constructor.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanCanConvertFromString(java.lang.String value, IValueSerializerContext context)booleanCanConvertToString(NetObject value, IValueSerializerContext context)static ImageSourceValueSerializercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoImageSourceValueSerializer, a cast assert is made to check if types are compatible.NetObjectConvertFromString(java.lang.String value, IValueSerializerContext context)java.lang.StringConvertToString(NetObject value, IValueSerializerContext context)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 TypevoidsetJCOInstance(JCObject instance)-
Methods inherited from class system.windows.markup.ValueSerializer
GetSerializerFor, GetSerializerFor, GetSerializerFor, GetSerializerFor
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: PresentationCore, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: PresentationCore- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Windows.Media.ImageSourceValueSerializer- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImageSourceValueSerializer
public ImageSourceValueSerializer(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
ImageSourceValueSerializer
public ImageSourceValueSerializer() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflectedReturns the reflected Assembly name- Specified by:
getJCOAssemblyNamein interfaceIJCOBridgeReflected- Overrides:
getJCOAssemblyNamein classValueSerializer- 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 classValueSerializer- 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 classValueSerializer- 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 classValueSerializer- Returns:
- An
Objectrepresenting the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstancein classValueSerializer
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflectedReturns the instantiated class Type- Specified by:
getJCOTypein interfaceIJCOBridgeReflected- Overrides:
getJCOTypein classValueSerializer- Returns:
- A
JCTyperepresenting the CLR Type of the instantiated Class
-
cast
public static ImageSourceValueSerializer cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoImageSourceValueSerializer, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
ImageSourceValueSerializerinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
CanConvertFromString
public boolean CanConvertFromString(java.lang.String value, IValueSerializerContext context) throws java.lang.Throwable- Overrides:
CanConvertFromStringin classValueSerializer- Throws:
java.lang.Throwable
-
CanConvertToString
public boolean CanConvertToString(NetObject value, IValueSerializerContext context) throws java.lang.Throwable
- Overrides:
CanConvertToStringin classValueSerializer- Throws:
java.lang.Throwable
-
ConvertFromString
public NetObject ConvertFromString(java.lang.String value, IValueSerializerContext context) throws java.lang.Throwable, ArgumentNullException, ArgumentException, NotImplementedException, MissingManifestResourceException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, FormatException, SecurityException, MemberAccessException, NullReferenceException, UriFormatException, OutOfMemoryException, UnauthorizedAccessException, IOException, Win32Exception, IndexOutOfRangeException, FileNotFoundException, DirectoryNotFoundException, PathTooLongException, DriveNotFoundException, OperationCanceledException, InvalidDeploymentException, NotSupportedException, WebException, CookieException
- Overrides:
ConvertFromStringin classValueSerializer- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentExceptionNotImplementedExceptionMissingManifestResourceExceptionObjectDisposedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionFormatExceptionSecurityExceptionMemberAccessExceptionNullReferenceExceptionUriFormatExceptionOutOfMemoryExceptionUnauthorizedAccessExceptionIOExceptionWin32ExceptionIndexOutOfRangeExceptionFileNotFoundExceptionDirectoryNotFoundExceptionPathTooLongExceptionDriveNotFoundExceptionOperationCanceledExceptionInvalidDeploymentExceptionNotSupportedExceptionWebExceptionCookieException
-
ConvertToString
public java.lang.String ConvertToString(NetObject value, IValueSerializerContext context) throws java.lang.Throwable, ArgumentNullException, FormatException, MissingManifestResourceException, NotImplementedException, ArgumentException, ObjectDisposedException, InvalidOperationException
- Overrides:
ConvertToStringin classValueSerializer- Throws:
java.lang.ThrowableArgumentNullExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionArgumentExceptionObjectDisposedExceptionInvalidOperationException
-
-