Class SoapFormatter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.runtime.serialization.formatters.soap.SoapFormatter
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class SoapFormatter extends NetObject
The base .NET class managing System.Runtime.Serialization.Formatters.Soap.SoapFormatter, System.Runtime.Serialization.Formatters.Soap, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Runtime.Serialization.Formatters.Soap.SoapFormatter
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.Serialization.Formatters.Soap, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.StringassemblyShortNameAssembly name: System.Runtime.Serialization.Formatters.Soapstatic java.lang.StringclassNameQualified class name: System.Runtime.Serialization.Formatters.Soap.SoapFormatterstatic JCTypeclassTypeThe type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description SoapFormatter()SoapFormatter(java.lang.Object instance)Internal constructor.SoapFormatter(ISurrogateSelector selector, StreamingContext context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SoapFormattercast(IJCOBridgeReflected from)Try to cast theIJCOBridgeReflectedinstance intoSoapFormatter, a cast assert is made to check if types are compatible.NetObjectDeserialize(Stream serializationStream)NetObjectDeserialize(Stream serializationStream, HeaderHandler handler)FormatterAssemblyStylegetAssemblyFormat()SerializationBindergetBinder()StreamingContextgetContext()TypeFilterLevelgetFilterLevel()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 TypeISurrogateSelectorgetSurrogateSelector()ISoapMessagegetTopObject()FormatterTypeStylegetTypeFormat()voidSerialize(Stream serializationStream, NetObject graph)voidSerialize(Stream serializationStream, NetObject graph, Header[] headers)voidsetAssemblyFormat(FormatterAssemblyStyle AssemblyFormat)voidsetBinder(SerializationBinder Binder)voidsetContext(StreamingContext Context)voidsetFilterLevel(TypeFilterLevel FilterLevel)voidsetJCOInstance(JCObject instance)voidsetSurrogateSelector(ISurrogateSelector SurrogateSelector)voidsetTopObject(ISoapMessage TopObject)voidsetTypeFormat(FormatterTypeStyle TypeFormat)
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Runtime.Serialization.Formatters.Soap, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Runtime.Serialization.Formatters.Soap- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Runtime.Serialization.Formatters.Soap.SoapFormatter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SoapFormatter
public SoapFormatter(java.lang.Object instance) throws java.lang.ThrowableInternal constructor. Use with caution- Throws:
java.lang.Throwable
-
SoapFormatter
public SoapFormatter() throws java.lang.Throwable- Throws:
java.lang.Throwable
-
SoapFormatter
public SoapFormatter(ISurrogateSelector selector, StreamingContext context) 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 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 SoapFormatter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflectedinstance intoSoapFormatter, a cast assert is made to check if types are compatible.- Parameters:
from-IJCOBridgeReflectedinstance to be casted- Returns:
SoapFormatterinstance- Throws:
java.lang.Throwable- in case of error during cast operation
-
Deserialize
public NetObject Deserialize(Stream serializationStream) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, SerializationException, IndexOutOfRangeException, FormatException, SecurityException, MissingMemberException, TargetException, RankException, RemotingException, NullReferenceException, ServerException, OverflowException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionSerializationExceptionIndexOutOfRangeExceptionFormatExceptionSecurityExceptionMissingMemberExceptionTargetExceptionRankExceptionRemotingExceptionNullReferenceExceptionServerExceptionOverflowExceptionInvalidCastExceptionOutOfMemoryException
-
Deserialize
public NetObject Deserialize(Stream serializationStream, HeaderHandler handler) throws java.lang.Throwable, ArgumentNullException, NotImplementedException, ArgumentException, TypeLoadException, InvalidOperationException, MissingMethodException, TargetInvocationException, NotSupportedException, ArgumentOutOfRangeException, IndexOutOfRangeException, CultureNotFoundException, OutOfMemoryException, MissingManifestResourceException, ObjectDisposedException, SerializationException, SecurityException, UnauthorizedAccessException, IOException, FormatException, MissingMemberException, TargetException, RankException, RemotingException, NullReferenceException, MulticastNotSupportedException, ServerException, OverflowException, InvalidCastException
- Throws:
java.lang.ThrowableArgumentNullExceptionNotImplementedExceptionArgumentExceptionTypeLoadExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionNotSupportedExceptionArgumentOutOfRangeExceptionIndexOutOfRangeExceptionCultureNotFoundExceptionOutOfMemoryExceptionMissingManifestResourceExceptionObjectDisposedExceptionSerializationExceptionSecurityExceptionUnauthorizedAccessExceptionIOExceptionFormatExceptionMissingMemberExceptionTargetExceptionRankExceptionRemotingExceptionNullReferenceExceptionMulticastNotSupportedExceptionServerExceptionOverflowExceptionInvalidCastException
-
Serialize
public void Serialize(Stream serializationStream, NetObject graph) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, FormatException, ArgumentException, NotImplementedException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, NotSupportedException, SerializationException, OverflowException, KeyNotFoundException, IndexOutOfRangeException, NullReferenceException, TargetException, MulticastNotSupportedException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionFormatExceptionArgumentExceptionNotImplementedExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionNotSupportedExceptionSerializationExceptionOverflowExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionNullReferenceExceptionTargetExceptionMulticastNotSupportedExceptionInvalidCastExceptionOutOfMemoryException
-
Serialize
public void Serialize(Stream serializationStream, NetObject graph, Header[] headers) throws java.lang.Throwable, ArgumentNullException, ArgumentOutOfRangeException, ArgumentException, FormatException, NotImplementedException, NotSupportedException, InvalidOperationException, CultureNotFoundException, MissingManifestResourceException, ObjectDisposedException, SerializationException, OverflowException, KeyNotFoundException, NullReferenceException, TargetException, MulticastNotSupportedException, InvalidCastException, OutOfMemoryException
- Throws:
java.lang.ThrowableArgumentNullExceptionArgumentOutOfRangeExceptionArgumentExceptionFormatExceptionNotImplementedExceptionNotSupportedExceptionInvalidOperationExceptionCultureNotFoundExceptionMissingManifestResourceExceptionObjectDisposedExceptionSerializationExceptionOverflowExceptionKeyNotFoundExceptionNullReferenceExceptionTargetExceptionMulticastNotSupportedExceptionInvalidCastExceptionOutOfMemoryException
-
getAssemblyFormat
public FormatterAssemblyStyle getAssemblyFormat() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setAssemblyFormat
public void setAssemblyFormat(FormatterAssemblyStyle AssemblyFormat) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTypeFormat
public FormatterTypeStyle getTypeFormat() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTypeFormat
public void setTypeFormat(FormatterTypeStyle TypeFormat) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getTopObject
public ISoapMessage getTopObject() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setTopObject
public void setTopObject(ISoapMessage TopObject) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getFilterLevel
public TypeFilterLevel getFilterLevel() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setFilterLevel
public void setFilterLevel(TypeFilterLevel FilterLevel) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getSurrogateSelector
public ISurrogateSelector getSurrogateSelector() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setSurrogateSelector
public void setSurrogateSelector(ISurrogateSelector SurrogateSelector) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getBinder
public SerializationBinder getBinder() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setBinder
public void setBinder(SerializationBinder Binder) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getContext
public StreamingContext getContext() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setContext
public void setContext(StreamingContext Context) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-