Package system.xaml
Class XamlXmlWriter
- java.lang.Object
-
- org.mases.jcobridge.netreflection.NetObject
-
- system.xaml.XamlWriter
-
- system.xaml.XamlXmlWriter
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,IJCOBridgeReflected
,IDisposable
public class XamlXmlWriter extends XamlWriter
The base .NET class managing System.Xaml.XamlXmlWriter, System.Xaml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xaml.XamlXmlWriter
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.String
assemblyFullName
Fully assembly qualified name: System.Xaml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089static java.lang.String
assemblyShortName
Assembly name: System.Xamlstatic java.lang.String
className
Qualified class name: System.Xaml.XamlXmlWriterstatic JCType
classType
The type managed from JCOBridge.
-
Constructor Summary
Constructors Constructor Description XamlXmlWriter()
XamlXmlWriter(java.lang.Object instance)
Internal constructor.XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext)
XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings)
XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext)
XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings)
XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext)
XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static XamlXmlWriter
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoXamlXmlWriter
, a cast assert is made to check if types are compatible.void
Flush()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectJCType
getJCOType()
Returns the instantiated class TypeXamlXmlWriterSettings
getSettings()
void
setJCOInstance(JCObject instance)
void
WriteEndMember()
void
WriteEndObject()
void
WriteGetObject()
void
WriteNamespace(NamespaceDeclaration namespaceDeclaration)
void
WriteStartMember(XamlMember property)
void
WriteStartObject(XamlType type)
void
WriteValue(NetObject value)
-
Methods inherited from class system.xaml.XamlWriter
close, Close, getSchemaContext
-
Methods inherited from class org.mases.jcobridge.netreflection.NetObject
Equals, Equals, GetHashCode, GetType, hashCode, toString, ToString
-
Methods inherited from interface system.IDisposable
Dispose
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: System.Xaml, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: System.Xaml- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: System.Xaml.XamlXmlWriter- See Also:
- Constant Field Values
-
-
Constructor Detail
-
XamlXmlWriter
public XamlXmlWriter(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
XamlXmlWriter
public XamlXmlWriter() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
XamlXmlWriter
public XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, XmlException, NullReferenceException, UnreachableException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
XmlException
NullReferenceException
UnreachableException
MissingMemberException
-
XamlXmlWriter
public XamlXmlWriter(Stream stream, XamlSchemaContext schemaContext) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, XmlException, NullReferenceException, ArrayTypeMismatchException
-
XamlXmlWriter
public XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, OutOfMemoryException, FormatException, XmlException, UnreachableException, MissingMemberException
- Throws:
java.lang.Throwable
ArgumentException
ArgumentOutOfRangeException
PlatformNotSupportedException
NotSupportedException
ObjectDisposedException
InvalidOperationException
RankException
ArrayTypeMismatchException
ArgumentNullException
IndexOutOfRangeException
OutOfMemoryException
FormatException
XmlException
UnreachableException
MissingMemberException
-
XamlXmlWriter
public XamlXmlWriter(TextWriter textWriter, XamlSchemaContext schemaContext) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, OutOfMemoryException, XmlException
-
XamlXmlWriter
public XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext, XamlXmlWriterSettings settings) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, IndexOutOfRangeException, MissingMemberException
-
XamlXmlWriter
public XamlXmlWriter(XmlWriter xmlWriter, XamlSchemaContext schemaContext) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIDisposable
- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classXamlWriter
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIDisposable
- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classXamlWriter
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIDisposable
- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classXamlWriter
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIDisposable
- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classXamlWriter
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(JCObject instance)
- Overrides:
setJCOInstance
in classXamlWriter
-
getJCOType
public JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIDisposable
- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classXamlWriter
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static XamlXmlWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoXamlXmlWriter
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
XamlXmlWriter
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
Flush
public void Flush() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
WriteEndMember
public void WriteEndMember() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, XamlXmlWriterException
- Overrides:
WriteEndMember
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
XamlXmlWriterException
-
WriteEndObject
public void WriteEndObject() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, XamlXmlWriterException
- Overrides:
WriteEndObject
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
XamlXmlWriterException
-
WriteGetObject
public void WriteGetObject() throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, PlatformNotSupportedException, NullReferenceException, IndexOutOfRangeException, ArgumentNullException, OutOfMemoryException, KeyNotFoundException, XamlXmlWriterException
- Overrides:
WriteGetObject
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
PlatformNotSupportedException
NullReferenceException
IndexOutOfRangeException
ArgumentNullException
OutOfMemoryException
KeyNotFoundException
XamlXmlWriterException
-
WriteNamespace
public void WriteNamespace(NamespaceDeclaration namespaceDeclaration) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, ArgumentNullException, IndexOutOfRangeException, PlatformNotSupportedException, FormatException, XamlXmlWriterException
- Overrides:
WriteNamespace
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
ArgumentNullException
IndexOutOfRangeException
PlatformNotSupportedException
FormatException
XamlXmlWriterException
-
WriteStartMember
public void WriteStartMember(XamlMember property) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, FormatException, XamlXmlWriterException
- Overrides:
WriteStartMember
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentNullException
FormatException
XamlXmlWriterException
-
WriteStartObject
public void WriteStartObject(XamlType type) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, IndexOutOfRangeException, PlatformNotSupportedException, ArgumentNullException, FormatException, XamlXmlWriterException, NullReferenceException, KeyNotFoundException, XamlSchemaException, OutOfMemoryException, MissingMethodException, TargetInvocationException, MissingMemberException
- Overrides:
WriteStartObject
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
IndexOutOfRangeException
PlatformNotSupportedException
ArgumentNullException
FormatException
XamlXmlWriterException
NullReferenceException
KeyNotFoundException
XamlSchemaException
OutOfMemoryException
MissingMethodException
TargetInvocationException
MissingMemberException
-
WriteValue
public void WriteValue(NetObject value) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ObjectDisposedException, MissingMethodException, TargetInvocationException, PlatformNotSupportedException, MissingMemberException, NullReferenceException, ArgumentNullException, IndexOutOfRangeException, FormatException, XamlXmlWriterException
- Overrides:
WriteValue
in classXamlWriter
- Throws:
java.lang.Throwable
ArgumentException
NotSupportedException
InvalidOperationException
ArgumentOutOfRangeException
ObjectDisposedException
MissingMethodException
TargetInvocationException
PlatformNotSupportedException
MissingMemberException
NullReferenceException
ArgumentNullException
IndexOutOfRangeException
FormatException
XamlXmlWriterException
-
getSettings
public XamlXmlWriterSettings getSettings() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
-