public class XDocument extends XContainer
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Xml.Linq.XDocument
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.Private.Xml.Linq, Version=9.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51
|
static java.lang.String |
assemblyShortName
Assembly name: System.Private.Xml.Linq
|
static java.lang.String |
className
Qualified class name: System.Xml.Linq.XDocument
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
XDocument()
Initializes a new instance by invoking the .NET constructor.
|
XDocument(NetObject... content)
Initializes a new instance by invoking the .NET constructor.
|
XDocument(java.lang.Object instance)
Internal constructor.
|
XDocument(XDeclaration declaration,
NetObject... content)
Initializes a new instance by invoking the .NET constructor.
|
XDocument(XDocument other)
Initializes a new instance by invoking the .NET constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static XDocument |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into XDocument, a cast assert is made to check if types are compatible. |
XDeclaration |
getDeclaration()
Gets the value of the .NET property Declaration.
|
XDocumentType |
getDocumentType()
Gets the value of the .NET property DocumentType.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
XElement |
getRoot()
Gets the value of the .NET property Root.
|
static XDocument |
Load(Stream stream)
Invokes the .NET member Load.
|
static XDocument |
Load(Stream stream,
LoadOptions options)
Invokes the .NET member Load.
|
static XDocument |
Load(java.lang.String uri)
Invokes the .NET member Load.
|
static XDocument |
Load(java.lang.String uri,
LoadOptions options)
Invokes the .NET member Load.
|
static XDocument |
Load(TextReader textReader)
Invokes the .NET member Load.
|
static XDocument |
Load(TextReader textReader,
LoadOptions options)
Invokes the .NET member Load.
|
static XDocument |
Load(XmlReader reader)
Invokes the .NET member Load.
|
static XDocument |
Load(XmlReader reader,
LoadOptions options)
Invokes the .NET member Load.
|
static Task_1 |
LoadAsync(Stream stream,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static Task_1 |
LoadAsync(TextReader textReader,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static Task_1 |
LoadAsync(XmlReader reader,
LoadOptions options,
CancellationToken cancellationToken)
Invokes the .NET member LoadAsync.
|
static XDocument |
Parse(java.lang.String text)
Invokes the .NET member Parse.
|
static XDocument |
Parse(java.lang.String text,
LoadOptions options)
Invokes the .NET member Parse.
|
void |
Save(Stream stream)
Invokes the .NET member Save.
|
void |
Save(Stream stream,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(java.lang.String fileName)
Invokes the .NET member Save.
|
void |
Save(java.lang.String fileName,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(TextWriter textWriter)
Invokes the .NET member Save.
|
void |
Save(TextWriter textWriter,
SaveOptions options)
Invokes the .NET member Save.
|
void |
Save(XmlWriter writer)
Invokes the .NET member Save.
|
Task |
SaveAsync(Stream stream,
SaveOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
Task |
SaveAsync(TextWriter textWriter,
SaveOptions options,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
Task |
SaveAsync(XmlWriter writer,
CancellationToken cancellationToken)
Invokes the .NET member SaveAsync.
|
void |
setDeclaration(XDeclaration Declaration)
Sets the value of the .NET property Declaration.
|
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
void |
WriteTo(XmlWriter writer)
Invokes the .NET member WriteTo.
|
Task |
WriteToAsync(XmlWriter writer,
CancellationToken cancellationToken)
Invokes the .NET member WriteToAsync.
|
Add, Add, AddFirst, AddFirst, CreateWriter, DescendantNodes, Descendants, Descendants, Element, Elements, Elements, getFirstNode, getLastNode, Nodes, RemoveNodes, ReplaceNodes, ReplaceNodesAddAfterSelf, AddAfterSelf, AddBeforeSelf, AddBeforeSelf, Ancestors, Ancestors, CompareDocumentOrder, CreateReader, CreateReader, DeepEquals, ElementsAfterSelf, ElementsAfterSelf, ElementsBeforeSelf, ElementsBeforeSelf, getDocumentOrderComparer, getEqualityComparer, getNextNode, getPreviousNode, IsAfter, IsBefore, NodesAfterSelf, NodesBeforeSelf, ReadFrom, ReadFromAsync, Remove, ReplaceWith, ReplaceWith, ToStringAddAnnotation, Annotation, Annotations, Annotations, getBaseUri, getDocument, getNodeType, getParent, RemoveAnnotations, RemoveAnnotationspublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public XDocument()
throws java.lang.Throwable
java.lang.Throwable - if the .NET constructor failspublic XDocument(NetObject... content) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, OutOfMemoryException, NotSupportedException, ArgumentException, IndexOutOfRangeException, FormatException, ArgumentOutOfRangeException, OverflowException, ObjectDisposedException, InvalidOperationException
content - the argument of type NetObject...java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itOverflowException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic XDocument(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic XDocument(XDeclaration declaration, NetObject... content) throws java.lang.Throwable, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, IndexOutOfRangeException, FormatException, NotSupportedException, ArgumentOutOfRangeException, ArgumentException, OverflowException, InvalidOperationException
declaration - the argument of type XDeclarationcontent - the argument of type NetObject...java.lang.Throwable - if the .NET constructor failsArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itFormatException - if the .NET member raises itNotSupportedException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itOverflowException - if the .NET member raises itInvalidOperationException - if the .NET member raises itpublic XDocument(XDocument other) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
other - the argument of type XDocumentjava.lang.Throwable - if the .NET constructor failsArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static XDocument cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into XDocument, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedXDocument instancejava.lang.Throwable - in case of error during cast operationpublic XDeclaration getDeclaration() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic XDocumentType getDocumentType() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class XContainerpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class XContainerpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class XContainernull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class XContainerpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class XContainerpublic XElement getRoot() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic static XDocument Load(Stream stream) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, OverflowException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(Stream stream, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, ArrayTypeMismatchException, IOException, OverflowException
stream - the argument of type Streamoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(java.lang.String uri) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, NotSupportedException, NotImplementedException, ArrayTypeMismatchException, OverflowException
uri - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNotImplementedException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(java.lang.String uri, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, IndexOutOfRangeException, NotImplementedException, TaskCanceledException, AggregateException, ArrayTypeMismatchException, IOException, OverflowException
uri - the argument of type java.lang.Stringoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itNotImplementedException - if the .NET member raises itTaskCanceledException - if the .NET member raises itAggregateException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itIOException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(TextReader textReader) throws java.lang.Throwable, ArgumentException, InvalidOperationException, OutOfMemoryException, PlatformNotSupportedException, XmlException, ArgumentOutOfRangeException, NotSupportedException, OverflowException
textReader - the argument of type TextReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(TextReader textReader, LoadOptions options) throws java.lang.Throwable, ArgumentNullException, ArgumentException, PlatformNotSupportedException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, OverflowException
textReader - the argument of type TextReaderoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itArgumentException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Load(XmlReader reader) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, PlatformNotSupportedException, OverflowException, OutOfMemoryException, CultureNotFoundException, IndexOutOfRangeException
reader - the argument of type XmlReaderjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itpublic static XDocument Load(XmlReader reader, LoadOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OverflowException, OutOfMemoryException, CultureNotFoundException
reader - the argument of type XmlReaderoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOverflowException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic static Task_1 LoadAsync(Stream stream, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
stream - the argument of type Streamoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Task_1 LoadAsync(TextReader textReader, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
textReader - the argument of type TextReaderoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static Task_1 LoadAsync(XmlReader reader, LoadOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
reader - the argument of type XmlReaderoptions - the argument of type LoadOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic static XDocument Parse(java.lang.String text) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException, OutOfMemoryException, PlatformNotSupportedException, XmlException, OverflowException
text - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itXmlException - if the .NET member raises itOverflowException - if the .NET member raises itpublic static XDocument Parse(java.lang.String text, LoadOptions options) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException, OutOfMemoryException, XmlException, OverflowException, CultureNotFoundException
text - the argument of type java.lang.Stringoptions - the argument of type LoadOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itOverflowException - if the .NET member raises itCultureNotFoundException - if the .NET member raises itpublic void Save(Stream stream) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, ArrayTypeMismatchException
stream - the argument of type Streamjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(Stream stream, SaveOptions options) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, NotSupportedException, NullReferenceException, UnreachableException, ArrayTypeMismatchException, RankException
stream - the argument of type Streamoptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itNullReferenceException - if the .NET member raises itUnreachableException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itRankException - if the .NET member raises itpublic void Save(java.lang.String fileName)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
InvalidOperationException,
OutOfMemoryException,
XmlException,
ArgumentOutOfRangeException,
NotSupportedException,
SerializationException,
ArrayTypeMismatchException
fileName - the argument of type java.lang.Stringjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itSerializationException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(java.lang.String fileName,
SaveOptions options)
throws java.lang.Throwable,
ArgumentNullException,
PlatformNotSupportedException,
IndexOutOfRangeException,
ArgumentException,
ObjectDisposedException,
InvalidOperationException,
OutOfMemoryException,
XmlException,
ArgumentOutOfRangeException,
NotSupportedException,
SerializationException,
NullReferenceException,
ArrayTypeMismatchException
fileName - the argument of type java.lang.Stringoptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itNotSupportedException - if the .NET member raises itSerializationException - if the .NET member raises itNullReferenceException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(TextWriter textWriter) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException
textWriter - the argument of type TextWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itpublic void Save(TextWriter textWriter, SaveOptions options) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, ArgumentException, ObjectDisposedException, InvalidOperationException, OutOfMemoryException, XmlException, ArgumentOutOfRangeException, UnreachableException, RankException, ArrayTypeMismatchException
textWriter - the argument of type TextWriteroptions - the argument of type SaveOptionsjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itOutOfMemoryException - if the .NET member raises itXmlException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itUnreachableException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itpublic void Save(XmlWriter writer) throws java.lang.Throwable
writer - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic Task SaveAsync(Stream stream, SaveOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
stream - the argument of type Streamoptions - the argument of type SaveOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task SaveAsync(TextWriter textWriter, SaveOptions options, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, NotSupportedException, InvalidOperationException, ArgumentOutOfRangeException, ArgumentNullException
textWriter - the argument of type TextWriteroptions - the argument of type SaveOptionscancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itNotSupportedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task SaveAsync(XmlWriter writer, CancellationToken cancellationToken) throws java.lang.Throwable
writer - the argument of type XmlWritercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setDeclaration(XDeclaration Declaration) throws java.lang.Throwable
Declaration - the new value of the propertyjava.lang.Throwable - if the call fails in the bridge or in the CLRpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class XContainerinstance - the new underlying objectpublic void WriteTo(XmlWriter writer) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
WriteTo in class XNodewriter - the argument of type XmlWriterjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises itpublic Task WriteToAsync(XmlWriter writer, CancellationToken cancellationToken) throws java.lang.Throwable, ArgumentException, ArgumentOutOfRangeException, PlatformNotSupportedException, NotSupportedException, ObjectDisposedException, InvalidOperationException, RankException, ArrayTypeMismatchException, ArgumentNullException
WriteToAsync in class XNodewriter - the argument of type XmlWritercancellationToken - the argument of type CancellationTokenjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itNotSupportedException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itRankException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itArgumentNullException - if the .NET member raises it