public class XamlObjectWriter extends XamlWriter
.NET documentation at https://docs.microsoft.com/en-us/dotnet/api/System.Xaml.XamlObjectWriter
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
|
static java.lang.String |
assemblyShortName
Assembly name: System.Xaml
|
static java.lang.String |
className
Qualified class name: System.Xaml.XamlObjectWriter
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XamlObjectWriter() |
XamlObjectWriter(java.lang.Object instance)
Internal constructor.
|
XamlObjectWriter(XamlSchemaContext schemaContext) |
XamlObjectWriter(XamlSchemaContext schemaContext,
XamlObjectWriterSettings settings) |
| Modifier and Type | Method and Description |
|---|---|
static XamlObjectWriter |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XamlObjectWriter, a cast assert is made to check if types are compatible. |
void |
Clear() |
java.lang.String |
getJCOAssemblyName()
Returns the reflected Assembly name
|
java.lang.String |
getJCOClassName()
Returns the reflected Class name
|
java.lang.Object |
getJCOInstance()
Returns the instantiated class
|
java.lang.String |
getJCOObjectName()
Returns the reflected Class name used to build the object
|
JCType |
getJCOType()
Returns the instantiated class Type
|
NetObject |
getResult() |
INameScope |
getRootNameScope() |
boolean |
getShouldProvideLineInfo() |
void |
setJCOInstance(JCObject instance) |
void |
SetLineInfo(int lineNumber,
int linePosition) |
void |
WriteEndMember() |
void |
WriteEndObject() |
void |
WriteGetObject() |
void |
WriteNamespace(NamespaceDeclaration namespaceDeclaration) |
void |
WriteStartMember(XamlMember property) |
void |
WriteStartObject(XamlType xamlType) |
void |
WriteValue(NetObject value) |
close, Close, getSchemaContextEquals, Equals, GetHashCode, GetType, hashCode, toString, ToStringDispose, ToIDisposablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XamlObjectWriter()
throws java.lang.Throwable
java.lang.Throwablepublic XamlObjectWriter(java.lang.Object instance)
throws java.lang.Throwable
java.lang.Throwablepublic XamlObjectWriter(XamlSchemaContext schemaContext) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XamlException
public XamlObjectWriter(XamlSchemaContext schemaContext, XamlObjectWriterSettings settings) throws java.lang.Throwable, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, ObjectDisposedException, InvalidOperationException, ArgumentOutOfRangeException, XamlException
public static XamlObjectWriter cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XamlObjectWriter, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXamlObjectWriter instancejava.lang.Throwable - in case of error during cast operationpublic void Clear()
throws java.lang.Throwable,
ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic java.lang.String getJCOAssemblyName()
IJCOBridgeReflectedgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in interface IDisposablegetJCOAssemblyName in class XamlWriterString representing the Fullname of reflected Assemblypublic java.lang.String getJCOClassName()
IJCOBridgeReflectedgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in interface IDisposablegetJCOClassName in class XamlWriterString representing the Fullname of reflected Classpublic java.lang.Object getJCOInstance()
IJCOBridgeReflectedgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in interface IDisposablegetJCOInstance in class XamlWriterObject representing the CLR instance of the instantiated Classpublic java.lang.String getJCOObjectName()
IJCOBridgeReflectedgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in interface IDisposablegetJCOObjectName in class XamlWriterString representing the name used to allocated the object
in CLR contextpublic JCType getJCOType()
IJCOBridgeReflectedgetJCOType in interface IJCOBridgeReflectedgetJCOType in interface IDisposablegetJCOType in class XamlWriterJCType representing the CLR Type of the instantiated Classpublic NetObject getResult() throws java.lang.Throwable
java.lang.Throwablepublic INameScope getRootNameScope() throws java.lang.Throwable, ArgumentNullException, NotImplementedException, InvalidOperationException, ArgumentException, NotSupportedException, XamlSchemaException, MissingManifestResourceException, ObjectDisposedException, KeyNotFoundException
public boolean getShouldProvideLineInfo()
throws java.lang.Throwable,
ObjectDisposedException
java.lang.ThrowableObjectDisposedExceptionpublic void setJCOInstance(JCObject instance)
setJCOInstance in class XamlWriterpublic void SetLineInfo(int lineNumber,
int linePosition)
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
IndexOutOfRangeException,
XamlInternalException,
XamlException
public void WriteEndMember()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentException,
ArgumentNullException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
AbandonedMutexException,
XamlException,
NotSupportedException,
XamlSchemaException,
IndexOutOfRangeException,
KeyNotFoundException,
OutOfMemoryException,
XamlObjectWriterException,
XamlInternalException,
AmbiguousMatchException
WriteEndMember in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionAbandonedMutexExceptionXamlExceptionNotSupportedExceptionXamlSchemaExceptionIndexOutOfRangeExceptionKeyNotFoundExceptionOutOfMemoryExceptionXamlObjectWriterExceptionXamlInternalExceptionAmbiguousMatchExceptionpublic void WriteEndObject()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
InvalidOperationException,
ArgumentOutOfRangeException,
XamlException,
IndexOutOfRangeException,
NotSupportedException,
XamlSchemaException,
OutOfMemoryException,
XamlObjectWriterException,
XamlInternalException,
XamlParseException,
KeyNotFoundException
WriteEndObject in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXamlExceptionIndexOutOfRangeExceptionNotSupportedExceptionXamlSchemaExceptionOutOfMemoryExceptionXamlObjectWriterExceptionXamlInternalExceptionXamlParseExceptionKeyNotFoundExceptionpublic void WriteGetObject()
throws java.lang.Throwable,
ObjectDisposedException,
ArgumentNullException,
ArgumentException,
InvalidOperationException,
MissingMethodException,
TargetInvocationException,
ArgumentOutOfRangeException,
FormatException,
MissingManifestResourceException,
NotImplementedException,
AbandonedMutexException,
XamlException,
IndexOutOfRangeException,
NotSupportedException,
XamlSchemaException,
OutOfMemoryException,
XamlObjectWriterException,
XamlInternalException,
XamlParseException,
KeyNotFoundException
WriteGetObject in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionAbandonedMutexExceptionXamlExceptionIndexOutOfRangeExceptionNotSupportedExceptionXamlSchemaExceptionOutOfMemoryExceptionXamlObjectWriterExceptionXamlInternalExceptionXamlParseExceptionKeyNotFoundExceptionpublic void WriteNamespace(NamespaceDeclaration namespaceDeclaration) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, AbandonedMutexException, XamlException
WriteNamespace in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionAbandonedMutexExceptionXamlExceptionpublic void WriteStartMember(XamlMember property) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, AbandonedMutexException, XamlException, NotSupportedException, XamlSchemaException, KeyNotFoundException, IndexOutOfRangeException, OutOfMemoryException, XamlObjectWriterException, XamlInternalException, XamlParseException
WriteStartMember in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionAbandonedMutexExceptionXamlExceptionNotSupportedExceptionXamlSchemaExceptionKeyNotFoundExceptionIndexOutOfRangeExceptionOutOfMemoryExceptionXamlObjectWriterExceptionXamlInternalExceptionXamlParseExceptionpublic void WriteStartObject(XamlType xamlType) throws java.lang.Throwable, ObjectDisposedException, ArgumentException, ArgumentNullException, InvalidOperationException, MissingMethodException, TargetInvocationException, ArgumentOutOfRangeException, FormatException, MissingManifestResourceException, NotImplementedException, AbandonedMutexException, XamlException, KeyNotFoundException, XamlSchemaException, IndexOutOfRangeException, NotSupportedException, XamlParseException
WriteStartObject in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentExceptionArgumentNullExceptionInvalidOperationExceptionMissingMethodExceptionTargetInvocationExceptionArgumentOutOfRangeExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionAbandonedMutexExceptionXamlExceptionKeyNotFoundExceptionXamlSchemaExceptionIndexOutOfRangeExceptionNotSupportedExceptionXamlParseExceptionpublic void WriteValue(NetObject value) throws java.lang.Throwable, ObjectDisposedException, ArgumentNullException, ArgumentException, FormatException, MissingManifestResourceException, NotImplementedException, InvalidOperationException, ArgumentOutOfRangeException, XamlException, IndexOutOfRangeException, NotSupportedException, KeyNotFoundException, XamlSchemaException
WriteValue in class XamlWriterjava.lang.ThrowableObjectDisposedExceptionArgumentNullExceptionArgumentExceptionFormatExceptionMissingManifestResourceExceptionNotImplementedExceptionInvalidOperationExceptionArgumentOutOfRangeExceptionXamlExceptionIndexOutOfRangeExceptionNotSupportedExceptionKeyNotFoundExceptionXamlSchemaException